axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pétur Runólfsson (JIRA) <j...@apache.org>
Subject [jira] Commented: (AXIS2-4273) org.apache.axis2.databinding.ADBException: Unexpected subelement when returned object contains null member of type Object.
Date Tue, 17 Mar 2009 11:18:50 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-4273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12682635#action_12682635
] 

Pétur Runólfsson commented on AXIS2-4273:
-----------------------------------------

This is the stack trace that is produced when the client is run:

     [java] log4j:WARN No appenders could be found for logger (org.apache.axis2.description.AxisService).
     [java] log4j:WARN Please initialize the log4j system properly.                      
               
     [java] org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected
subelement z
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:194)
               
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)                 
                
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)         
                
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)         
                
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)             
                
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)  
                
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           
                
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)                      
                
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
           
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)                      
                
     [java]     at org.apache.tools.ant.Target.execute(Target.java:357)                  
                
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)             
                
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)  
                
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)         
                
     [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
   
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)        
                
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)                     
                
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)                     
                
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)           
                
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)          
                
     [java] Caused by: org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException:
Unexpected subelement z
     [java]     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)              
                           
     [java]     at org.apache.ws.axis2.ServerStub.fromOM(ServerStub.java:1579)           
                           
     [java]     at org.apache.ws.axis2.ServerStub.getValue(ServerStub.java:191)          
                           
     [java]     at Client.main(Client.java:8)                                            
                           
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           
                           
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
            
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)                      
                           
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]     ... 21 more
     [java] Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected
subelement z
     [java]     at org.apache.ws.axis2.ServerStub$GetValueResponse$Factory.parse(ServerStub.java:915)
     [java]     at org.apache.ws.axis2.ServerStub.fromOM(ServerStub.java:1573)
     [java]     ... 29 more
     [java] Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement z
     [java]     at org.apache.ws.axis2.ServerStub$GetValueResponse$Factory.parse(ServerStub.java:909)
     [java]     ... 30 more
     [java] --- Nested Exception ---
     [java] org.apache.axis2.AxisFault: org.apache.axis2.databinding.ADBException: Unexpected
subelement z
     [java]     at org.apache.axis2.AxisFault.makeFault(AxisFault.java:430)
     [java]     at org.apache.ws.axis2.ServerStub.fromOM(ServerStub.java:1579)
     [java]     at org.apache.ws.axis2.ServerStub.getValue(ServerStub.java:191)
     [java]     at Client.main(Client.java:8)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.run(ExecuteJava.java:217)
     [java]     at org.apache.tools.ant.taskdefs.ExecuteJava.execute(ExecuteJava.java:152)
     [java]     at org.apache.tools.ant.taskdefs.Java.run(Java.java:764)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:218)
     [java]     at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:132)
     [java]     at org.apache.tools.ant.taskdefs.Java.execute(Java.java:105)
     [java]     at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
     [java]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
     [java]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
     [java]     at java.lang.reflect.Method.invoke(Method.java:585)
     [java]     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
     [java]     at org.apache.tools.ant.Task.perform(Task.java:348)
     [java]     at org.apache.tools.ant.Target.execute(Target.java:357)
     [java]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
     [java]     at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
     [java]     at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
     [java]     at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
     [java]     at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
     [java]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
     [java]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
     [java]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
     [java]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
     [java] Caused by: java.lang.Exception: org.apache.axis2.databinding.ADBException: Unexpected
subelement z
     [java]     at org.apache.ws.axis2.ServerStub$GetValueResponse$Factory.parse(ServerStub.java:915)
     [java]     at org.apache.ws.axis2.ServerStub.fromOM(ServerStub.java:1573)
     [java]     ... 29 more
     [java] Caused by: org.apache.axis2.databinding.ADBException: Unexpected subelement z
     [java]     at org.apache.ws.axis2.ServerStub$GetValueResponse$Factory.parse(ServerStub.java:909)
     [java]     ... 30 more
     [java] Java Result: -1


> org.apache.axis2.databinding.ADBException: Unexpected subelement when returned object
contains null member of type Object.
> --------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-4273
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4273
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: 1.4.1
>            Reporter: Pétur Runólfsson
>         Attachments: Client.java, Server.java, Server.wsdl, ServerCallbackHandler.java,
ServerStub.java, services.xml, Value.java
>
>
> A client generated with wsdl2java.sh with no options except -uri throws an "Unexpected
subelement" exception when a method returns an object that has a null member of type Object.
> The Web Service is an Axis2 POJO Web Service.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message