[jboss-jira] [JBoss JIRA] Created: (JBAS-7423) Make missing notifications.xml result in a clear error message/exception

Andrew Lee Rubinger (JIRA) jira-events at lists.jboss.org
Tue Nov 3 11:41:06 EST 2009


Make missing notifications.xml result in a clear error message/exception
------------------------------------------------------------------------

                 Key: JBAS-7423
                 URL: https://jira.jboss.org/jira/browse/JBAS-7423
             Project: JBoss Application Server
          Issue Type: Task
      Security Level: Public (Everyone can see)
            Reporter: Andrew Lee Rubinger


Currently the exception is null input to JBossXB:

org.jboss.xb.binding.JBossXBException: Failed to parse source: null
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
        at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
        at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:190)
        at org.jboss.jmx.adaptor.snmp.agent.TrapFactorySupport.start(TrapFactorySupport.java:154)
        at org.jboss.jmx.adaptor.snmp.agent.TrapEmitter.start(TrapEmitter.java:120)

Make a clearer error message for the user

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list