Dennis, I'll enter one this weekend and a few more I encountered over the last few days with my framework stuff.

Thanks.

Ilya Sterin

On 7/18/06, Dennis Sosnoski <[EMAIL PROTECTED]> wrote:
Hi Ilya,

It'd be great if you could enter a Jira bug report with the code to
reproduce the original problem, so I can make sure it gets fixed in the
next release. Thanks,

  - Dennis

Dennis M. Sosnoski
SOA, Web Services, and XML
Training and Consulting
http://www.sosnoski.com - http://www.sosnoski.co.nz
Seattle, WA +1-425-296-6194 - Wellington, NZ +64-4-298-6117



Ilya Sterin wrote:
> Ah, I think I figured it out, forgot the field attribute for the
> <structure> element.
>
> Ilya
>
> On 7/18/06, *Ilya Sterin* < [EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>     Ok, I'm having an issue, not sure if it's my setup, or if I'm
>     doing something wrong...
>
>     I'm using maven 2 plugin to compile, though the same happens in
>     IntelliJ with jibx plugin.
>
>     #### Mapping file #####
>
>     <binding>
>       <mapping name="globalMap" class=" test.GlobalMap">
>         <structure name="dataSource" type="test.DataSource">
>           <value name="url" field="url"/>
>           <value name="port" field="port"/>
>           <value name="userName" field="userName"/>
>           <value name="password" field="password"/>
>         </structure>
>       </mapping>
>     </binding>
>
>
>     #### Classes ####
>
>     package test;
>
>     public class GlobalMap {
>
>       public DataSource dataSource;
>       public ArrayList queries;
>       public ArrayList configs;
>
>     }
>
>     #####
>
>     package test;
>
>     public class DataSource {
>
>       public String url;
>       public String port;
>       public String userName;
>       public String password;
>
>     }
>
>
>     ###### Error in maven build #######
>
>     [INFO] [jibx:bind {execution: default}]
>     [INFO] Running JiBX binding compiler (single-module mode) on 1
>     binding file(s)
>     Running binding compiler version jibx-rc1
>     binding binding:
>      context (mp#=1) (cv#=0) (fm#=0)
>       mapping class test.GlobalMap to element globalMap (#0)
>        context (cv#=0) (fm#=0)
>        element wrapper globalMap
>         object binding for test.GlobalMap
>          structure ordered
>           element wrapper dataSource
>            component property "this" (test.DataSource)
>             object binding for test.DataSource
>              structure ordered
>               element url from property url ( java.lang.String)
>               element port from property port (java.lang.String)
>               element userName from property userName (java.lang.String)
>               element password from property password ( java.lang.String )
>     Generating code for mapping test.GlobalMap
>     [INFO]
>     ------------------------------------------------------------------------
>     [ERROR] BUILD ERROR
>     [INFO]
>     ------------------------------------------------------------------------
>
>     [INFO]
>     *** Error during code generation - please report this error on the
>     JiBX users list so that the condition can be caught during
>     validation ***
>
>
>
>
>     ###### Error in IntelliJ ########
>
>     Unexpected JiBX exception: Error running binding compiler
>     Error running binding compiler
>
>     *** Error during code generation - please enter a bug report for
>     this error in Jira if the problem is not listed as fixed on the
>     online status page ***
>
>     java.lang.IllegalStateException : Internal error: Expected
>     com.nextrials.prism3.xml.persist.mapping.dto.DataSource on stack,
>     found com.nextrials.prism3.xml.persist.mapping.dto.GlobalMap
>      full stack:
>       0: com.nextrials.prism3.xml.persist.mapping.dto.GlobalMap
>       1: org.jibx.runtime.impl.UnmarshallingContext
>
>         at
>     org.jibx.binding.classes.MethodBuilder.verifyCompatible(MethodBuilder.java :393)
>         at
>     org.jibx.binding.classes.MethodBuilder.verifyCallStack(MethodBuilder.java
>     :510)
>         at
>     org.jibx.binding.classes.MethodBuilder.appendCallVirtual(MethodBuilder.java :867)
>         at
>     org.jibx.binding.def.ObjectBinding.genUnmarshalCall(ObjectBinding.java:568)
>         at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall
>     (ObjectBinding.java :823)
>         at
>     org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java:932)
>         at
>     org.jibx.binding.def.ComponentProperty.genContentUnmarshal(ComponentProperty.java :245)
>         at
>     org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:267)
>         at
>     org.jibx.binding.def.NestedStructure.genContentUnmarshal(NestedStructure.java :156)
>         at org.jibx.binding.def.ObjectBinding.genUnmarshalContentCall
>     (ObjectBinding.java:787)
>         at
>     org.jibx.binding.def.ObjectBinding.genContentUnmarshal(ObjectBinding.java :932)
>         at
>     org.jibx.binding.def.ElementWrapper.genContentUnmarshal(ElementWrapper.java:267)
>         at org.jibx.binding.def.MappingDefinition.generateCode
>     (MappingDefinition.java :592)
>         at
>     org.jibx.binding.def.DefinitionContext.generateCode(DefinitionContext.java:602)
>         at
>     org.jibx.binding.def.BindingDefinition.generateCode(BindingDefinition.java :611)
>         at org.jibx.binding.Compile.compile (Compile.java:305)
>         at
>     org.kalixia.intellij.jibx.BindingCompilerCompileTask$2.compute(BindingCompilerCompileTask.java:120)
>         at
>     org.kalixia.intellij.jibx.BindingCompilerCompileTask$2.compute(BindingCompilerCompileTask.java
>     :137)
>         at
>     com.intellij.openapi.application.impl.ApplicationImpl$8.run(ApplicationImpl.java )
>         at
>     com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:276)
>         at
>     com.intellij.openapi.application.impl.ApplicationImpl.runReadAction
>     (ApplicationImpl.java:60)
>         at
>     org.kalixia.intellij.jibx.BindingCompilerCompileTask.execute(BindingCompilerCompileTask.java:78)
>         at
>     com.intellij.compiler.impl.CompileDriver.a (CompileDriver.java:753)
>         at com.intellij.compiler.impl.CompileDriver.a
>     (CompileDriver.java:686)
>         at
>     com.intellij.compiler.impl.CompileDriver.a(CompileDriver.java:776)
>         at
>     com.intellij.compiler.impl.CompileDriver.access$400(CompileDriver.java:405)
>         at com.intellij.compiler.impl.CompileDriver$4$1.run
>     (CompileDriver.java:2)
>         at
>     com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:82)
>         at
>     com.intellij.compiler.impl.CompileDriver$4.run(CompileDriver.java:4)
>
>
>
>     Please let me know what am I doing wrong.
>
>     Thanks.
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ------------------------------------------------------------------------
>
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net 's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to