[jboss-jira] [JBoss JIRA] Created: (LOGMGR-32) NPE in Formatters

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Tue Sep 27 02:10:26 EDT 2011


NPE in Formatters
-----------------

                 Key: LOGMGR-32
                 URL: https://issues.jboss.org/browse/LOGMGR-32
             Project: JBoss Log Manager
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 1.2.0.GA
            Reporter: Stuart Douglas
            Assignee: David Lloyd


In Formatters on line 452 there is a line:

exceptionClass.getProtectionDomain().getCodeSource().getLocation()

which can cause a NPE. This NPE then gets swallowed by:

catch (Throwable t) {
                        // ignore
                    }

This makes is extremely difficult to set a NPE breakpoint when debugging, as it keeps getting tripped by there spurious exceptions.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list