You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Er...@kryos.com on 2007/01/15 18:10:03 UTC

running ofbiz - exception




I'm a newbie to ofbiz and forgive me if this question has been answered already, but I'm having trouble starting the application.

So far I've gotten the latest source from SVN and have attepted to run it both via command line and Eclipse... only to get the same result.

Here's what spits out on the console.....

.....
2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:807:INFO ] - order by not in select   [false]
2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:809:INFO ] - alter table add column   [true]*
2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:810:INFO ] - non-nullable column      [true]*
2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:847:INFO ] Getting Table Info From Database
2007-01-15 09:12:53,608 (main) [       DatabaseUtil.java:982:INFO ] Getting Column Info From Database
java.lang.NullPointerException
      at java.util.TreeMap.compare(TreeMap.java:1108)
      at java.util.TreeMap.getEntry(TreeMap.java:362)
      at java.util.TreeMap.containsKey(TreeMap.java:219)
      at java.util.TreeSet.contains(TreeSet.java:211)
      at org.ofbiz.entity.jdbc.DatabaseUtil.getColumnInfo(DatabaseUtil.java:1030)
      at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:143)
      at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:119)
......

Its pretty vague.... does this look familiar to anyone?  If so, is there a step I've missed?

Any help is appreciated.

Regards,
Eric


Re: running ofbiz - exception

Posted by Jacques Le Roux <ja...@les7arts.com>.
Eric,

Did you ran "ant run-install" before ? It loads OOTB data demo and should run fine.

Jacques

----- Original Message ----- 
From: <Er...@kryos.com>
To: <us...@ofbiz.apache.org>
Sent: Monday, January 15, 2007 6:10 PM
Subject: running ofbiz - exception


>
>
>
>
> I'm a newbie to ofbiz and forgive me if this question has been answered already, but I'm having trouble starting the application.
>
> So far I've gotten the latest source from SVN and have attepted to run it both via command line and Eclipse... only to get the
same result.
>
> Here's what spits out on the console.....
>
> .....
> 2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:807:INFO ] - order by not in select   [false]
> 2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:809:INFO ] - alter table add column   [true]*
> 2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:810:INFO ] - non-nullable column      [true]*
> 2007-01-15 09:12:27,411 (main) [       DatabaseUtil.java:847:INFO ] Getting Table Info From Database
> 2007-01-15 09:12:53,608 (main) [       DatabaseUtil.java:982:INFO ] Getting Column Info From Database
> java.lang.NullPointerException
>       at java.util.TreeMap.compare(TreeMap.java:1108)
>       at java.util.TreeMap.getEntry(TreeMap.java:362)
>       at java.util.TreeMap.containsKey(TreeMap.java:219)
>       at java.util.TreeSet.contains(TreeSet.java:211)
>       at org.ofbiz.entity.jdbc.DatabaseUtil.getColumnInfo(DatabaseUtil.java:1030)
>       at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:143)
>       at org.ofbiz.entity.jdbc.DatabaseUtil.checkDb(DatabaseUtil.java:119)
> ......
>
> Its pretty vague.... does this look familiar to anyone?  If so, is there a step I've missed?
>
> Any help is appreciated.
>
> Regards,
> Eric