[logback-dev] [JIRA] Commented: (LBCLASSIC-125) NoClassDefFoundError in PackagingDataCalculator.loadClass()
Ceki Gulcu (JIRA)
noreply-jira at qos.ch
Thu May 28 21:07:11 CEST 2009
[ http://jira.qos.ch/browse/LBCLASSIC-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11123#action_11123 ]
Ceki Gulcu commented on LBCLASSIC-125:
--------------------------------------
Courtesy of Didier Besset.
WrapperSimpleApp: Encountered an error running main: java.lang.NoClassDefFoundError: org/jboss/aspects/asynch/AsynchAspect
java.lang.NoClassDefFoundError: org/jboss/aspects/asynch/AsynchAspect
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at ch.qos.logback.classic.spi.PackagingDataCalculator.loadClass(PackagingDataCalculator.java:232)
at ch.qos.logback.classic.spi.PackagingDataCalculator.bestEffortLoadClass(PackagingDataCalculator.java:251)
at ch.qos.logback.classic.spi.PackagingDataCalculator.computeBySTEP(PackagingDataCalculator.java:166)
at ch.qos.logback.classic.spi.PackagingDataCalculator.populateUncommonFrames(PackagingDataCalculator.java:141)
at ch.qos.logback.classic.spi.PackagingDataCalculator.populateFrames(PackagingDataCalculator.java:101)
at ch.qos.logback.classic.spi.PackagingDataCalculator.calculate(PackagingDataCalculator.java:61)
at ch.qos.logback.classic.spi.ThrowableProxy.calculatePackagingData(ThrowableProxy.java:50)
at ch.qos.logback.classic.pattern.ExtendedThrowableProxyConverter.prepareLoggingEvent(ExtendedThrowableProxyConverter.java:35)
at ch.qos.logback.classic.pattern.ThrowableProxyConverter.convert(ThrowableProxyConverter.java:142)
at ch.qos.logback.classic.pattern.ThrowableProxyConverter.convert(ThrowableProxyConverter.java:30)
at ch.qos.logback.core.pattern.FormattingConverter.write(FormattingConverter.java:32)
at ch.qos.logback.core.pattern.PatternLayoutBase.writeLoopOnConverters(PatternLayoutBase.java:110)
at ch.qos.logback.classic.PatternLayout.doLayout(PatternLayout.java:132)
at ch.qos.logback.classic.PatternLayout.doLayout(PatternLayout.java:51)
at ch.qos.logback.core.WriterAppender.subAppend(WriterAppender.java:280)
at ch.qos.logback.core.rolling.RollingFileAppender.subAppend(RollingFileAppender.java:131)
at ch.snip.util.logging.logback.FdpzLogBackRollingFileAppender.subAppend(FdpzLogBackRollingFileAppender.java:73)
at ch.qos.logback.core.WriterAppender.append(WriterAppender.java:119)
at ch.qos.logback.core.AppenderBase.doAppend(AppenderBase.java:79)
at ch.qos.logback.core.spi.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:60)
at ch.qos.logback.classic.Logger.appendLoopOnAppenders(Logger.java:270)
at ch.qos.logback.classic.Logger.callAppenders(Logger.java:257)
at ch.qos.logback.classic.Logger.buildLoggingEventAndAppend(Logger.java:439)
at ch.qos.logback.classic.Logger.filterAndLog_0_Or3Plus(Logger.java:393)
at ch.qos.logback.classic.Logger.error(Logger.java:576)
> NoClassDefFoundError in PackagingDataCalculator.loadClass()
> -----------------------------------------------------------
>
> Key: LBCLASSIC-125
> URL: http://jira.qos.ch/browse/LBCLASSIC-125
> Project: logback-classic
> Issue Type: Bug
> Affects Versions: 0.9.15
> Environment: jdk 1.6 (build 1.6.0_10-b33)
> jboss 4.2.2ga
> Reporter: Roland Klein
> Assignee: Logback dev list
> Attachments: Issue-LBCLASSIC-125-2.diff, Issue-LBCLASSIC-125.diff
>
>
> In an EJB Client/Server Environment the loadClass() method could fail, because the vm issues a NoClassDefFoundError. And there is no corresponding catch, so the whole logging fails and throws a NoClassDefFoundError.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev
mailing list