[slf4j-user] Receiving strange exception - Level number 40 is not recognized.

Jeffrey Puro jpuro at sterlingtesting.com
Wed Apr 23 22:56:28 CEST 2008


I am receiving the following stack trace when trying to use slf4j within
JBoss AS 4.0.  I am using 1.3.1 with commons logging 1.1.  I'm guessing
it has to do with some dependency issue, and perhaps an older logger
implementation.  Thanks in advance.


java.lang.IllegalStateException: Level number 40 is not recognized.
	at
org.slf4j.impl.Log4jLoggerAdapter.log(Log4jLoggerAdapter.java:421)
	at
org.apache.commons.logging.impl.SLF4JLocationAwareLog.error(SLF4JLocatio
nAwareLog.java:173)
	at
org.apache.tomcat.util.digester.Digester.startElement(Digester.java:1280
)
	at
org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at
org.apache.xerces.impl.dtd.XMLDTDValidator.startElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(U
nknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDis
patcher.dispatch(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unkno
wn Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
	at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at
org.apache.tomcat.util.digester.Digester.parse(Digester.java:1561)
	at
org.apache.catalina.startup.ContextConfig.applicationWebConfig(ContextCo
nfig.java:351)
	at
org.apache.catalina.startup.ContextConfig.start(ContextConfig.java:1041)
	at
org.apache.catalina.startup.ContextConfig.lifecycleEvent(ContextConfig.j
ava:260)
	at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSu
pport.java:119)
	at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4143
)
	at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.ja
va:759)
	at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
	at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.jav
a:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
Impl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)


This email (and any attachments) is intended only for the use of the individual or entity named above and may contain information that is privileged and confidential. If you are not the intended recipient, or have unauthorized access, you are hereby notified that copying, disseminating, distributing or taking any action in reliance on this email is strictly prohibited<br />

Opinions, conclusions and other information in this message that do not relate to the official business of our firm shall be understood as neither given nor endorsed by it.



More information about the slf4j-user mailing list