You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Rishi Solanki <ri...@gmail.com> on 2009/06/27 14:04:07 UTC
Problem in running -"ant clean-all && ant run-install" - trunk rev
788950.
Steps to reproduce :
I tried derby database for installing ofbiz on trunk revision 788950 and
then ran command "ant clean-all && ant run-install".
I observed following error (Same error coming for external db i.e postgres):
[java] 2009-06-27 17:18:27,489 (main) [ DatabaseUtil.java:2754:INFO ]
Created 2 declared indices for entity [MrpEventType]
[java] 2009-06-27 17:18:27,511 (main) [
DatabaseUtil.java:2754:INFO ] Created 2 declared indices for entity
[NeedType]
[java] Exception in thread "main" java.lang.NullPointerException
[java] at
org.ofbiz.entity.jdbc.DatabaseUtil.makeIndexClause(DatabaseUtil.java:2811)
[java] at
org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndex(DatabaseUtil.java:2776)
[java] at
org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndices(DatabaseUtil.java:2742)
[java] at
org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:397)
[java] at
org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125)
[java] at
org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1090)
[java] at
org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:195)
[java] at
org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:288)
[java] at
org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
[java] at
org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:227)
[java] at
org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
[java] at
org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
[java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
[java] at org.ofbiz.base.start.Start.start(Start.java:324)
[java] at org.ofbiz.base.start.Start.main(Start.java:407)
[java] 2009-06-27 17:18:27,658 (OFBiz_Shutdown_Hook) [
ContainerLoader.java:114:INFO ] Shutting down containers
[java] Java Result: 1
Rishi Solanki
Enterprise Software Developer
HotWax Media Pvt. Ltd.
Re: Problem in running -"ant clean-all && ant run-install" - trunk
rev 788950.
Posted by Divesh Dutta <di...@hotwaxmedia.com>.
Thanks Hans for quick solution.
Regards
--
Divesh
Hans Bakker wrote:
> should be ok now....
>
> On Sat, 2009-06-27 at 17:52 +0530, Divesh Dutta wrote:
>
>> Hi Rishi,
>>
>> Hans can do a quick fix. I can tell you the problem, i.e indexing is
>> applied to "infoName" field of NoteData entity. And such field does not
>> exist. May be Hans wanted to apply indexing on "noteInfo". Lets see What
>> Hans says.
>>
>> Thanks
>> --
>> Divesh
>>
>>
>> Rishi Solanki wrote:
>>
>>> Steps to reproduce :
>>>
>>> I tried derby database for installing ofbiz on trunk revision 788950 and
>>> then ran command "ant clean-all && ant run-install".
>>> I observed following error (Same error coming for external db i.e postgres):
>>>
>>> [java] 2009-06-27 17:18:27,489 (main) [ DatabaseUtil.java:2754:INFO ]
>>> Created 2 declared indices for entity [MrpEventType]
>>> [java] 2009-06-27 17:18:27,511 (main) [
>>> DatabaseUtil.java:2754:INFO ] Created 2 declared indices for entity
>>> [NeedType]
>>> [java] Exception in thread "main" java.lang.NullPointerException
>>> [java] at
>>> org.ofbiz.entity.jdbc.DatabaseUtil.makeIndexClause(DatabaseUtil.java:2811)
>>> [java] at
>>> org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndex(DatabaseUtil.java:2776)
>>> [java] at
>>> org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndices(DatabaseUtil.java:2742)
>>> [java] at
>>> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:397)
>>> [java] at
>>> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125)
>>> [java] at
>>> org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1090)
>>> [java] at
>>> org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:195)
>>> [java] at
>>> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:288)
>>> [java] at
>>> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
>>> [java] at
>>> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:227)
>>> [java] at
>>> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
>>> [java] at
>>> org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
>>> [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
>>> [java] at org.ofbiz.base.start.Start.start(Start.java:324)
>>> [java] at org.ofbiz.base.start.Start.main(Start.java:407)
>>> [java] 2009-06-27 17:18:27,658 (OFBiz_Shutdown_Hook) [
>>> ContainerLoader.java:114:INFO ] Shutting down containers
>>> [java] Java Result: 1
>>>
>>>
>>> Rishi Solanki
>>> Enterprise Software Developer
>>> HotWax Media Pvt. Ltd.
>>>
>>>
>>>
Re: Problem in running -"ant clean-all && ant run-install" - trunk
rev 788950.
Posted by Hans Bakker <ma...@antwebsystems.com>.
should be ok now....
On Sat, 2009-06-27 at 17:52 +0530, Divesh Dutta wrote:
> Hi Rishi,
>
> Hans can do a quick fix. I can tell you the problem, i.e indexing is
> applied to "infoName" field of NoteData entity. And such field does not
> exist. May be Hans wanted to apply indexing on "noteInfo". Lets see What
> Hans says.
>
> Thanks
> --
> Divesh
>
>
> Rishi Solanki wrote:
> > Steps to reproduce :
> >
> > I tried derby database for installing ofbiz on trunk revision 788950 and
> > then ran command "ant clean-all && ant run-install".
> > I observed following error (Same error coming for external db i.e postgres):
> >
> > [java] 2009-06-27 17:18:27,489 (main) [ DatabaseUtil.java:2754:INFO ]
> > Created 2 declared indices for entity [MrpEventType]
> > [java] 2009-06-27 17:18:27,511 (main) [
> > DatabaseUtil.java:2754:INFO ] Created 2 declared indices for entity
> > [NeedType]
> > [java] Exception in thread "main" java.lang.NullPointerException
> > [java] at
> > org.ofbiz.entity.jdbc.DatabaseUtil.makeIndexClause(DatabaseUtil.java:2811)
> > [java] at
> > org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndex(DatabaseUtil.java:2776)
> > [java] at
> > org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndices(DatabaseUtil.java:2742)
> > [java] at
> > org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:397)
> > [java] at
> > org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125)
> > [java] at
> > org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1090)
> > [java] at
> > org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:195)
> > [java] at
> > org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:288)
> > [java] at
> > org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
> > [java] at
> > org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:227)
> > [java] at
> > org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> > [java] at
> > org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
> > [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
> > [java] at org.ofbiz.base.start.Start.start(Start.java:324)
> > [java] at org.ofbiz.base.start.Start.main(Start.java:407)
> > [java] 2009-06-27 17:18:27,658 (OFBiz_Shutdown_Hook) [
> > ContainerLoader.java:114:INFO ] Shutting down containers
> > [java] Java Result: 1
> >
> >
> > Rishi Solanki
> > Enterprise Software Developer
> > HotWax Media Pvt. Ltd.
> >
> >
>
--
Antwebsystems.com: Quality OFBiz services for competitive rates
Re: Problem in running -"ant clean-all && ant run-install" - trunk
rev 788950.
Posted by Divesh Dutta <di...@hotwaxmedia.com>.
Hi Rishi,
Hans can do a quick fix. I can tell you the problem, i.e indexing is
applied to "infoName" field of NoteData entity. And such field does not
exist. May be Hans wanted to apply indexing on "noteInfo". Lets see What
Hans says.
Thanks
--
Divesh
Rishi Solanki wrote:
> Steps to reproduce :
>
> I tried derby database for installing ofbiz on trunk revision 788950 and
> then ran command "ant clean-all && ant run-install".
> I observed following error (Same error coming for external db i.e postgres):
>
> [java] 2009-06-27 17:18:27,489 (main) [ DatabaseUtil.java:2754:INFO ]
> Created 2 declared indices for entity [MrpEventType]
> [java] 2009-06-27 17:18:27,511 (main) [
> DatabaseUtil.java:2754:INFO ] Created 2 declared indices for entity
> [NeedType]
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at
> org.ofbiz.entity.jdbc.DatabaseUtil.makeIndexClause(DatabaseUtil.java:2811)
> [java] at
> org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndex(DatabaseUtil.java:2776)
> [java] at
> org.ofbiz.entity.jdbc.DatabaseUtil.createDeclaredIndices(DatabaseUtil.java:2742)
> [java] at
> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:397)
> [java] at
> org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:125)
> [java] at
> org.ofbiz.entity.datasource.GenericDAO.checkDb(GenericDAO.java:1090)
> [java] at
> org.ofbiz.entity.datasource.GenericHelperDAO.checkDataSource(GenericHelperDAO.java:195)
> [java] at
> org.ofbiz.entity.GenericDelegator.<init>(GenericDelegator.java:288)
> [java] at
> org.ofbiz.entity.GenericDelegator.getGenericDelegator(GenericDelegator.java:141)
> [java] at
> org.ofbiz.entityext.data.EntityDataLoadContainer.start(EntityDataLoadContainer.java:227)
> [java] at
> org.ofbiz.base.container.ContainerLoader.start(ContainerLoader.java:101)
> [java] at
> org.ofbiz.base.start.Start.startStartLoaders(Start.java:271)
> [java] at org.ofbiz.base.start.Start.startServer(Start.java:320)
> [java] at org.ofbiz.base.start.Start.start(Start.java:324)
> [java] at org.ofbiz.base.start.Start.main(Start.java:407)
> [java] 2009-06-27 17:18:27,658 (OFBiz_Shutdown_Hook) [
> ContainerLoader.java:114:INFO ] Shutting down containers
> [java] Java Result: 1
>
>
> Rishi Solanki
> Enterprise Software Developer
> HotWax Media Pvt. Ltd.
>
>