commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 33221] New: - null pointer exception in LogFactory.getLog
Date Mon, 24 Jan 2005 15:47:33 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=33221>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=33221

           Summary: null pointer exception in LogFactory.getLog
           Product: Commons
           Version: 1.0.4
          Platform: Macintosh
        OS/Version: Mac OS X 10.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Logging
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dhuebsch@mac.com


In running the LoggingTrial example from the book "Pro Jakarta Commons" by Oak from Apress
on 
MacOSX 10.3.7, java version "1.4.2_05-141.3", I get the following error:

run_example:
     [java] Exception in thread "main" org.apache.commons.logging.LogConfigurationException:

org.apache.commons.logging.LogConfigurationException: java.lang.NullPointerException (Caused
by 
java.lang.NullPointerException) (Caused by org.apache.commons.logging.LogConfigurationException:

java.lang.NullPointerException (Caused by java.lang.NullPointerException))
     [java]     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
     [java]     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
     [java]     at org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
     [java]     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
     [java]     at com.commonsbook.chap3.LoggingTrial.main(LoggingTrial.java:8)
     [java] Caused by: org.apache.commons.logging.LogConfigurationException: 
java.lang.NullPointerException (Caused by java.lang.NullPointerException)
     [java]     at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
     [java]     at org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
     [java]     ... 4 more
     [java] Caused by: java.lang.NullPointerException
     [java]     at 
org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:374)
     [java]     ... 5 more

Up to this point everything in the book worked. I doubt user error. MacOSX java implementation?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message