You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Beleznay, Dave" <Da...@webct.com> on 2003/02/04 07:09:14 UTC

chainsaw not reading XMLLayout log file

When I try to load up the following logfile with chainsaw I keep getting null pointer exceptions..

<log4j:event category="com.webct.platform.framework.ejb.JMSBase" timestamp="1044335246660" level="ERROR" thread="Thread-7"> <log4j:message><![CDATA[CLASS: com.webct.platform.framework.ejb.JMSBase METHOD: tryConnecting
Successfully connected after try #0]]></log4j:message> </log4j:event>  
<log4j:event category="com.webct.platform.tools.help.startup.HelpStartup" timestamp="1044335248707" level="ERROR" thread="Thread-12"> <log4j:message><![CDATA[CLASS: com.webct.platform.tools.help.startup.HelpStartup METHOD: registerAllLocaleHelpFiles
Couldn't get setting from sms for product/locale]]></log4j:message> </log4j:event>  
<log4j:event category="com.webct.platform.framework.ifscontext.ContextMgr" timestamp="1044335279285" level="ERROR" thread="ExecuteThread: '24' for queue: 'PrimaryExecuteQueue'"> <log4j:message><![CDATA[CLASS: com.webct.platform.framework.ifscontext.ContextMgr METHOD: SessionHolder Default Constructor
Created Session Holder DaveBeleznay-1044335279285-1]]></log4j:message> </log4j:event>

The exception is as follows:

E:\development\jakarta-log4j-1.2.7\dist\lib>java -cp log4j-1.2.7.jar;..\..\..\xe
rces-1_4_4\xerces.jar org.apache.log4j.chainsaw.Main
[main] DEBUG org.apache.log4j.chainsaw.MyTableModel - Total time [ms]: 0 in update, size: 0
[Thread-3] INFO org.apache.log4j.chainsaw.LoggingReceiver - Thread started
[Thread-3] DEBUG org.apache.log4j.chainsaw.LoggingReceiver - Waiting for a connection
[AWT-EventQueue-0] INFO org.apache.log4j.chainsaw.LoadXMLAction - load file called
[AWT-EventQueue-0] INFO org.apache.log4j.chainsaw.LoadXMLAction - Need to load a file
[AWT-EventQueue-0] INFO org.apache.log4j.chainsaw.LoadXMLAction - loading the contents of C:\smallwebct.log
java.lang.NullPointerException
        at org.apache.log4j.chainsaw.MyTableModel.matchFilter(MyTableModel.java:
363)
        at org.apache.log4j.chainsaw.MyTableModel.access$400(MyTableModel.java:2
7)
        at org.apache.log4j.chainsaw.MyTableModel$Processor.run(MyTableModel.jav
a:88)
        at java.lang.Thread.run(Unknown Source)

Am I doing something wrong?  the application that is making the logfile is using log4j version 1.2.7 and I'm trying to use xerces 1.4.4 to parse the file. 

any help would be appreciated.

Cheers,

Dave

--
David Beleznay
Software Engineer
WebCT

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org