[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jibx-devs
Subject:    [jibx-devs] [jira] Closed: (JIBX-361) NullpointerException when
From:       "Dennis Sosnoski (JIRA)" <jira () codehaus ! org>
Date:       2011-02-14 9:52:23
Message-ID: 16989238.9878.1297677143169.JavaMail.haus-jira () codehaus01 ! managed ! contegix ! com
[Download RAW message or body]


     [ http://jira.codehaus.org/browse/JIBX-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel \
]

Dennis Sosnoski closed JIBX-361.
--------------------------------


> NullpointerException when attempting to codegen wfmc xpdl 2.1 schema
> --------------------------------------------------------------------
> 
> Key: JIBX-361
> URL: http://jira.codehaus.org/browse/JIBX-361
> Project: JiBX
> Issue Type: Bug
> Components: CodeGen
> Affects Versions: JiBX 1.2.2
> Environment: windows xp, java 1.5
> Reporter: sriram easwaran
> Assignee: Dennis Sosnoski
> Priority: Blocker
> Fix For: JiBX 1.2.3
> 
> Attachments: bpnmxpdl_31.xsd, TC-1025_schema_10_xpdl.xsd
> 
> 
> Attempted to codegen the latest xpdl2.1 schema and i get the following exception. \
> This schema references the Xpdl 1.0 schema which successfully codegens in isolation \
> so it appears to some construct in the new version that is causing a problem. I do \
> not have enough expertise in schemas or jibx to make a more thorough assesment.  \
> (See attachment for schema files, adjust import paths as appropriate). java \
> -Xmx1024M -cp lib\jibx-tools.jar org.jibx.schema.codegen.CodeGen -t gen\src -w \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd
> Warning: No type defined for element 'DeadlineCondition' at (line 197, col 80, in \
> file:///C:/Public/Workflow/xpdlSchema/TC-1025_sc hema_10_xpdl.xsd)
> Warning: No type defined for element 'ExceptionName' at (line 198, col 76, in \
> file:///C:/Public/Workflow/xpdlSchema/TC-1025_schema _10_xpdl.xsd)
> Warning: No type defined for element 'Extensions' at (line 75, col 39, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'Extensions' at (line 1153, col 39, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'Extensions' at (line 2129, col 38, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'TriggerResultCancel' at (line 2990, col 43, \
> in C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd )
> Loaded and validated 1 specified schema(s) and 1 referenced schema(s)
> Warning: No type defined for element 'DeadlineCondition' at (line 197, col 80, in \
> file:///C:/Public/Workflow/xpdlSchema/TC-1025_sc hema_10_xpdl.xsd)
> Warning: No type defined for element 'ExceptionName' at (line 198, col 76, in \
> file:///C:/Public/Workflow/xpdlSchema/TC-1025_schema _10_xpdl.xsd)
> Warning: No type defined for element 'Extensions' at (line 75, col 39, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'Extensions' at (line 1153, col 39, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'Extensions' at (line 2129, col 38, in \
>                 C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd)
> Warning: No type defined for element 'TriggerResultCancel' at (line 2990, col 43, \
> in C:\Public\Workflow\xpdlSchema\bpnmxpdl_31.xsd )
> Exception in thread "main" java.lang.NullPointerException
> at org.jibx.schema.codegen.ItemVisitor.addReference(ItemVisitor.java:135)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:257)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:199)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:288)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:194)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:245)
> at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:495)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:262)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:288)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:194)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:245)
> at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:325)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:178)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303)
> at org.jibx.schema.codegen.ItemVisitor.buildGlobal(ItemVisitor.java:83)
> at org.jibx.schema.codegen.ItemVisitor.addReference(ItemVisitor.java:139)
> at org.jibx.schema.codegen.ItemVisitor.addTypeRefItem(ItemVisitor.java:174)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:293)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:194)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:245)
> at org.jibx.schema.SchemaVisitor.visit(SchemaVisitor.java:495)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:262)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:303)
> at org.jibx.schema.TreeWalker.walkChildren(TreeWalker.java:505)
> at org.jibx.schema.codegen.ItemVisitor.buildStructure(ItemVisitor.java:115)
> at org.jibx.schema.codegen.ItemVisitor.visit(ItemVisitor.java:288)
> at org.jibx.schema.TreeWalker.walkElement(TreeWalker.java:194)
> at org.jibx.schema.codegen.ItemVisitor.buildGlobal(ItemVisitor.java:83)
> at org.jibx.schema.codegen.CodeGen.buildItemStructures(CodeGen.java:1116)
> at org.jibx.schema.codegen.CodeGen.generate(CodeGen.java:1449)
> at org.jibx.schema.codegen.CodeGen.main(CodeGen.java:1989)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: \
                http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
jibx-devs mailing list
jibx-devs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-devs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic