cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Mazza (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1365) Too much error message for missing class in java2 tools
Date Wed, 09 Jan 2008 01:30:33 GMT

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

Glen Mazza commented on CXF-1365:
---------------------------------

This is JDK-specific, no?  Shouldn't you be sending this to the Sun JDK JIRA (assuming there
is one)?  At any rate, the stack trace is what one gets with most (all?) other Java apps when
a  NCDFE or similar runtime exception occurs.


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