hudson.util.HudsonFailedToLoad: java.lang.NullPointerException

Jenkins JIRA | S P | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    My environment is like this -------------------------------------- WebSphere [IBMJAVA7 7.0.9.10 cf071533.01][IBMJAVA71 7.1.3.10 cf071533.01]Platform 8.5.5.7 [ND 8.5.5.7 cf071533.01][HV 1.0.0.7 v10_1542.01][WXS 8.6.0.8 cf81524.11194957] Host Operating System is AIX, version 7.1 Java version = 1.7.0, Java Runtime Version = pap6470sr9fp10-20150708_01 (SR9 FP10), Java Compiler = j9jit26, Java VM name = IBM J9 VM was.install.root = /opt/IBM/WebSphere/AppServer user.install.root = /opt/IBM/WebSphere/Profiles/DefaultAppSrv01 Java Home = /opt/IBM/WebSphere/AppServer/java_1.7_64/jre -- Unable to start the application and is failing with following errors... 8/29/16 13:50:11:264 CDT] 000000a9 webapp E com.ibm.ws.webcontainer.webapp.WebGroupImpl WebGroup SRVE0015E: Failure to initialize Web application Jenkins v2.19 [8/29/16 13:50:11:270 CDT] 000000da BootFailure E Failed to initialize Jenkins hudson.util.HudsonFailedToLoad: java.lang.NullPointerException at hudson.WebAppMain$3.run(WebAppMain.java:244) Caused by: java.lang.NullPointerException at com.ibm.ws.webcontainer.webapp.WebApp.getInitParameter(WebApp.java:2789) at com.ibm.wsspi.webcontainer.facade.ServletContextFacade.getInitParameter(ServletContextFacade.java:264) at jenkins.util.SystemProperties.tryGetValueFromContext(SystemProperties.java:320) at jenkins.util.SystemProperties.getString(SystemProperties.java:119) at jenkins.util.SystemProperties.getInteger(SystemProperties.java:256) at jenkins.model.Jenkins.<init>(Jenkins.java:599) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) [8/29/16 13:50:11:277 CDT] 000000a9 DeployedAppli W WSVR0206E: Module, jenkins.war, of application, jenkins_war.ear/deployments/jenkins_war, failed to start [8/29/16 13:50:11:281 CDT] 000000a9 ApplicationMg W WSVR0101W: An error occurred starting, jenkins_war [8/29/16 13:50:11:282 CDT] 000000a9 ApplicationMg A WSVR0217I: Stopping application: jenkins_war [8/29/16 13:50:11:308 CDT] 000000a9 ApplicationMg A WSVR0220I: Application stopped: jenkins_war [8/29/16 13:50:11:311 CDT] 000000a9 CompositionUn E WSVR0194E: Composition unit WebSphere:cuname=jenkins_war in BLA WebSphere:blaname=jenkins_war failed to start. [8/29/16 13:50:11:312 CDT] 000000a9 MBeanHelper E Could not invoke an operation on object: WebSphere:name=ApplicationManager,process=server1,platform=proxy,node=CloudBurstNode_11472230251975,version=8.5.5.7,type=ApplicationManager,mbeanIdentifier=ApplicationManager,cell=CloudBurstCell_11472230251975,spec=1.0 because of an mbean exception: com.ibm.ws.exception.RuntimeWarning: com.ibm.ws.webcontainer.exception.WebAppNotLoadedException: Failed to load webapp: Failed to load webapp: SRVE8111E: The application, jenkins_war, is trying to modify a cookie which matches a pattern in the restricted programmatic session cookies list [domain=*, name=JSESSIONID, path=/]. Thanks in advance..

    Jenkins JIRA | 6 months ago | S P
    hudson.util.HudsonFailedToLoad: java.lang.NullPointerException

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.ibm.ws.webcontainer.webapp.WebApp.getInitParameter()
    2. WebSphere
      WebApp.getInitParameter
      1. com.ibm.ws.webcontainer.webapp.WebApp.getInitParameter(WebApp.java:2789)
      1 frame
    3. com.ibm.wsspi
      ServletContextFacade.getInitParameter
      1. com.ibm.wsspi.webcontainer.facade.ServletContextFacade.getInitParameter(ServletContextFacade.java:264)
      1 frame
    4. jenkins.util
      SystemProperties.getInteger
      1. jenkins.util.SystemProperties.tryGetValueFromContext(SystemProperties.java:320)
      2. jenkins.util.SystemProperties.getString(SystemProperties.java:119)
      3. jenkins.util.SystemProperties.getInteger(SystemProperties.java:256)
      3 frames
    5. jenkins.model
      Jenkins.<init>
      1. jenkins.model.Jenkins.<init>(Jenkins.java:599)
      1 frame
    6. Hudson
      WebAppMain$3.run
      1. hudson.model.Hudson.<init>(Hudson.java:85)
      2. hudson.model.Hudson.<init>(Hudson.java:81)
      3. hudson.WebAppMain$3.run(WebAppMain.java:227)
      3 frames