<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Why nuxeo studio MVEL Document.getParenty(&amp;quot;DocumentType&amp;quot;) do not work? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-studio-mvel-document-getparenty-quot-documenttype-quot/m-p/313504#M505</link>
    <description>&lt;P&gt;From the location of the &lt;CODE&gt;^&lt;/CODE&gt; it seems that you have no current document in your chain.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Oct 2016 13:17:27 GMT</pubDate>
    <dc:creator>Florent_Guillau</dc:creator>
    <dc:date>2016-10-12T13:17:27Z</dc:date>
    <item>
      <title>Why nuxeo studio MVEL Document.getParenty("DocumentType") do not work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-studio-mvel-document-getparenty-quot-documenttype-quot/m-p/313503#M504</link>
      <description>&lt;P&gt;&lt;A href="https://app.quandora.com/object/d3443f46-39b7-4ff0-bcce-5ca05c10906f"&gt;Florent Guillaume&lt;/A&gt;
Why this mvel command shows @{Document.getParent("DocumentType")} me an error  ?
The type IEVP exist.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;[Error: null pointer: Document.getParent("IEVP").getProperty("organization:code")]
[Near : {... Document.getParent("IEVP").get ....}]
             ^
[Line: 1, Column: 1]
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.compileGetChain(ReflectiveAccessorOptimizer.java:450)
at org.mvel2.optimizers.impl.refl.ReflectiveAccessorOptimizer.optimizeAccessor(ReflectiveAccessorOptimizer.java:163)
at org.mvel2.optimizers.dynamic.DynamicOptimizer.optimizeAccessor(DynamicOptimizer.java:81)
at org.mvel2.ast.ASTNode.optimize(ASTNode.java:159)
at org.mvel2.ast.ASTNode.getReducedValueAccelerated(ASTNode.java:115)
at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117)
at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117)
at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117)
at org.mvel2.ast.BinaryOperation.getReducedValueAccelerated(BinaryOperation.java:117)
at org.mvel2.compiler.ExecutableAccessor.getValue(ExecutableAccessor.java:42)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2016 16:02:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-studio-mvel-document-getparenty-quot-documenttype-quot/m-p/313503#M504</guid>
      <dc:creator>Amir_Buzo</dc:creator>
      <dc:date>2016-10-11T16:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Why nuxeo studio MVEL Document.getParenty("DocumentType") do not work?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-studio-mvel-document-getparenty-quot-documenttype-quot/m-p/313504#M505</link>
      <description>&lt;P&gt;From the location of the &lt;CODE&gt;^&lt;/CODE&gt; it seems that you have no current document in your chain.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Oct 2016 13:17:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/why-nuxeo-studio-mvel-document-getparenty-quot-documenttype-quot/m-p/313504#M505</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2016-10-12T13:17:27Z</dc:date>
    </item>
  </channel>
</rss>

