You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dennis Lundberg (JIRA)" <ji...@apache.org> on 2009/12/29 17:04:29 UTC

[jira] Updated: (LOGGING-58) [logging] null pointer exception in LogFactory.getLog

     [ https://issues.apache.org/jira/browse/LOGGING-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated LOGGING-58:
-----------------------------------

    Fix Version/s: 1.1.0

> [logging] null pointer exception in LogFactory.getLog
> -----------------------------------------------------
>
>                 Key: LOGGING-58
>                 URL: https://issues.apache.org/jira/browse/LOGGING-58
>             Project: Commons Logging
>          Issue Type: Bug
>    Affects Versions: 1.0.4
>         Environment: Operating System: Mac OS X 10.3
> Platform: Macintosh
>            Reporter: Donald Huebschman
>             Fix For: 1.1.0
>
>
> 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?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.