This might be related: 
http://old.nabble.com/Empty-enumeration-value---CodeGen-throws-IllegalArgumentException-td25694332.html
 Are you trying to use an empty string as an enum value?

 - Ryan

From: Akshay Kulkarni 
<ak.androidm...@gmail.com<mailto:ak.androidm...@gmail.com>>
Reply-To: JiBX users 
<jibx-users@lists.sourceforge.net<mailto:jibx-users@lists.sourceforge.net>>
Date: Wed, 10 Aug 2011 02:10:27 -0700
To: "jibx-users@lists.sourceforge.net<mailto:jibx-users@lists.sourceforge.net>" 
<jibx-users@lists.sourceforge.net<mailto:jibx-users@lists.sourceforge.net>>
Subject: [jibx-users] Exception in thread 
"main"java.lang.IllegalArgumentException

Hi,

Using the codegen from the jiBx is generating the below exception. Am not 
getting the possible location of the exception. Please help in finding and 
resolving the below issue.




codegen:
     [echo] Running code generation from schema
     [java] Loaded and validated 87 specified schema(s) and 1 referenced schema(
s)
     [java] Exception in thread "main" java.lang.IllegalArgumentException
     [java]     at org.eclipse.jdt.core.dom.SimpleName.setIdentifier(SimpleName.
java:189)
     [java]     at org.eclipse.jdt.core.dom.AST.newSimpleName(AST.java:1251)
     [java]     at org.jibx.schema.codegen.ClassBuilder.createNormalMethodCall(C
lassBuilder.java:588)
     [java]     at org.jibx.schema.codegen.StructureClassHolder.addRepeatedPrope
rty(StructureClassHolder.java:1055)
     [java]     at org.jibx.schema.codegen.StructureClassHolder.addToClass(Struc
tureClassHolder.java:1485)
     [java]     at org.jibx.schema.codegen.StructureClassHolder.addToClass(Struc
tureClassHolder.java:1478)
     [java]     at org.jibx.schema.codegen.StructureClassHolder.addToClass(Struc
tureClassHolder.java:1478)
     [java]     at org.jibx.schema.codegen.StructureClassHolder.generate(Structu
reClassHolder.java:2146)
     [java]     at org.jibx.schema.codegen.PackageHolder.generate(PackageHolder.
java:210)
     [java]     at org.jibx.schema.codegen.PackageHolder.generate(PackageHolder.
java:227)
     [java]     at org.jibx.schema.codegen.CodeGen.buildDataModel(CodeGen.java:1
572)
     [java]     at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1779)
     [java]     at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:2202)

BUILD FAILED
E:\Tools\CopiedFiles\jibx_1_2_3\jibx\examples\xsdooxml\build.xml:97: Java return
ed: 1

Total time: 4 seconds


Thanks in advance.
AK
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model 
configuration take the hassle out of deploying and managing Subversion and 
the tools developers use with it. Learn more about uberSVN and get a free 
download at:  http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to