Varun,

Short answer BECL 5.x is not compatible with Java 1.8 class file
structure. See the BCEL website or the Apache Commons development
mailing list archives for more details.

Bindul

On Tue, Jun 7, 2016 at 9:36 PM, Varun Bhat <varun.bh...@gmail.com> wrote:
> Hello,
>
> I am migrating my application previously built on jdk1.6 to jdk1.8 with
> jibx1.2.6 and am seeing the below error upon using BCEL5.1/BCEL5.2 jar.
>
> from the jibx forum i got to know this issue is resolved with
> BCEL-6.0SNAPSHOT.jar. Upon trying that i was able to build my application
> successfully.
>
> I was curious to know why this error is coming on migrating to jdk1.8. Can
> somebody throw light on this. Any or every input would be of great help.
>
> jibx-bind:
>
>      [echo] Binding classes with binding file
> C:\CSG_v1.0.18\corundum\siom-1-03\siom/src/main/java/c
>
> om/ge/medit/siom/mapping/binding.xml
>
>      [bind] Error running binding compiler
>
>      [bind] java.lang.IllegalStateException: Error loading class
> java.lang.CharSequence: Error readi
>
> ng path java/lang/CharSequence.class for class java.lang.CharSequence
>
>      [bind]     at
> org.jibx.binding.classes.ClassCache$ClassCacheLocator.getClassInfo(ClassCache.jav
>
> a:291)
>
>      [bind]     at
> org.jibx.binding.model.ClassHierarchyContext.accumulateInterfaces(ClassHierarchyC
>
> ontext.java:95)
>
>      [bind]     at
> org.jibx.binding.model.ClassHierarchyContext.addTypedComponent(ClassHierarchyCont
>
> ext.java:121)
>
>      [bind]     at
> org.jibx.binding.model.DefinitionContext.addFormat(DefinitionContext.java:527)
>
>      [bind]     at
> org.jibx.binding.model.BindingElement.defineBaseFormat(BindingElement.java:843)
>
>      [bind]     at
> org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:865)
>
>      [bind]     at
> org.jibx.binding.model.BindingElement.runValidation(BindingElement.java:899)
>
>      [bind]     at
> org.jibx.binding.model.BindingElement.validateBinding(BindingElement.java:969)
>
>      [bind]     at
> org.jibx.binding.Utility.validateBinding(Utility.java:226)
>
>      [bind]     at org.jibx.binding.Utility.loadBinding(Utility.java:269)
>
>      [bind]     at
> org.jibx.binding.Utility.loadFileBinding(Utility.java:420)
>
>      [bind]     at org.jibx.binding.Compile.compile(Compile.java:217)
>
>      [bind]     at
> org.jibx.binding.ant.CompileTask.execute(CompileTask.java:248)
>
>      [bind]     at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>
>      [bind]     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown
> Source)
>
>      [bind]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
>
> :43)
>
>      [bind]     at java.lang.reflect.Method.invoke(Method.java:498)
>
>      [bind]     at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>
>      [bind]     at org.apache.tools.ant.Task.perform(Task.java:348)
>
>      [bind]     at org.apache.tools.ant.Target.execute(Target.java:435)
>
>      [bind]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
>
>      [bind]     at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>
>      [bind]     at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecuto
>
> r.java:38)
>
>      [bind]     at
> org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>
>      [bind]     at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:440)
>
>      [bind]     at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
>
>      [bind]     at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
>
>      [bind]     at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown
> Source)
>
>      [bind]     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java
>
> :43)
>
>      [bind]     at java.lang.reflect.Method.invoke(Method.java:498)
>
>      [bind]     at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>
>      [bind]     at org.apache.tools.ant.Task.perform(Task.java:348)
>
>      [bind]     at org.apache.tools.ant.Target.execute(Target.java:435)
>
>      [bind]     at org.apache.tools.ant.Target.performTasks(Target.java:456)
>
>      [bind]     at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
>
>      [bind]     at
> org.apache.tools.ant.Project.executeTarget(Project.java:1364)
>
>      [bind]     at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:4
>
> 1)
>
>      [bind]     at
> org.apache.tools.ant.Project.executeTargets(Project.java:1248)
>
>      [bind]     at org.apache.tools.ant.Main.runBuild(Main.java:851)
>
>      [bind]     at org.apache.tools.ant.Main.startAnt(Main.java:235)
>
>      [bind]     at
> org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
>
>      [bind]     at
> org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
>
>      [bind]
>
>
>
> BUILD FAILED
>
>
>
> --
> Regards,
> Varun Bhat
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity
> planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
> _______________________________________________
> jibx-users mailing list
> jibx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jibx-users
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
jibx-users mailing list
jibx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to