java.lang.NullPointerException

htmlunit | kkawa | 6 years 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

    Jenkins dev - Hudson Build Problem

    nabble.com | 9 months ago
    java.lang.NullPointerException
  2. 0

    See http://coffeebreaks.virtual.vps-host.net:8082/job/jenkins-mvn3-lacostej-master/org.jenkins-ci.main$jenkins-test-harness/13/testReport/junit/hudson.util/FormFieldValidatorTest/testNegative/ Happened in different run of the build. {code} java.lang.NullPointerException at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1786) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:169) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1519) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:297) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I don't see this stacktrace anywhere on the net. Will add some code to see what's going on and not fail the build in that case.

    Jenkins JIRA | 6 years ago | lacostej
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    See http://coffeebreaks.virtual.vps-host.net:8082/job/jenkins-mvn3-lacostej-master/org.jenkins-ci.main$jenkins-test-harness/13/testReport/junit/hudson.util/FormFieldValidatorTest/testNegative/ Happened in different run of the build. {code} java.lang.NullPointerException at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1786) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:169) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374) at org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1519) at org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:297) at org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:226) at com.sun.maven.junit.LocalTestCaseRunner.runTests(LocalTestCaseRunner.java:113) at com.sun.maven.junit.LocalTestCaseRunner.runTestCase(LocalTestCaseRunner.java:56) at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:274) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:255) at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:215) at hudson.remoting.UserRequest.perform(UserRequest.java:104) at hudson.remoting.UserRequest.perform(UserRequest.java:48) at hudson.remoting.Request$2.run(Request.java:250) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662) {code} I don't see this stacktrace anywhere on the net. Will add some code to see what's going on and not fail the build in that case.

    Jenkins JIRA | 6 years ago | lacostej
    java.lang.NullPointerException
  5. 0

    HtmlUnit getPage() throws a NullPointerException

    Stack Overflow | 2 years ago | GreenGodot
    java.lang.NullPointerException

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames()
    2. HtmlUnit
      WebClient.getPage
      1. com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1786)
      2. com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:169)
      3. com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:456)
      4. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:332)
      5. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:389)
      6. com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:374)
      6 frames
    3. Hudson :: Test Framework
      HudsonTestCase.tearDown
      1. org.jvnet.hudson.test.HudsonTestCase$WebClient.getPage(HudsonTestCase.java:1634)
      2. org.jvnet.hudson.test.HudsonTestCase.tearDown(HudsonTestCase.java:351)
      2 frames
    4. JUnit
      TestCase.runBare
      1. junit.framework.TestCase.runBare(TestCase.java:140)
      1 frame
    5. Hudson :: Test Framework
      HudsonTestCase.runBare
      1. org.jvnet.hudson.test.HudsonTestCase.runBare(HudsonTestCase.java:278)
      1 frame
    6. JUnit
      TestSuite.run
      1. junit.framework.TestResult$1.protect(TestResult.java:110)
      2. junit.framework.TestResult.runProtected(TestResult.java:128)
      3. junit.framework.TestResult.run(TestResult.java:113)
      4. junit.framework.TestCase.run(TestCase.java:124)
      5. junit.framework.TestSuite.runTest(TestSuite.java:243)
      6. junit.framework.TestSuite.run(TestSuite.java:238)
      6 frames