cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean O'Callaghan (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (CXF-1365) Too much error message for missing class in java2 tools
Date Wed, 03 Sep 2008 16:57:44 GMT

    [ https://issues.apache.org/jira/browse/CXF-1365?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12628032#action_12628032
] 

seanoc edited comment on CXF-1365 at 9/3/08 9:55 AM:
---------------------------------------------------------------

http://svn.apache.org/viewvc?view=rev&revision=691646

JavaToWS now catches Throwable rather than Exception.

      was (Author: seanoc):
    http://svn.apache.org/viewvc?view=rev&revision=691646
  
> Too much error message for missing class in java2 tools
> -------------------------------------------------------
>
>                 Key: CXF-1365
>                 URL: https://issues.apache.org/jira/browse/CXF-1365
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.1
>            Reporter: Benson Margulies
>            Assignee: Sean O'Callaghan
>
> i respectfully submit that this is Too Much Information. When the java2 process gets
a class not found, it should 
> result in a simple error message and no backtrace.
> bim-1330% $CXF_HOME/bin/java2js  -cp ~/x/tip/crosslang/source/ws/demo1/bin:/home/benson/x/tip/rlp/lib_g/ia32-glibc25-gcc42/btutil.jar/home/benson/x/tip/rlp/lib_g/ia32-glibc25-gcc42/btrlpnc.jar
com.basistech.searchtools.demo1.CrossLangDemo1
> Exception in thread "main" java.lang.NoClassDefFoundError: Lcom/basistech/util/LanguageCode;
>         at java.lang.Class.getDeclaredFields0(Native Method)
>         at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
>         at java.lang.Class.getDeclaredFields(Class.java:1715)
>         at org.apache.cxf.jaxb.JAXBContextInitializer.walkReferences(JAXBContextInitializer.java:190)
>         at org.apache.cxf.jaxb.JAXBContextInitializer.addClass(JAXBContextInitializer.java:165)
>         at org.apache.cxf.jaxb.JAXBContextInitializer.addType(JAXBContextInitializer.java:129)
>         at org.apache.cxf.jaxb.JAXBContextInitializer.begin(JAXBContextInitializer.java:89)
>         at org.apache.cxf.service.ServiceModelVisitor.visitOperation(ServiceModelVisitor.java:85)
>         at org.apache.cxf.service.ServiceModelVisitor.walk(ServiceModelVisitor.ja

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