NPE in log4j on WindowsXP PRO
----------------------------- Key: OFBIZ-1081 URL: https://issues.apache.org/jira/browse/OFBIZ-1081 Project: OFBiz Issue Type: Bug Components: framework Affects Versions: SVN trunk Environment: affected sys:WindowsXP PRO (on Suse Linux works fine) Reporter: Krzysztof Podejma Priority: Minor Fix For: SVN trunk, Release Branch 4.0 no crash just this exception Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException at java.lang.String.lastIndexOf(String.java:1824) at java.lang.String.lastIndexOf(String.java:1806) at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:119) at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578) at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
[ https://issues.apache.org/jira/browse/OFBIZ-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Krzysztof Podejma updated OFBIZ-1081: ------------------------------------- Description: no crash just this exception happens on startup Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException at java.lang.String.lastIndexOf(String.java:1824) at java.lang.String.lastIndexOf(String.java:1806) at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:119) at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578) at java.lang.Thread.run(Thread.java:619) was: no crash just this exception Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException at java.lang.String.lastIndexOf(String.java:1824) at java.lang.String.lastIndexOf(String.java:1806) at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:119) at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483) at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578) at java.lang.Thread.run(Thread.java:619) > NPE in log4j on WindowsXP PRO > ----------------------------- > > Key: OFBIZ-1081 > URL: https://issues.apache.org/jira/browse/OFBIZ-1081 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: affected sys:WindowsXP PRO (on Suse Linux works fine) > Reporter: Krzysztof Podejma > Priority: Minor > Fix For: SVN trunk, Release Branch 4.0 > > > no crash just this exception > happens on startup > Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException > at java.lang.String.lastIndexOf(String.java:1824) > at java.lang.String.lastIndexOf(String.java:1806) > at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:119) > at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) > at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483) > at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) > at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) > at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) > at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) > at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) > at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) > at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
In reply to this post by Nicolas Malin (Jira)
[ https://issues.apache.org/jira/browse/OFBIZ-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Scott Gray closed OFBIZ-1081. ----------------------------- Resolution: Duplicate This appears to be a duplicate of OFBIZ-1065 > NPE in log4j on WindowsXP PRO > ----------------------------- > > Key: OFBIZ-1081 > URL: https://issues.apache.org/jira/browse/OFBIZ-1081 > Project: OFBiz > Issue Type: Bug > Components: framework > Affects Versions: SVN trunk > Environment: affected sys:WindowsXP PRO (on Suse Linux works fine) > Reporter: Krzysztof Podejma > Priority: Minor > Fix For: SVN trunk, Release Branch 4.0 > > > no crash just this exception > happens on startup > Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException > at java.lang.String.lastIndexOf(String.java:1824) > at java.lang.String.lastIndexOf(String.java:1806) > at org.apache.log4j.spi.LocationInfo.<init>(LocationInfo.java:119) > at org.apache.log4j.spi.LoggingEvent.getLocationInformation(LoggingEvent.java:191) > at org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(PatternParser.java:483) > at org.apache.log4j.helpers.PatternConverter.format(PatternConverter.java:64) > at org.apache.log4j.PatternLayout.format(PatternLayout.java:503) > at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301) > at org.apache.log4j.WriterAppender.append(WriterAppender.java:159) > at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230) > at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders(AppenderAttachableImpl.java:65) > at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578) > at java.lang.Thread.run(Thread.java:619) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online. |
Free forum by Nabble | Edit this page |