You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2009/09/28 15:41:14 UTC
DO NOT REPLY [Bug 47912] New: Jul bridge for Log4J Crash.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47912
Summary: Jul bridge for Log4J Crash.
Product: Log4j
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Other
AssignedTo: log4j-dev@logging.apache.org
ReportedBy: adrian.stanila@visma.com
Created an attachment (id=24321)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=24321)
retrun of getLoggerName validation
getLoggerName() function from java.util.logging.LogRecord it can return Null as
specified in documentation:
http://java.sun.com/j2se/1.4.2/docs/api/java/util/logging/LogRecord.html#getLoggerName%28%29
return of getLoggerName is not verified in JULLog4jEventConverter.java and
JULBridgeHandler.java
Patch attached.
Regards
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 47912] Jul to log4j bridge Crash.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47912
Adrian Stanila <ad...@visma.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Jul bridge for Log4J Crash. |Jul to log4j bridge Crash.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 47912] Jul bridge for Log4J Crash.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47912
--- Comment #1 from Adrian Stanila <ad...@visma.com> 2009-09-28 10:20:33 PDT ---
It's generating the following exception:
java.lang.NullPointerException
at org.apache.log4j.CategoryKey.<init>(CategoryKey.java:32)
at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:266)
at org.apache.log4j.Hierarchy.getLogger(Hierarchy.java:247)
at
org.apache.logging.julbridge.JULLog4jEventConverter.convert(JULLog4jEventConverter.java:121)
at
org.apache.logging.julbridge.JULBridgeHandler.publish(JULBridgeHandler.java:49)
at java.util.logging.Logger.log(Logger.java:458)
at java.util.logging.Logger.doLog(Logger.java:480)
at java.util.logging.Logger.log(Logger.java:503)
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 47912] Jul bridge for Log4J Crash.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47912
Adrian Stanila <ad...@visma.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #24321|retrun of getLoggerName |return of getLoggerName
description|validation |validation
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org
DO NOT REPLY [Bug 47912] Jul to log4j bridge Crash.
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=47912
Scott Deboy <sd...@iname.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #2 from Scott Deboy <sd...@iname.com> 2009-10-03 15:33:04 PDT ---
Patch applied to svn trunk in r821436.
Thanks Adrian
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org