You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by jazerb <ja...@gmail.com> on 2009/01/25 00:55:05 UTC
Error while running install and startup
I get the following exception when running: java -jar ofbiz.jar -install
-readers=seed,ext
This started happening around rev 736486.
Thanks for your help!
2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ] XML Read
0.015s: J:/working/SimplyArt/project/ofbiz/
ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
Conversion for complex-alias needs to be implemented
for cache and in-memory eval stuff to work correctly, will not work for
alias: statusDelay of view-entity ExampleStatus
Detail
Exception in thread "main" java.lang.NullPointerException
at
org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
at
org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
at
org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR] Entity
referred to in member-entity WRF not found, i
gnoring: WorkRequirementFulfillment
2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR] Entity
referred to in member-entity REQ not found, i
gnoring: Requirement
at
org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
16:39:04,921 (main) [ Mo
delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR: could
not find ModelEntity for entity name: Requir
ement
at
org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
at
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
at
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
at
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
at org.ofbiz.base.start.Start.startServer(Start.java:312)
at org.ofbiz.base.start.Start.start(Start.java:316)
at org.ofbiz.base.start.Start.main(Start.java:399)
2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
ContainerLoader.java:114:INFO ] Shutting down containers
--
View this message in context: http://www.nabble.com/Error-while-running-install-and-startup-tp21646845p21646845.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error while running install and startup
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Sound like a plan
:D
jazerb sent the following on 1/25/2009 10:17 AM:
> Thank you for your help Mr. Freeman.
>
> I use TortoiseSVN 1.5.6 as the svn client. I am doing layout customizations
> while trying to keep my OFBiz installation in sync with the Apache project.
> I run a local svn server where I check in my changes. I keep my local
> repository in sync with the Apache project. I use Tortoise to export OFBiz
> to a temp working directory which is pointing to my local SVN server. I use
> a tool called WinMerge to diff my temp copy of OFBiz to the trunk version.
> This allows me to see which files have been removed and also to filter out
> my customizations.
>
> I know there seems to be a few moving parts here but it has been working
> well for me for the last few months.
>
> I think I'll try to just to a fresh checkout then go through my sync
> process. I'll post my results.
>
> Thanks for your help.
>
>
> BJ Freeman wrote:
> what version of the svn do you have?
> you may have a incomplete download
> since
> Entity referred to in member-entity WRF not found, ignoring:
> WorkRequirementFulfillment
> says that the module that has the WRF is not loaded.
>
> jazerb sent the following on 1/24/2009 5:18 PM:
>>>> I am doing a clean first. I tried ant run-install-seed and it is giving
>>>> me
>>>> the same error.
>>>>
>>>> It is throwing the error when it can't find the ModelEntity
>>>> "Requirement".
>>>> The NullPointerException is coming from ModelViewEntity.populateFields.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> BJ Freeman wrote:
>>>> did you do a
>>>> ant clean
>>>> first?
>>>> if you use
>>>> ant run-install-seed
>>>> or
>>>> ant run-install
>>>> instead of
>>>> java -jar ofbiz.jar -install
>>>>
>>>> jazerb sent the following on 1/24/2009 3:55 PM:
>>>>>>> I get the following exception when running: java -jar ofbiz.jar
>>>>>>> -install
>>>>>>> -readers=seed,ext
>>>>>>>
>>>>>>> This started happening around rev 736486.
>>>>>>>
>>>>>>> Thanks for your help!
>>>>>>>
>>>>>>> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ]
>>>>>>> XML
>>>>>>> Read
>>>>>>> 0.015s: J:/working/SimplyArt/project/ofbiz/
>>>>>>> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
>>>>>>> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
>>>>>>> Conversion for complex-alias needs to be implemented
>>>>>>> for cache and in-memory eval stuff to work correctly, will not work
>>>>>>> for
>>>>>>> alias: statusDelay of view-entity ExampleStatus
>>>>>>> Detail
>>>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>>>> at
>>>>>>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
>>>>>>> at
>>>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
>>>>>>> at
>>>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
>>>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>>>> Entity
>>>>>>> referred to in member-entity WRF not found, i
>>>>>>> gnoring: WorkRequirementFulfillment
>>>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>>>> Entity
>>>>>>> referred to in member-entity REQ not found, i
>>>>>>> gnoring: Requirement
>>>>>>> at
>>>>>>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
>>>>>>> 16:39:04,921 (main) [ Mo
>>>>>>> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR:
>>>>>>> could
>>>>>>> not find ModelEntity for entity name: Requir
>>>>>>> ement
>>>>>>>
>>>>>>> at
>>>>>>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>>>>>>> at
>>>>>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
>>>>>>> at
>>>>>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
>>>>>>> at
>>>>>>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
>>>>>>> at
>>>>>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>>>>>> at
>>>>>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java:312)
>>>>>>> at org.ofbiz.base.start.Start.start(Start.java:316)
>>>>>>> at org.ofbiz.base.start.Start.main(Start.java:399)
>>>>>>> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
>>>>>>> ContainerLoader.java:114:INFO ] Shutting down containers
>>>>>
>>
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJfLOBrP3NbaWWqE4RAlLPAKC+NFqW+EqNo/FKBvZ9LkLnh3LkwACgtrxC
E93Ij2YdcfidAhW+YyCeJY0=
=bSbq
-----END PGP SIGNATURE-----
Re: Error while running install and startup
Posted by Jacques Le Roux <ja...@les7arts.com>.
You could also use http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+MS+Vendor+Branch a bit more involved but best bet at long term...
Jacques
From: "jazerb" <ja...@gmail.com>
>
> Thank you for your help Mr. Freeman.
>
> I use TortoiseSVN 1.5.6 as the svn client. I am doing layout customizations
> while trying to keep my OFBiz installation in sync with the Apache project.
> I run a local svn server where I check in my changes. I keep my local
> repository in sync with the Apache project. I use Tortoise to export OFBiz
> to a temp working directory which is pointing to my local SVN server. I use
> a tool called WinMerge to diff my temp copy of OFBiz to the trunk version.
> This allows me to see which files have been removed and also to filter out
> my customizations.
>
> I know there seems to be a few moving parts here but it has been working
> well for me for the last few months.
>
> I think I'll try to just to a fresh checkout then go through my sync
> process. I'll post my results.
>
> Thanks for your help.
>
>
> BJ Freeman wrote:
>>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> what version of the svn do you have?
>> you may have a incomplete download
>> since
>> Entity referred to in member-entity WRF not found, ignoring:
>> WorkRequirementFulfillment
>> says that the module that has the WRF is not loaded.
>>
>> jazerb sent the following on 1/24/2009 5:18 PM:
>>> I am doing a clean first. I tried ant run-install-seed and it is giving
>>> me
>>> the same error.
>>>
>>> It is throwing the error when it can't find the ModelEntity
>>> "Requirement".
>>> The NullPointerException is coming from ModelViewEntity.populateFields.
>>>
>>> Thanks.
>>>
>>>
>>> BJ Freeman wrote:
>>> did you do a
>>> ant clean
>>> first?
>>> if you use
>>> ant run-install-seed
>>> or
>>> ant run-install
>>> instead of
>>> java -jar ofbiz.jar -install
>>>
>>> jazerb sent the following on 1/24/2009 3:55 PM:
>>>>>> I get the following exception when running: java -jar ofbiz.jar
>>>>>> -install
>>>>>> -readers=seed,ext
>>>>>>
>>>>>> This started happening around rev 736486.
>>>>>>
>>>>>> Thanks for your help!
>>>>>>
>>>>>> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ]
>>>>>> XML
>>>>>> Read
>>>>>> 0.015s: J:/working/SimplyArt/project/ofbiz/
>>>>>> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
>>>>>> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
>>>>>> Conversion for complex-alias needs to be implemented
>>>>>> for cache and in-memory eval stuff to work correctly, will not work
>>>>>> for
>>>>>> alias: statusDelay of view-entity ExampleStatus
>>>>>> Detail
>>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>>> at
>>>>>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
>>>>>> at
>>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
>>>>>> at
>>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
>>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>>> Entity
>>>>>> referred to in member-entity WRF not found, i
>>>>>> gnoring: WorkRequirementFulfillment
>>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>>> Entity
>>>>>> referred to in member-entity REQ not found, i
>>>>>> gnoring: Requirement
>>>>>> at
>>>>>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
>>>>>> 16:39:04,921 (main) [ Mo
>>>>>> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR:
>>>>>> could
>>>>>> not find ModelEntity for entity name: Requir
>>>>>> ement
>>>>>>
>>>>>> at
>>>>>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>>>>>> at
>>>>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
>>>>>> at
>>>>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
>>>>>> at
>>>>>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
>>>>>> at
>>>>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>>>>> at
>>>>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>>>>>> at org.ofbiz.base.start.Start.startServer(Start.java:312)
>>>>>> at org.ofbiz.base.start.Start.start(Start.java:316)
>>>>>> at org.ofbiz.base.start.Start.main(Start.java:399)
>>>>>> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
>>>>>> ContainerLoader.java:114:INFO ] Shutting down containers
>>>>
>>>>
>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (MingW32)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFJe8CerP3NbaWWqE4RAodmAJ9nJaj6t91GNWdq9yXJqVviWxL6gwCffgdR
>> SIdZ58vyNdA/Kui27v84+qw=
>> =+/5x
>> -----END PGP SIGNATURE-----
>>
>>
>
> --
> View this message in context: http://www.nabble.com/Error-while-running-install-and-startup-tp21646845p21654862.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
Re: Error while running install and startup
Posted by jazerb <ja...@gmail.com>.
Thank you for your help Mr. Freeman.
I use TortoiseSVN 1.5.6 as the svn client. I am doing layout customizations
while trying to keep my OFBiz installation in sync with the Apache project.
I run a local svn server where I check in my changes. I keep my local
repository in sync with the Apache project. I use Tortoise to export OFBiz
to a temp working directory which is pointing to my local SVN server. I use
a tool called WinMerge to diff my temp copy of OFBiz to the trunk version.
This allows me to see which files have been removed and also to filter out
my customizations.
I know there seems to be a few moving parts here but it has been working
well for me for the last few months.
I think I'll try to just to a fresh checkout then go through my sync
process. I'll post my results.
Thanks for your help.
BJ Freeman wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> what version of the svn do you have?
> you may have a incomplete download
> since
> Entity referred to in member-entity WRF not found, ignoring:
> WorkRequirementFulfillment
> says that the module that has the WRF is not loaded.
>
> jazerb sent the following on 1/24/2009 5:18 PM:
>> I am doing a clean first. I tried ant run-install-seed and it is giving
>> me
>> the same error.
>>
>> It is throwing the error when it can't find the ModelEntity
>> "Requirement".
>> The NullPointerException is coming from ModelViewEntity.populateFields.
>>
>> Thanks.
>>
>>
>> BJ Freeman wrote:
>> did you do a
>> ant clean
>> first?
>> if you use
>> ant run-install-seed
>> or
>> ant run-install
>> instead of
>> java -jar ofbiz.jar -install
>>
>> jazerb sent the following on 1/24/2009 3:55 PM:
>>>>> I get the following exception when running: java -jar ofbiz.jar
>>>>> -install
>>>>> -readers=seed,ext
>>>>>
>>>>> This started happening around rev 736486.
>>>>>
>>>>> Thanks for your help!
>>>>>
>>>>> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ]
>>>>> XML
>>>>> Read
>>>>> 0.015s: J:/working/SimplyArt/project/ofbiz/
>>>>> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
>>>>> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
>>>>> Conversion for complex-alias needs to be implemented
>>>>> for cache and in-memory eval stuff to work correctly, will not work
>>>>> for
>>>>> alias: statusDelay of view-entity ExampleStatus
>>>>> Detail
>>>>> Exception in thread "main" java.lang.NullPointerException
>>>>> at
>>>>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
>>>>> at
>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
>>>>> at
>>>>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>> Entity
>>>>> referred to in member-entity WRF not found, i
>>>>> gnoring: WorkRequirementFulfillment
>>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>>> Entity
>>>>> referred to in member-entity REQ not found, i
>>>>> gnoring: Requirement
>>>>> at
>>>>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
>>>>> 16:39:04,921 (main) [ Mo
>>>>> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR:
>>>>> could
>>>>> not find ModelEntity for entity name: Requir
>>>>> ement
>>>>>
>>>>> at
>>>>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>>>>> at
>>>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
>>>>> at
>>>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
>>>>> at
>>>>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
>>>>> at
>>>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>>>> at
>>>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>>>>> at org.ofbiz.base.start.Start.startServer(Start.java:312)
>>>>> at org.ofbiz.base.start.Start.start(Start.java:316)
>>>>> at org.ofbiz.base.start.Start.main(Start.java:399)
>>>>> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
>>>>> ContainerLoader.java:114:INFO ] Shutting down containers
>>>
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJe8CerP3NbaWWqE4RAodmAJ9nJaj6t91GNWdq9yXJqVviWxL6gwCffgdR
> SIdZ58vyNdA/Kui27v84+qw=
> =+/5x
> -----END PGP SIGNATURE-----
>
>
--
View this message in context: http://www.nabble.com/Error-while-running-install-and-startup-tp21646845p21654862.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error while running install and startup
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
what version of the svn do you have?
you may have a incomplete download
since
Entity referred to in member-entity WRF not found, ignoring:
WorkRequirementFulfillment
says that the module that has the WRF is not loaded.
jazerb sent the following on 1/24/2009 5:18 PM:
> I am doing a clean first. I tried ant run-install-seed and it is giving me
> the same error.
>
> It is throwing the error when it can't find the ModelEntity "Requirement".
> The NullPointerException is coming from ModelViewEntity.populateFields.
>
> Thanks.
>
>
> BJ Freeman wrote:
> did you do a
> ant clean
> first?
> if you use
> ant run-install-seed
> or
> ant run-install
> instead of
> java -jar ofbiz.jar -install
>
> jazerb sent the following on 1/24/2009 3:55 PM:
>>>> I get the following exception when running: java -jar ofbiz.jar -install
>>>> -readers=seed,ext
>>>>
>>>> This started happening around rev 736486.
>>>>
>>>> Thanks for your help!
>>>>
>>>> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ] XML
>>>> Read
>>>> 0.015s: J:/working/SimplyArt/project/ofbiz/
>>>> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
>>>> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
>>>> Conversion for complex-alias needs to be implemented
>>>> for cache and in-memory eval stuff to work correctly, will not work for
>>>> alias: statusDelay of view-entity ExampleStatus
>>>> Detail
>>>> Exception in thread "main" java.lang.NullPointerException
>>>> at
>>>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
>>>> at
>>>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
>>>> at
>>>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>> Entity
>>>> referred to in member-entity WRF not found, i
>>>> gnoring: WorkRequirementFulfillment
>>>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>>>> Entity
>>>> referred to in member-entity REQ not found, i
>>>> gnoring: Requirement
>>>> at
>>>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
>>>> 16:39:04,921 (main) [ Mo
>>>> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR:
>>>> could
>>>> not find ModelEntity for entity name: Requir
>>>> ement
>>>>
>>>> at
>>>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>>>> at
>>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
>>>> at
>>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
>>>> at
>>>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
>>>> at
>>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>>>> at org.ofbiz.base.start.Start.startServer(Start.java:312)
>>>> at org.ofbiz.base.start.Start.start(Start.java:316)
>>>> at org.ofbiz.base.start.Start.main(Start.java:399)
>>>> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
>>>> ContainerLoader.java:114:INFO ] Shutting down containers
>>
>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJe8CerP3NbaWWqE4RAodmAJ9nJaj6t91GNWdq9yXJqVviWxL6gwCffgdR
SIdZ58vyNdA/Kui27v84+qw=
=+/5x
-----END PGP SIGNATURE-----
Re: Error while running install and startup
Posted by jazerb <ja...@gmail.com>.
I am doing a clean first. I tried ant run-install-seed and it is giving me
the same error.
It is throwing the error when it can't find the ModelEntity "Requirement".
The NullPointerException is coming from ModelViewEntity.populateFields.
Thanks.
BJ Freeman wrote:
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> did you do a
> ant clean
> first?
> if you use
> ant run-install-seed
> or
> ant run-install
> instead of
> java -jar ofbiz.jar -install
>
> jazerb sent the following on 1/24/2009 3:55 PM:
>> I get the following exception when running: java -jar ofbiz.jar -install
>> -readers=seed,ext
>>
>> This started happening around rev 736486.
>>
>> Thanks for your help!
>>
>> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ] XML
>> Read
>> 0.015s: J:/working/SimplyArt/project/ofbiz/
>> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
>> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
>> Conversion for complex-alias needs to be implemented
>> for cache and in-memory eval stuff to work correctly, will not work for
>> alias: statusDelay of view-entity ExampleStatus
>> Detail
>> Exception in thread "main" java.lang.NullPointerException
>> at
>> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
>> at
>> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
>> at
>> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>> Entity
>> referred to in member-entity WRF not found, i
>> gnoring: WorkRequirementFulfillment
>> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR]
>> Entity
>> referred to in member-entity REQ not found, i
>> gnoring: Requirement
>> at
>> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
>> 16:39:04,921 (main) [ Mo
>> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR:
>> could
>> not find ModelEntity for entity name: Requir
>> ement
>>
>> at
>> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
>> at
>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
>> at
>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
>> at
>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
>> at
>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
>> at org.ofbiz.base.start.Start.startServer(Start.java:312)
>> at org.ofbiz.base.start.Start.start(Start.java:316)
>> at org.ofbiz.base.start.Start.main(Start.java:399)
>> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
>> ContainerLoader.java:114:INFO ] Shutting down containers
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.6 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFJe6z6rP3NbaWWqE4RAtWyAKCkvHyXlrc9DOm4utEHBELX0L8dmQCfUwyT
> yOOj20P8iPZWv+/rW8Aa63k=
> =g6uu
> -----END PGP SIGNATURE-----
>
>
--
View this message in context: http://www.nabble.com/Error-while-running-install-and-startup-tp21646845p21647490.html
Sent from the OFBiz - User mailing list archive at Nabble.com.
Re: Error while running install and startup
Posted by BJ Freeman <bj...@free-man.net>.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
did you do a
ant clean
first?
if you use
ant run-install-seed
or
ant run-install
instead of
java -jar ofbiz.jar -install
jazerb sent the following on 1/24/2009 3:55 PM:
> I get the following exception when running: java -jar ofbiz.jar -install
> -readers=seed,ext
>
> This started happening around rev 736486.
>
> Thanks for your help!
>
> 2009-01-24 16:39:04,765 (main) [ UtilXml.java:246:INFO ] XML Read
> 0.015s: J:/working/SimplyArt/project/ofbiz/
> ofbiz/specialpurpose/oagis/entitydef/entitymodel.xml
> 2009-01-24 16:39:04,828 (main) [ ModelViewEntity.java:470:WARN ]
> Conversion for complex-alias needs to be implemented
> for cache and in-memory eval stuff to work correctly, will not work for
> alias: statusDelay of view-entity ExampleStatus
> Detail
> Exception in thread "main" java.lang.NullPointerException
> at
> org.ofbiz.entity.model.ModelViewEntity.getAliasedField(ModelViewEntity.java:324)
> at
> org.ofbiz.entity.model.ModelViewEntity.populateFieldsBasic(ModelViewEntity.java:395)
> at
> org.ofbiz.entity.model.ModelViewEntity.populateFields(ModelViewEntity.java:333)
> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR] Entity
> referred to in member-entity WRF not found, i
> gnoring: WorkRequirementFulfillment
> 2009-01-24 16:39:04,921 (main) [ ModelViewEntity.java:567:ERROR] Entity
> referred to in member-entity REQ not found, i
> gnoring: Requirement
> at
> org.ofbiz.entity.model.ModelReader.getEntityCache(ModelReader.java:270)2009-01-24
> 16:39:04,921 (main) [ Mo
> delViewEntity.java:316:ERROR] [ModelViewEntity.populateFields] ERROR: could
> not find ModelEntity for entity name: Requir
> ement
>
> at
> org.ofbiz.entity.model.ModelReader.getModelReader(ModelReader.java:97)
> at
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:238)
> at
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:133)
> at
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:193)
> at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> at org.ofbiz.base.start.Start.startStartLoaders(Start.java:263)
> at org.ofbiz.base.start.Start.startServer(Start.java:312)
> at org.ofbiz.base.start.Start.start(Start.java:316)
> at org.ofbiz.base.start.Start.main(Start.java:399)
> 2009-01-24 16:39:04,937 (OFBiz_Shutdown_Hook) [
> ContainerLoader.java:114:INFO ] Shutting down containers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFJe6z6rP3NbaWWqE4RAtWyAKCkvHyXlrc9DOm4utEHBELX0L8dmQCfUwyT
yOOj20P8iPZWv+/rW8Aa63k=
=g6uu
-----END PGP SIGNATURE-----