axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinath Perera (JIRA)" <>
Subject [jira] Commented: (AXIS2-4808) CmisException
Date Wed, 22 Dec 2010 01:02:01 GMT


Srinath Perera commented on AXIS2-4808:

Can you help us reproduce by providing service and client that recreate the problem?

> CmisException
> -------------------------------------------------------------------
>                 Key: AXIS2-4808
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: client-api
>    Affects Versions: 1.5.1
>         Environment: Windows XP version 5.1 , Eclipse Version: 3.4.0 with JDK 1.5
>            Reporter: Avijit Samal
> I was testing the webservices when the following error was thrown. Actually, this error
hides the actual error thrown by the webservice, as it fails to instantiate the CmisException
class. The line responsible for this error is "java.lang.Exception ex= (java.lang.Exception)(exceptionClass.newInstance());".
It is quite surprising as to how this line could fail, as when executed outside of this block,
it works. This looks to be some bug in Apache, but quite perplexing given it challenges the
core of Java. I even tried                         java.lang.Exception ex= new CmisException();
and it does not work. 
> Error in main : CmisException
> CmisException
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
> 	at java.lang.reflect.Constructor.newInstance(
> 	at java.lang.Class.newInstance0(
> 	at java.lang.Class.newInstance(
> 	at
> 	at GenericTestClass.testCMIS_RepositoryService(
> 	at GenericTestClass.main(

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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message