[OFBiz] Users - NULL Pointer error loading InventoryItem

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

[OFBiz] Users - NULL Pointer error loading InventoryItem

Fred Forester-2
NULL Pointer error loading InventoryItem

Hi All,

Trying to load IventoryItems and getting null pointer. I believe I was able to load this file last week but fails since r5560

Thanx
Fred Forester


27277 (main) [      EntityEcaRule.java:122:INFO ] Running Entity ECA Service: checkProductInventoryDiscontinuation, triggered by rule on Enti

ty: InventoryItem
27298 (main) [  ServiceDispatcher.java:564: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:148)
org.ofbiz.service.engine.GenericAsyncEngine.runAsync(GenericAsyncEngine.java:80)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:550)
org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:617)
org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:177)
org.ofbiz.entityext.eca.EntityEcaAction.runAction(EntityEcaAction.java:108)
org.ofbiz.entityext.eca.EntityEcaRule.eval(EntityEcaRule.java:123)
org.ofbiz.entityext.eca.DelegatorEcaHandler.evalRules(DelegatorEcaHandler.java:96)
org.ofbiz.entity.GenericDelegator.evalEcaRules(GenericDelegator.java:2553)
org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:596)
org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1161)
org.ofbiz.entity.util.EntitySaxReader.writeValues(EntitySaxReader.java:245)
org.ofbiz.entity.util.EntitySaxReader.endElement(EntitySaxReader.java:376)
javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
javolution.xml.sax.RealtimeParser.parse(Unknown Source)
javolution.xml.sax.RealtimeParser.parse(Unknown Source)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
org.ofbiz.entity.util.EntityDataLoader.loadData(EntityDataLoader.java:223)
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:250)
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:89)
org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
org.ofbiz.base.start.Start.startServer(Start.java:323)
org.ofbiz.base.start.Start.start(Start.java:327)
org.ofbiz.base.start.Start.main(Start.java:413)



 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - NULL Pointer error loading InventoryItem

David E. Jones

I tried a full seed data load and a couple of other things but  
couldn't reproduce this error. Could you be more specific about what  
you mean by "load InventoryItems"? In other words, what tools or  
pages or services or whatever did you use, or what is the process you  
followed?

-David


On Aug 20, 2005, at 9:15 PM, Fred Forester wrote:

>
> Hi All,
>
> Trying to load IventoryItems and getting null pointer. I believe I  
> was able to load this file last week but fails since r5560
>
> Thanx
> Fred Forester
>
>
> 27277 (main) [      EntityEcaRule.java:122:INFO ] Running Entity  
> ECA Service: checkProductInventoryDiscontinuation, triggered by  
> rule on Enti
>
> ty: InventoryItem
> 27298 (main) [  ServiceDispatcher.java:564: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:148)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync
> (GenericAsyncEngine.java:80)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:
> 550)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:
> 617)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:
> 177)
> org.ofbiz.entityext.eca.EntityEcaAction.runAction
> (EntityEcaAction.java:108)
> org.ofbiz.entityext.eca.EntityEcaRule.eval(EntityEcaRule.java:123)
> org.ofbiz.entityext.eca.DelegatorEcaHandler.evalRules
> (DelegatorEcaHandler.java:96)
> org.ofbiz.entity.GenericDelegator.evalEcaRules
> (GenericDelegator.java:2553)
> org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:596)
> org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1161)
> org.ofbiz.entity.util.EntitySaxReader.writeValues
> (EntitySaxReader.java:245)
> org.ofbiz.entity.util.EntitySaxReader.endElement
> (EntitySaxReader.java:376)
> javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.ofbiz.entity.util.EntityDataLoader.loadData
> (EntityDataLoader.java:223)
> org.ofbiz.entityext.data.EntityDataLoadContainer.start
> (EntityDataLoadContainer.java:250)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:
> 89)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> org.ofbiz.base.start.Start.startServer(Start.java:323)
> org.ofbiz.base.start.Start.start(Start.java:327)
> org.ofbiz.base.start.Start.main(Start.java:413)
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

RE: [OFBiz] Users - NULL Pointer error loading InventoryItem

Fred Forester-2


David,

The error occurs when I try to import a file of InventoryItem entities via
the command line.

java -jar ofbiz.jar -install
-file=/home/devj/ofbiz/applications/ecommerce/data/SCProducts7.xml

I just tried importing the same file via webtools and it worked fine.

Thanx
Fred


-----Original Message-----
From: [hidden email] [mailto:[hidden email]]
On Behalf Of David E. Jones
Sent: Sunday, August 21, 2005 10:23 AM
To: OFBiz Users / Usage Discussion
Subject: Re: [OFBiz] Users - NULL Pointer error loading InventoryItem



I tried a full seed data load and a couple of other things but  
couldn't reproduce this error. Could you be more specific about what  
you mean by "load InventoryItems"? In other words, what tools or  
pages or services or whatever did you use, or what is the process you  
followed?

-David


On Aug 20, 2005, at 9:15 PM, Fred Forester wrote:

>
> Hi All,
>
> Trying to load IventoryItems and getting null pointer. I believe I
> was able to load this file last week but fails since r5560
>
> Thanx
> Fred Forester
>
>
> 27277 (main) [      EntityEcaRule.java:122:INFO ] Running Entity  
> ECA Service: checkProductInventoryDiscontinuation, triggered by
> rule on Enti
>
> ty: InventoryItem
> 27298 (main) [  ServiceDispatcher.java:564: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:148)
> org.ofbiz.service.engine.GenericAsyncEngine.runAsync
> (GenericAsyncEngine.java:80)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:
> 550)
> org.ofbiz.service.ServiceDispatcher.runAsync(ServiceDispatcher.java:
> 617)
> org.ofbiz.service.GenericDispatcher.runAsync(GenericDispatcher.java:
> 177)
> org.ofbiz.entityext.eca.EntityEcaAction.runAction
> (EntityEcaAction.java:108)
> org.ofbiz.entityext.eca.EntityEcaRule.eval(EntityEcaRule.java:123)
> org.ofbiz.entityext.eca.DelegatorEcaHandler.evalRules
> (DelegatorEcaHandler.java:96)
> org.ofbiz.entity.GenericDelegator.evalEcaRules
> (GenericDelegator.java:2553)
> org.ofbiz.entity.GenericDelegator.create(GenericDelegator.java:596)
> org.ofbiz.entity.GenericDelegator.storeAll(GenericDelegator.java:1161)
> org.ofbiz.entity.util.EntitySaxReader.writeValues
> (EntitySaxReader.java:245)
> org.ofbiz.entity.util.EntitySaxReader.endElement
> (EntitySaxReader.java:376)
> javolution.xml.sax.RealtimeParser.processElement(Unknown Source)
> javolution.xml.sax.RealtimeParser.parseContent(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> javolution.xml.sax.RealtimeParser.parse(Unknown Source)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:224)
> org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:184)
> org.ofbiz.entity.util.EntityDataLoader.loadData
> (EntityDataLoader.java:223)
> org.ofbiz.entityext.data.EntityDataLoadContainer.start
> (EntityDataLoadContainer.java:250)
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:
> 89)
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:272)
> org.ofbiz.base.start.Start.startServer(Start.java:323)
> org.ofbiz.base.start.Start.start(Start.java:327)
> org.ofbiz.base.start.Start.main(Start.java:413)
>
>
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

[OFBiz] Users - Monthy Party budget

Sam-12
Hi,

Does anyone know if it is currently possible to set up a simple budget
for a party? There are several BUDGET_ tables in the db but I am not
sure if this portion of the code is complete.

Thanks in advance,

Sam

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: [OFBiz] Users - Monthy Party budget

David E. Jones

Right now there is nothing in OFBiz for this. If you're interested in  
contributing to the development, that would be great. A lot of work  
has been and is going into the accounting part of OFBiz, and this is  
one of the logical next steps. For more information on the accounting  
project, search for that in the mailing list here or see some status  
of the project and such at:

http://www.opensourcestrategies.com/ofbiz/accounting.php

-David


On Aug 21, 2005, at 1:34 PM, Sam wrote:

> Hi,
>
> Does anyone know if it is currently possible to set up a simple  
> budget for a party? There are several BUDGET_ tables in the db but  
> I am not sure if this portion of the code is complete.
>
> Thanks in advance,
>
> Sam
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
>

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users

smime.p7s (3K) Download Attachment