Details

      Description

      The logmanager is throwing a NPE when a null message is logged. The following line from com.sun.faces.facelets.impl.DefaultFaceletFactory seems to be the cause:

        log.log(Level.SEVERE, null, ex);
      

      Here's the stack trace:

      07:59:57,339 ERROR [stderr] (http--127.0.0.1-8080-2) java.util.logging.ErrorManager: 5: Formatting error
      07:59:57,340 ERROR [stderr] (http--127.0.0.1-8080-2) java.lang.NullPointerException
      07:59:57,340 ERROR [stderr] (http--127.0.0.1-8080-2) 	at java.util.PropertyResourceBundle.handleGetObject(PropertyResourceBundle.java:136)
      07:59:57,341 ERROR [stderr] (http--127.0.0.1-8080-2) 	at java.util.ResourceBundle.getObject(ResourceBundle.java:368)
      07:59:57,341 ERROR [stderr] (http--127.0.0.1-8080-2) 	at java.util.ResourceBundle.getString(ResourceBundle.java:334)
      07:59:57,341 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.ExtLogRecord.formatRecord(ExtLogRecord.java:366)
      07:59:57,342 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.ExtLogRecord.getFormattedMessage(ExtLogRecord.java:344)
      07:59:57,342 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.formatters.Formatters$10.renderRaw(Formatters.java:357)
      07:59:57,342 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.formatters.Formatters$JustifyingFormatStep.render(Formatters.java:148)
      07:59:57,343 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.formatters.MultistepFormatter.format(MultistepFormatter.java:86)
      07:59:57,343 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.ExtFormatter.format(ExtFormatter.java:35)
      07:59:57,344 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.handlers.WriterHandler.doPublish(WriterHandler.java:49)
      07:59:57,344 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.ExtHandler.publish(ExtHandler.java:64)
      07:59:57,344 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:283)
      07:59:57,345 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,345 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,346 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,346 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,346 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,347 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,355 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.LoggerNode.publish(LoggerNode.java:291)
      07:59:57,358 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.Logger.logRaw(Logger.java:649)
      07:59:57,358 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.logmanager.Logger.log(Logger.java:467)
      07:59:57,359 ERROR [stderr] (http--127.0.0.1-8080-2) 	at com.sun.faces.facelets.impl.DefaultFaceletFactory.<init>(DefaultFaceletFactory.java:176)
      07:59:57,359 ERROR [stderr] (http--127.0.0.1-8080-2) 	at com.sun.faces.facelets.impl.DefaultFaceletFactory.<init>(DefaultFaceletFactory.java:119)
      07:59:57,361 ERROR [stderr] (http--127.0.0.1-8080-2) 	at org.jboss.seam.debug.jsf2.SeamDebugPhaseListener.beforePhase(SeamDebugPhaseListener.java:55)
      

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jamezp James Perkins
                  Reporter:
                  shane.bryzak Shane Bryzak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: