Hi Nadeesha,

Will you please check whether documentation or READ ME file hasn't
mentioned which Java version to be used. If not please open a doc Jira

Thanks & Regards,
Sewmini



Sewmini Jayaweera
*Software Engineer - QA Team*
Mobile: +94 (0) 773 381 250
sewm...@wso2.com

On Wed, Apr 29, 2015 at 9:50 AM, Chathura Priyankara <chathu...@wso2.com>
wrote:

> Hi Nadeesha,
>
> I think similar exception is discussed in [1].
> According to that you need to set the JVM option "-XX:-UseSplitVerifier"
> before executing the binding compiler.
>
> [1]
> https://wso2.org/jira/si/jira.issueviews:issue-html/CARBON-12931/CARBON-12931.html
>
> Thanks!
> Best Regards,
> Chathura.
>
> On Wed, Apr 29, 2015 at 8:42 AM, Nadeesha Meegoda <nadees...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I am running these AS samples, currently running the JiBX and the build
>> fails. Has anyone come across this before?
>>
>>      [bind] Error running binding compiler
>>      [bind] java.lang.VerifyError: Expecting a stackmap frame at branch
>> target 12
>>      [bind] Exception Details:
>>      [bind]   Location:
>>      [bind]
>> org/wso2/appserver/jibx/library/beans/Book.JiBX_jibx_unwrapped_newinstance_1_0(Lorg/wso2/appserver/jibx/library/beans/Book;Lorg/jibx/runtime/impl/UnmarshallingContext;)Lorg/wso2/appserver/jibx/library/beans/Book;
>> @1: ifnonnull
>>      [bind]   Reason:
>>      [bind]    Expected stackmap frame at this location.
>>      [bind]     Bytecode:
>>      [bind]     0000000: 2ac7 000b bb00 0a59 b700 744b 2ab0
>>      [bind]
>>      [bind]     at java.lang.Class.getDeclaredMethods0(Native Method)
>>      [bind]     at
>> java.lang.Class.privateGetDeclaredMethods(Class.java:2615)
>>      [bind]     at java.lang.Class.getDeclaredMethods(Class.java:1860)
>>      [bind]     at org.jibx.binding.Compile.compile(Compile.java:278)
>>      [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.GeneratedMethodAccessor4.invoke(Unknown
>> Source)
>>      [bind]     at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>>      [bind]     at java.lang.reflect.Method.invoke(Method.java:606)
>>      [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:41)
>>      [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
>> /home/nadeesham/Documents/Products/wso2as-5.2.1/samples/Jibx/build.xml:89:
>> JiBXException in JiBX binding compilation
>>
>>
>> Any Input regarding this is highly appreciated.
>>
>> Thanks
>> --
>> *Nadeesha Meegoda*
>> Software Engineer - QA
>> WSO2 Inc.; http://wso2.com
>> lean.enterprise.middleware
>> email : nadees...@wso2.com
>> mobile: +94783639540
>> <%2B94%2077%202273555>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Chathura Priyankara
> Software Engineer | WSO2 Inc.
> Mobile : +94718795340
> Blog : www.codeoncloud.blogspot.com
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to