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

Tomasz Sztelak closed XFIRE-616.
--------------------------------

      Assignee: Tomasz Sztelak  (was: Dan Diephouse)
    Resolution: Cannot Reproduce

> java.lang.VerifyError: Incompatible argument to function
> --------------------------------------------------------
>
>                 Key: XFIRE-616
>                 URL: http://jira.codehaus.org/browse/XFIRE-616
>             Project: XFire
>          Issue Type: Bug
>    Affects Versions: 1.1.2
>         Environment: Windows XP, Development work on IntelliJ5.1.2, 2GB RAM, 
> 120 Gb HDD, 1.6 GHz  Intel Dual Core Processor
>            Reporter: Qamar
>            Assignee: Tomasz Sztelak
>            Priority: Critical
>         Attachments: XFire.zip
>
>
> I read one thread on this issue but the guy had a problem with the jdom 
> version he was using. I am using jdom version 1.0 which is hopefully what 
> xfire requires. The xfire version I am using is 1.1.2. The exception is 
> thrown in the line which attempts to create a service instance for an 
> interface file ... The  problematic line is 
> Service service = serviceFactory.create(MoST.class); 
> The remaining files are attached for duplicating the problem. Only require 
> the xfire jars alongwith jdom1.0.jar. Typically should not require any other 
> binary.
> The exception thrown is shown below:
> Exception in thread "main" java.lang.VerifyError: (class: 
> org/codehaus/xfire/aegis/type/basic/ObjectType, method: writeSchema 
> signature: (Lorg/jdom/Element;)V) Incompatible argument to function
>       at 
> org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.createDefaultMappings(DefaultTypeMappingRegistry.java:331)
>       at 
> org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:128)
>       at 
> org.codehaus.xfire.aegis.type.DefaultTypeMappingRegistry.<init>(DefaultTypeMappingRegistry.java:116)
>       at 
> org.codehaus.xfire.aegis.AegisBindingProvider.<init>(AegisBindingProvider.java:46)
>       at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
>       at 
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
>       at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
>       at java.lang.Class.newInstance0(Class.java:350)
>       at java.lang.Class.newInstance(Class.java:303)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.getBindingProvider(ObjectServiceFactory.java:151)
>       at 
> org.codehaus.xfire.service.binding.DefaultServiceConfiguration.getInParameterName(DefaultServiceConfiguration.java:160)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.getInParameterName(ObjectServiceFactory.java:943)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.addOperation(ObjectServiceFactory.java:701)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.initializeOperations(ObjectServiceFactory.java:645)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:350)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:284)
>       at 
> org.codehaus.xfire.service.binding.ObjectServiceFactory.create(ObjectServiceFactory.java:265)
>       at man.ac.uk.most.ServiceStarter.start(ServiceStarter.java:22)
>       at man.ac.uk.most.ServiceStarter.main(ServiceStarter.java:42)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>       at java.lang.reflect.Method.invoke(Method.java:585)
>       at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)
> I have tried placing the xfire jars before and after jdom1.0.jar but nothing 
> helps. Will appreciate an early response.
> Many thanks
> Qamar

-- 
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

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to