You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org> on 2005/08/26 13:28:45 UTC

[jira] Created: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
---------------------------------------------------------------------------------

         Key: AXIS2-181
         URL: http://issues.apache.org/jira/browse/AXIS2-181
     Project: Apache Axis 2.0 (Axis2)
        Type: Bug
  Components: wsdl  
 Reporter: Ruchith Udayanga Fernando
 Assigned to: Ajith Harshana Ranabahu 


The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError

Will attatch the WSDL that generated the problem


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-181?page=comments#action_12320136 ] 

Ruchith Udayanga Fernando commented on AXIS2-181:
-------------------------------------------------

You can codegen using the attached wsdl and try 

This automatically happens when you do 'maven jar' in the security module (in axis2/java/modules/security) - Ping.aar in the 'security/target' directory.

You will have to use a client program to call the service, will attatch the file.

> java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-181
>          URL: http://issues.apache.org/jira/browse/AXIS2-181
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: ping.wsdl
>
> The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError
> Will attatch the WSDL that generated the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-181?page=all ]

Ruchith Udayanga Fernando updated AXIS2-181:
--------------------------------------------

    Attachment: SimpleClient.java

You will have to have the compiled codegen'ed stuff in the classpath to run  this.

> java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-181
>          URL: http://issues.apache.org/jira/browse/AXIS2-181
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: SimpleClient.java, ping.wsdl
>
> The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError
> Will attatch the WSDL that generated the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Commented: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

Posted by "Davanum Srinivas (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/AXIS2-181?page=comments#action_12320134 ] 

Davanum Srinivas commented on AXIS2-181:
----------------------------------------

how do i recreate the problem?

thanks,
dims

> java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-181
>          URL: http://issues.apache.org/jira/browse/AXIS2-181
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: ping.wsdl
>
> The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError
> Will attatch the WSDL that generated the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

Posted by "Ruchith Udayanga Fernando (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-181?page=all ]

Ruchith Udayanga Fernando updated AXIS2-181:
--------------------------------------------

    Attachment: ping.wsdl

wsdl file attached

> java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-181
>          URL: http://issues.apache.org/jira/browse/AXIS2-181
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Ajith Harshana Ranabahu
>  Attachments: ping.wsdl
>
> The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError
> Will attatch the WSDL that generated the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (AXIS2-181) java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver

Posted by "Ajith Harshana Ranabahu (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/AXIS2-181?page=all ]
     
Ajith Harshana Ranabahu resolved AXIS2-181:
-------------------------------------------

    Fix Version: 0.92
     Resolution: Fixed

This is not due to any code gen error but the build script. For the service archive all the files generated by the code generator is required. for XMLBeans special files with extension xsb are generated and absolutely required for the data binder. The problem was that the maven script failed to add these to the archive

> java.lang.ExceptionInInitializerError is thrown by the codegen'ed MessageReceiver
> ---------------------------------------------------------------------------------
>
>          Key: AXIS2-181
>          URL: http://issues.apache.org/jira/browse/AXIS2-181
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug
>   Components: wsdl
>     Reporter: Ruchith Udayanga Fernando
>     Assignee: Ajith Harshana Ranabahu
>      Fix For: 0.92
>  Attachments: SimpleClient.java, ping.wsdl
>
> The codegen'ed MessageReceiver is throwing an java.lang.ExceptionInInitializerError
> Will attatch the WSDL that generated the problem

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira