[JIRA] Commented: (OFBIZ-832) NULL Pointer exception in checkProductInventoryDiscontinuation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[JIRA] Commented: (OFBIZ-832) NULL Pointer exception in checkProductInventoryDiscontinuation

JIRA jira@ofbiz.org
     [ http://jira.undersunconsulting.com/browse/OFBIZ-832?page=comments#action_13795 ]
     
Marco Risaliti commented on OFBIZ-832:
--------------------------------------

I have tried to schedule this service changing the mode from sync to asynce but in both cases I will not receive the null pointer exception.
Is it possible that this issue is already solved and so it can be closed ?
Fred could you please help us to say if it's solved or not ?

Thanks
Marco

> NULL Pointer exception in checkProductInventoryDiscontinuation
> --------------------------------------------------------------
>
>          Key: OFBIZ-832
>          URL: http://jira.undersunconsulting.com/browse/OFBIZ-832
>      Project: [OFBiz] Open For Business
>         Type: Bug
>   Components: entity, service
>     Versions: SVN
>  Environment: linux fc3
>     Reporter: Fred Forester
>     Assignee: Jira Administrator

>
>
> If I change the mode from async to sync the imports work fine. when run as supplied with mode async the NPE occurs.
> 23790 (main) [      EntityEcaRule.java:122:INFO ] Running Entity ECA
> Service: checkProductInventoryDiscontinuation, triggered by rule on Enti
> ty: InventoryItem
> 23791 (main) [  ServiceDispatcher.java:465:DEBUG] [[ASync service
> started...- total:0.0,since last(Begin):0.0]] - 'entity-default / checkProd
> uctInventoryDiscontinuation'
> 23793 (main) [  ServiceDispatcher.java:486:INFO ]
> [ServiceDispatcher.runAsync] : engine setup
> checkProductInventoryDiscontinuation [org/ofbiz
> /product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23793 (main) [  ServiceDispatcher.java:504:INFO ]
> [ServiceDispatcher.runAsync] : transaction started
> checkProductInventoryDiscontinuation [or
> g/ofbiz/product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23794 (main) [  ServiceDispatcher.java:516:INFO ]
> [ServiceDispatcher.runAsync] : transaction enlisted
> checkProductInventoryDiscontinuation [o
> rg/ofbiz/product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23795 (main) [  ServiceDispatcher.java:529:INFO ]
> [ServiceDispatcher.runAsync] : authorized  
> checkProductInventoryDiscontinuation [org/ofbiz/
> product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23796 (main) [  ServiceDispatcher.java:537:INFO ]
> [ServiceDispatcher.runAsync] : prevalidation  
> checkProductInventoryDiscontinuation [org/of
> biz/product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23797 (main) [  ServiceDispatcher.java:550:INFO ]
> [ServiceDispatcher.runAsync] : running service    
> checkProductInventoryDiscontinuation [org
> /ofbiz/product/inventory/InventoryServices.xml/checkProductInventoryDiscontinuation]
> (simple)
> 23805 (main) [ GenericAsyncEngine.java:152:INFO ] NO JobManager:
> 23806 (main) [ GenericAsyncEngine.java:154:INFO ] Attempting to run job :
> 23807 (main) [  ServiceDispatcher.java:570:DEBUG] [[ASync service
> failed...- total:0.015,since last(ASync service sta...):0.015]] - 'entity-d
> efault / checkProductInventoryDiscontinuation'
> 23815 (main) [  ServiceDispatcher.java:573:ERROR]
> ---- runtime exception report
> --------------------------------------------------
> Service [checkProductInventoryDiscontinuation] threw an unexpected
> exception/error
> Exception: java.lang.NullPointerException
> Message: null
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.NullPointerException
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:155)

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.undersunconsulting.com/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira