Return-Path: Delivered-To: apmail-cxf-issues-archive@www.apache.org Received: (qmail 16900 invoked from network); 3 Sep 2008 16:58:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Sep 2008 16:58:05 -0000 Received: (qmail 72521 invoked by uid 500); 3 Sep 2008 16:58:03 -0000 Delivered-To: apmail-cxf-issues-archive@cxf.apache.org Received: (qmail 72506 invoked by uid 500); 3 Sep 2008 16:58:03 -0000 Mailing-List: contact issues-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list issues@cxf.apache.org Received: (qmail 72495 invoked by uid 99); 3 Sep 2008 16:58:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 09:58:03 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Sep 2008 16:57:13 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 632CE234C1CA for ; Wed, 3 Sep 2008 09:57:44 -0700 (PDT) Message-ID: <1462551944.1220461064405.JavaMail.jira@brutus> Date: Wed, 3 Sep 2008 09:57:44 -0700 (PDT) From: "Sean O'Callaghan (JIRA)" To: issues@cxf.apache.org Subject: [jira] Issue Comment Edited: (CXF-1365) Too much error message for missing class in java2 tools MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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.