NPE with plain text log4j file

View: New views
4 Messages — Rating Filter:   Alert me  

NPE with plain text log4j file

by Rob Moore :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm not sure if this is the appropriate forum for this but I've run into a bit of the problem with Visilog on using the WebStart client. I pointed it at one of my log files and used the following pattern:

%d{ISO8601} %t %5p %c{1}:%L - %m%n

but ran into a NPE error.

Here's the output:

Message:
    java.lang.NullPointerException
Level:
    SEVERE
Stack Trace:
null
    net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate(LogLevelThresholdEvaluator.java:32)
    net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate(LogLevelThresholdEvaluator.java:24)
    ca.odell.glazedlists.ThresholdList$ThresholdComparator.compare(ThresholdList.java:313)
    ca.odell.glazedlists.SortedList$ElementComparator.compare(SortedList.java:621)
    ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.insertIntoSubtreeInSortedOrder(SimpleTree.java:344)
    ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.addInSortedOrder(SimpleTree.java:315)
    ca.odell.glazedlists.SortedList.insertByUnsortedNode(SortedList.java:347)
    ca.odell.glazedlists.SortedList.setComparator(SortedList.java:427)
    ca.odell.glazedlists.SortedList.<init>(SortedList.java:103)
    ca.odell.glazedlists.ThresholdList.<init>(ThresholdList.java:80)
    net.sourceforge.vigilog.ui.LogFilePanel.getLogEntriesList(LogFilePanel.java:595)
    net.sourceforge.vigilog.ui.LogFilePanel.<init>(LogFilePanel.java:110)
    net.sourceforge.vigilog.ui.welcome.LoadLogFileLoaderCallable.postProcess(LoadLogFileLoaderCallable.java:50)
    net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:109)
    net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:42)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java:138)
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java:619)

Regards,

Rob

Re: NPE with plain text log4j file

by Wim Deblauwe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you file a bug report at http://sourceforge.net/tracker/?group_id=183071? Also include an example log file that uses that format, so  I can easily reproduce the problem.

thank you,

regards,

Wim

2008/1/5, Rob Moore <nabble.robmoore@...>:

I'm not sure if this is the appropriate forum for this but I've run into a
bit of the problem with Visilog on using the WebStart client. I pointed it
at one of my log files and used the following pattern:

%d{ISO8601} %t %5p %c{1}:%L - %m%n

but ran into a NPE error.

Here's the output:

Message:
    java.lang.NullPointerException
Level:
    SEVERE
Stack Trace:
null

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate (LogLevelThresholdEvaluator.java:32)

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate(LogLevelThresholdEvaluator.java:24)

ca.odell.glazedlists.ThresholdList$ThresholdComparator.compare(ThresholdList.java :313)

ca.odell.glazedlists.SortedList$ElementComparator.compare(SortedList.java:621)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.insertIntoSubtreeInSortedOrder(SimpleTree.java:344)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.addInSortedOrder (SimpleTree.java:315)

ca.odell.glazedlists.SortedList.insertByUnsortedNode(SortedList.java:347)
    ca.odell.glazedlists.SortedList.setComparator(SortedList.java:427)
    ca.odell.glazedlists.SortedList.<init>( SortedList.java:103)
    ca.odell.glazedlists.ThresholdList.<init>(ThresholdList.java:80)

net.sourceforge.vigilog.ui.LogFilePanel.getLogEntriesList(LogFilePanel.java:595)
    net.sourceforge.vigilog.ui.LogFilePanel .<init>(LogFilePanel.java:110)

net.sourceforge.vigilog.ui.welcome.LoadLogFileLoaderCallable.postProcess(LoadLogFileLoaderCallable.java:50)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java :109)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:42)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java :138)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java :619)

Regards,

Rob
--
View this message in context: http://www.nabble.com/NPE-with-plain-text-log4j-file-tp14636745p14636745.html
Sent from the Vigilog - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user

Re: NPE with plain text log4j file

by Wim Deblauwe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Hi Rob,

I've found the bug. I will update the webstart version on http://vigilog.sf.net/staging to test it, but currently sourceforge is very uncoperative :(

regards,

Wim

2008/1/6, Wim Deblauwe <wim.deblauwe@...>:
Can you file a bug report at http://sourceforge.net/tracker/?group_id=183071? Also include an example log file that uses that format, so  I can easily reproduce the problem.

thank you,

regards,

Wim

2008/1/5, Rob Moore <nabble.robmoore@...>:

I'm not sure if this is the appropriate forum for this but I've run into a
bit of the problem with Visilog on using the WebStart client. I pointed it
at one of my log files and used the following pattern:

%d{ISO8601} %t %5p %c{1}:%L - %m%n

but ran into a NPE error.

Here's the output:

Message:
    java.lang.NullPointerException
Level:
    SEVERE
Stack Trace:
null

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate (LogLevelThresholdEvaluator.java:32)

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate(LogLevelThresholdEvaluator.java:24)

ca.odell.glazedlists.ThresholdList$ThresholdComparator.compare( ThresholdList.java :313)

ca.odell.glazedlists.SortedList$ElementComparator.compare(SortedList.java:621)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.insertIntoSubtreeInSortedOrder(SimpleTree.java:344)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.addInSortedOrder (SimpleTree.java:315)

ca.odell.glazedlists.SortedList.insertByUnsortedNode(SortedList.java:347)
    ca.odell.glazedlists.SortedList.setComparator(SortedList.java:427)
    ca.odell.glazedlists.SortedList.<init>( SortedList.java:103)
    ca.odell.glazedlists.ThresholdList.<init>(ThresholdList.java:80)

net.sourceforge.vigilog.ui.LogFilePanel.getLogEntriesList(LogFilePanel.java:595)
    net.sourceforge.vigilog.ui.LogFilePanel .<init>(LogFilePanel.java:110)

net.sourceforge.vigilog.ui.welcome.LoadLogFileLoaderCallable.postProcess(LoadLogFileLoaderCallable.java:50)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java :109)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:42)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java :138)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java :619)

Regards,

Rob
--
View this message in context: http://www.nabble.com/NPE-with-plain-text-log4j-file-tp14636745p14636745.html
Sent from the Vigilog - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user

Re: NPE with plain text log4j file

by Wim Deblauwe :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
It is ok now.

2008/1/8, Wim Deblauwe <wim.deblauwe@...>:
Hi Rob,

I've found the bug. I will update the webstart version on http://vigilog.sf.net/staging to test it, but currently sourceforge is very uncoperative :(

regards,

Wim

2008/1/6, Wim Deblauwe <wim.deblauwe@...>:
Can you file a bug report at http://sourceforge.net/tracker/?group_id=183071? Also include an example log file that uses that format, so  I can easily reproduce the problem.

thank you,

regards,

Wim

2008/1/5, Rob Moore <nabble.robmoore@...>:

I'm not sure if this is the appropriate forum for this but I've run into a
bit of the problem with Visilog on using the WebStart client. I pointed it
at one of my log files and used the following pattern:

%d{ISO8601} %t %5p %c{1}:%L - %m%n

but ran into a NPE error.

Here's the output:

Message:
    java.lang.NullPointerException
Level:
    SEVERE
Stack Trace:
null

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate (LogLevelThresholdEvaluator.java:32)

net.sourceforge.vigilog.ui.filter.LogLevelThresholdEvaluator.evaluate(LogLevelThresholdEvaluator.java:24)

ca.odell.glazedlists.ThresholdList$ThresholdComparator.compare( ThresholdList.java :313)

ca.odell.glazedlists.SortedList$ElementComparator.compare(SortedList.java:621)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.insertIntoSubtreeInSortedOrder(SimpleTree.java:344)

ca.odell.glazedlists.impl.adt.barcode2.SimpleTree.addInSortedOrder (SimpleTree.java:315)

ca.odell.glazedlists.SortedList.insertByUnsortedNode(SortedList.java:347)
    ca.odell.glazedlists.SortedList.setComparator(SortedList.java:427)
    ca.odell.glazedlists.SortedList.<init>( SortedList.java:103)
    ca.odell.glazedlists.ThresholdList.<init>(ThresholdList.java:80)

net.sourceforge.vigilog.ui.LogFilePanel.getLogEntriesList(LogFilePanel.java:595)
    net.sourceforge.vigilog.ui.LogFilePanel .<init>(LogFilePanel.java:110)

net.sourceforge.vigilog.ui.welcome.LoadLogFileLoaderCallable.postProcess(LoadLogFileLoaderCallable.java:50)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java :109)

net.sourceforge.vigilog.ui.LogFileLoaderCallable.call(LogFileLoaderCallable.java:42)
    java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    java.util.concurrent.FutureTask.run(FutureTask.java :138)

java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885)

java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
    java.lang.Thread.run(Thread.java :619)

Regards,

Rob
--
View this message in context: http://www.nabble.com/NPE-with-plain-text-log4j-file-tp14636745p14636745.html
Sent from the Vigilog - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester



--
Vigilog - an open source log file viewer: http://vigilog.sourceforge.net
Blog: http://www.jroller.com/page/Fester
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Vigilog-user mailing list
Vigilog-user@...
https://lists.sourceforge.net/lists/listinfo/vigilog-user
LightInTheBox - Buy quality products at wholesale price!