<?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: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22884#M9971</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &amp;nbsp;in my activiti.cfg.xml :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:tx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt; "&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;bean id="transactionManager"&lt;BR /&gt; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti_test" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="com.mysql.jdbc.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="root" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value=" " /&amp;gt;&lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="DB_SCHEMA_UPDATE_TRUE" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- &amp;nbsp; beans i'm calling from the workflow --&amp;gt;&lt;BR /&gt; &amp;lt;bean id="bookOrder" class="ma.net.s2m.selectsystem.web.controller.admin.BookOrder" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="operationController" class="ma.net.s2m.selectsystem.web.controller.admin.OperationController"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="adminModele" class="ma.net.s2m.selectsystem.web.modele.AdminModele"/&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 May 2017 14:05:44 GMT</pubDate>
    <dc:creator>ilyass_act</dc:creator>
    <dc:date>2017-05-04T14:05:44Z</dc:date>
    <item>
      <title>calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22882#M9969</link>
      <description>i'm tryin to implement my own java logic using SPRING + JSF with activiti , this my BPMN file :&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&amp;lt;definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" targetNamespace="http://www.bpmnwithactiviti.org" xmlns:activiti="http://activiti.org/bpmn"&amp;amp;g</description>
      <pubDate>Wed, 03 May 2017 11:21:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22882#M9969</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-03T11:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22883#M9970</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is bookOrder registered as a bean?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thx,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 20:07:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22883#M9970</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-03T20:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22884#M9971</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes &amp;nbsp;in my activiti.cfg.xml :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;beans xmlns="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:context="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/context" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/context&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:tx="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/tx" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/tx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:xsi="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xsi:schemaLocation="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.springframework.org/schema/beans/spring-beans.xsd" rel="nofollow noopener noreferrer" target="_blank"&gt;http://www.springframework.org/schema/beans/spring-beans.xsd&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt; "&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &amp;lt;bean id="transactionManager"&lt;BR /&gt; class="org.springframework.jdbc.datasource.DataSourceTransactionManager"&amp;gt;&lt;BR /&gt; &amp;lt;property name="dataSource" ref="dataSource"/&amp;gt;&lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;BR /&gt; &amp;lt;bean id="processEngineConfiguration" class="org.activiti.engine.impl.cfg.StandaloneProcessEngineConfiguration"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti_test" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcDriver" value="com.mysql.jdbc.Driver" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcUsername" value="root" /&amp;gt;&lt;BR /&gt; &amp;lt;property name="jdbcPassword" value=" " /&amp;gt;&lt;BR /&gt; &amp;lt;property name="databaseSchemaUpdate" value="DB_SCHEMA_UPDATE_TRUE" /&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;/bean&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;!-- &amp;nbsp; beans i'm calling from the workflow --&amp;gt;&lt;BR /&gt; &amp;lt;bean id="bookOrder" class="ma.net.s2m.selectsystem.web.controller.admin.BookOrder" /&amp;gt;&lt;BR /&gt; &amp;lt;bean id="operationController" class="ma.net.s2m.selectsystem.web.controller.admin.OperationController"/&amp;gt;&lt;BR /&gt; &amp;lt;bean id="adminModele" class="ma.net.s2m.selectsystem.web.modele.AdminModele"/&amp;gt;&lt;BR /&gt;&amp;lt;/beans&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 14:05:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22884#M9971</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-04T14:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22885#M9972</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good start. Now the stack trace and source code would be helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;G&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 14:49:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22885#M9972</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-04T14:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22886#M9973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;public void getProcessDiagram() {&lt;BR /&gt; ProcessEngine processEngine = ProcessEngineConfiguration.createProcessEngineConfigurationFromResource("activiti.cfg.xml").buildProcessEngine();&lt;/P&gt;&lt;P&gt;RuntimeService runtimeService = processEngine.getRuntimeService();&lt;BR /&gt; RepositoryService repositoryService = processEngine.getRepositoryService();&lt;BR /&gt; TaskService taskService = processEngine.getTaskService();&lt;BR /&gt; FormService formService = processEngine.getFormService();&lt;BR /&gt; IdentityService service = processEngine.getIdentityService();&lt;/P&gt;&lt;P&gt;// Deploy the process definition&lt;BR /&gt; Deployment deployment = repositoryService.createDeployment()&lt;BR /&gt; .addClasspathResource("processesT.bpmn20.xml")&lt;BR /&gt; .deploy();&lt;/P&gt;&lt;P&gt;// Start a process instance&lt;BR /&gt; ProcessInstance processInstance = runtimeService.startProcessInstanceByKey("my-process");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;// here i test the sayHello() ===&amp;gt; it displays the bookOrder.getIsbn() value&lt;BR /&gt;sayHello() ;&lt;/P&gt;&lt;P&gt;List&amp;lt;org.activiti.engine.task.Task&amp;gt; taskes = taskService.createTaskQuery().processInstanceId(processInstance.getId()).list();&lt;/P&gt;&lt;P&gt;System.out.println("List size: " + taskes.size());&lt;/P&gt;&lt;P&gt;for (org.activiti.engine.task.Task task : taskes) {&lt;BR /&gt; System.out.println("Task available: " + task.getName());&lt;BR /&gt; System.out.println("Task assignee :"+task.getAssignee());&lt;BR /&gt; &lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; org.activiti.engine.task.Task task = taskes.get(0);&lt;BR /&gt; Map&amp;lt;String , Object&amp;gt; taskVariables = new java.util.HashMap&amp;lt;String,Object&amp;gt;() ;&lt;BR /&gt; taskVariables.put("vacationApproved", "false");&lt;BR /&gt; taskVariables.put("managerMotivation", "We have a tight deadline!");&lt;BR /&gt; List&amp;lt;String&amp;gt;list = runtimeService.getActiveActivityIds(exec.getId());&lt;BR /&gt; for(String task1 : list){&lt;BR /&gt; System.out.println("****************************** Current Task : "+task1);&lt;BR /&gt; System.out.println("****************************** Description : "+taskes.get(0).getDescription());&lt;/P&gt;&lt;P&gt;System.out.println("Number of process instances: " + runtimeService.createProcessInstanceQuery().count());&lt;BR /&gt; }&lt;BR /&gt; taskService.complete(task.getId(), taskVariables);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;----------------------------------------------------------------------------------------------- Error----------------------------------------&lt;BR /&gt;Caused by: org.activiti.engine.impl.javax.el.ELException: java.lang.NullPointerException&lt;BR /&gt; at org.activiti.engine.impl.javax.el.BeanELResolver.invoke(BeanELResolver.java:487)&lt;BR /&gt; at org.activiti.engine.impl.javax.el.CompositeELResolver.invoke(CompositeELResolver.java:397)&lt;BR /&gt; at org.activiti.engine.impl.juel.AstMethod.invoke(AstMethod.java:102)&lt;BR /&gt; at org.activiti.engine.impl.juel.AstMethod.eval(AstMethod.java:86)&lt;BR /&gt; at org.activiti.engine.impl.juel.AstEval.eval(AstEval.java:50)&lt;BR /&gt; at org.activiti.engine.impl.juel.AstNode.getValue(AstNode.java:26)&lt;BR /&gt; at org.activiti.engine.impl.juel.TreeValueExpression.getValue(TreeValueExpression.java:114)&lt;BR /&gt; at org.activiti.engine.impl.delegate.ExpressionGetInvocation.invoke(ExpressionGetInvocation.java:33)&lt;BR /&gt; at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37)&lt;BR /&gt; at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25)&lt;BR /&gt; at org.activiti.engine.impl.el.JuelExpression.getValue(JuelExpression.java:48)&lt;BR /&gt; ... 143 more&lt;BR /&gt;Caused by: java.lang.NullPointerException&lt;BR /&gt; at ma.net.s2m.selectsystem.web.controller.admin.OperationController.sayHello(OperationController.java:898)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)&lt;BR /&gt; at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)&lt;BR /&gt; at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)&lt;BR /&gt; at java.lang.reflect.Method.invoke(Method.java:597)&lt;BR /&gt; at org.activiti.engine.impl.javax.el.BeanELResolver.invoke(BeanELResolver.java:483)&lt;BR /&gt; ... 153 more&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 15:20:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22886#M9973</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-04T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22887#M9974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im having a really hard time understanding what you are actually doing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following excerpt from the stack:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Caused by: java.lang.NullPointerException&lt;/SPAN&gt;&lt;BR style="color: #727174; background-color: #ffffff;" /&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;at ma.net.s2m.selectsystem.web.controller.admin.OperationController.sayHello(OperationController.java:898)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Suggests you have a REST Controller called OperationController and that the exception is being thrown not when your process calls a JavaDelegate (your service task).&lt;BR /&gt;&lt;BR /&gt;If this is happening during a REST call, be aware that the servlet and process dont share the same context and it is possible any bean defined in the process engine is not available to the servlet (I have seen this a number of times).&lt;BR /&gt;&lt;BR /&gt;The solution is to add a helper to retrieve the process engine context. The following link will give you the details:&lt;BR /&gt;&lt;BR /&gt;&lt;A class="link-titled" href="http://stackoverflow.com/questions/3645650/using-some-beans-in-filter-bean-class" title="http://stackoverflow.com/questions/3645650/using-some-beans-in-filter-bean-class" rel="nofollow noopener noreferrer"&gt;java - Using some beans in Filter bean class? - Stack Overflow&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Cheers,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Greg&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 15:34:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22887#M9974</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-04T15:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22888#M9975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not using a RestController , but what i understand is that when Activiti process starts , Activiti creats it's own new context so my objects which were full in my context becomes null in activiti context since i can call sayHello () and i don't get an error but when sayHello() is called via activiti:expression="#{&lt;SPAN style="color: #727174; background-color: #f6f6f6;"&gt;operationController.sayHello()}" it tells me that my object is null !!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 15:49:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22888#M9975</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-04T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22889#M9976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Honestly, I dont understand what you are trying to do. In order to make any progress a unit test is in order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry,&lt;/P&gt;&lt;P&gt;Greg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 15:57:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22889#M9976</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-04T15:57:33Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22890#M9977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what i'm tryin to do is binding my objects to workflow , for example&amp;nbsp;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;activiti:expression="#{&lt;/SPAN&gt;&lt;SPAN style="color: #727174; background-color: #f6f6f6; border: 0px;"&gt;operationController.sayHello()" &lt;SPAN style="color: #3d3d3d;"&gt;e this method returns NullPointerException , but my object is not Null because i already did bookOrder.setIsbn("123") before , i tried with a simple String test ="test" when i pass it to the sayHello() it doesn't return NPE the problem is everytime i pass value with Setter or try to get value with getter sayHello return NPE for that object.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #f6f6f6; border: 0px; color: #3d3d3d;"&gt;hope i'm someHow clear .&amp;nbsp;&lt;BR /&gt;regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 May 2017 16:56:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22890#M9977</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-04T16:56:37Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22891#M9978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Greg ,&lt;BR /&gt;is there a better way of declaring my beans so they can be detetcted from my BPMNfile ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 07:49:44 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22891#M9978</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-05T07:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22892#M9979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nope, these are simple spring beans and need to be declared in the spring context.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 11:54:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22892#M9979</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-05T11:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22893#M9980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For example @Service("bookOrder") won't work ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 13:01:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22893#M9980</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-05T13:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22894#M9981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you're using spring annotation based configuration then this is what you would do.&lt;/P&gt;&lt;P&gt;If you are using xml based configuration (which is what it appears you are doing) then you would use the activiti.cfg.xml&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 14:50:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22894#M9981</guid>
      <dc:creator>gdharley</dc:creator>
      <dc:date>2017-05-05T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: calling getter inside method Returns java.lang.NullPointerException with Activiti Engine</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22895#M9982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Geg ,&lt;BR /&gt;Let's say you have a ServiceTask where you pass expression ,&amp;nbsp;activiti:expression="${operationController.sayHello()}" .&lt;BR /&gt;and your method implements something like this :&lt;BR /&gt;public void sayHello(){&lt;/P&gt;&lt;P&gt;System.out.println("the isbn :"+bookOrder.getIsbn());&amp;nbsp;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;the value of ISBN comes from a JSF Form , How would you implement this ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 May 2017 15:48:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/calling-getter-inside-method-returns-java-lang/m-p/22895#M9982</guid>
      <dc:creator>ilyass_act</dc:creator>
      <dc:date>2017-05-05T15:48:18Z</dc:date>
    </item>
  </channel>
</rss>

