Code generation error

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

Code generation error

lahmar
Hi All,
 
I try to generate the code after changing order model.
But when i put Ant, i had an error message :
 
This is the entire error message:
 
 
BUILD FAILED
java.lang.NullPointerException
at org.ofbiz.neogia.generators.Util.isCache(Util.java:1504)
at org.ofbiz.neogia.generators.Util.isCache(Util.java:1489)
at org.ofbiz.neogia.generators.GeneratorEntityObjectBaseJava1.generateFr
omClass(GeneratorEntityObjectBaseJava1.java:636)
at org.codelutin.generator.ObjectModelGenerator.generate(ObjectModelGene
rator.java:198)
at org.codelutin.generator.ObjectModelGenerator.generate(ObjectModelGene
rator.java:116)
at org.codelutin.generator.GeneratorTask.doExecute(GeneratorTask.java:66
)
at org.codelutin.generator.GeneratorTask.execute(GeneratorTask.java:186)
 
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
a:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
cutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
I used PoseidonUML to modify order model.
 
Any one had a suggestion.
 
Thks & Best Regards.
Lahmar.
Reply | Threaded
Open this post in threaded view
|

Re: Code generation error

BJ Freeman
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

org.ofbiz.neogia.generators.GeneratorEntityObjectBaseJava1.generateFr
omClass(GeneratorEntityObjectBaseJava1.java:636)

Please use the neogia mailing list
this is not part of ofbiz

lahmar sent the following on 4/7/2009 5:34 AM:

> Hi All,
>  
> I try to generate the code after changing order model.
> But when i put Ant, i had an error message :
>  
> This is the entire error message:
>  
>  
> BUILD FAILED
> java.lang.NullPointerException
> at org.ofbiz.neogia.generators.Util.isCache(Util.java:1504)
> at org.ofbiz.neogia.generators.Util.isCache(Util.java:1489)
> at org.ofbiz.neogia.generators.GeneratorEntityObjectBaseJava1.generateFr
> omClass(GeneratorEntityObjectBaseJava1.java:636)
> at org.codelutin.generator.ObjectModelGenerator.generate(ObjectModelGene
> rator.java:198)
> at org.codelutin.generator.ObjectModelGenerator.generate(ObjectModelGene
> rator.java:116)
> at org.codelutin.generator.GeneratorTask.doExecute(GeneratorTask.java:66
> )
> at org.codelutin.generator.GeneratorTask.execute(GeneratorTask.java:186)
>  
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.jav
> a:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at org.apache.tools.ant.Target.performTasks(Target.java:385)
> at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
> at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
> at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExe
> cutor.java:41)
> at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
> at org.apache.tools.ant.Main.runBuild(Main.java:758)
> at org.apache.tools.ant.Main.startAnt(Main.java:217)
> at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
> at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
> I used PoseidonUML to modify order model.
>  
> Any one had a suggestion.
>  
> Thks & Best Regards.
> Lahmar.
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJ20sBrP3NbaWWqE4RAu83AKCJqzr2ud9GwgmXg+g72ncbChNsNwCcD/c5
XlQC87pk3Er4bxiImL+XBJ0=
=XEq1
-----END PGP SIGNATURE-----