0 Replies Latest reply on Aug 27, 2014 8:00 AM by John Dev

    ERROR [org.apache.catalina.core] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) JBWEB001081: Error invoking periodic operation: java.lang.NumberFormatException: null  exception in server log

    John Dev Newbie

      Hi,

      I am using JBoss eap 7, i found the below exception in server log

       

      Exception:

      ERROR [org.apache.catalina.core] (ContainerBackgroundProcessor[StandardEngine[jboss.web]]) JBWEB001081: Error invoking periodic operation: java.lang.NumberFormatException: null

      at java.lang.Integer.parseInt(Integer.java:454) [rt.jar:1.7.0_51]

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.sendRequest(DefaultMCMPHandler.java:672)

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:370)

      at org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler.status(DefaultMCMPHandler.java:350)

      at org.jboss.modcluster.ModClusterService.status(ModClusterService.java:458)

      at org.jboss.modcluster.container.catalina.CatalinaEventHandlerAdapter.lifecycleEvent(CatalinaEventHandlerAdapter.java:249)

      at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:115) [jbossweb-7.3.1.Final-redhat-1.jar:7.3.1.Final-redhat-1]

      at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1323) [jbossweb-7.3.1.Final-redhat-1.jar:7.3.1.Final-redhat-1]

      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1588) [jbossweb-7.3.1.Final-redhat-1.jar:7.3.1.Final-redhat-1]

      at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1574) [jbossweb-7.3.1.Final-redhat-1.jar:7.3.1.Final-redhat-1]

      at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

       

       

      Analysis:

      As per the JBoss modcluster ‘DefaultMCMPHandler.java’ (org.jboss.modcluster/modcluster/1.1.0.CR1/org.jboss.modcluster.mcmp.impl.DefaultMCMPHandler) implementation, in sendRequest method we have this code snippet block where the exception is occurring,

      try

      {

      int spaceIndex = line.indexOf(' ');

      String responseStatus = line.substring(spaceIndex + 1, line.indexOf(' ', spaceIndex + 1));

      status = Integer.parseInt(responseStatus);

      line = reader.readLine();

       

      Could you help me understandig the issue?