java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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.
    via by lacostej,
  • Jenkins dev - Hudson Build Problem
    via by Unknown author,
  • 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.
    via by lacostej,
  • Example HtmlUnit Test Failing
    via Stack Overflow by empire29
    ,
    • java.lang.NullPointerException: No document element (about:blank) at com.gargoylesoftware.htmlunit.html.HtmlPage.executeEventHandlersIfNeeded(HtmlPage.java:1153) at com.gargoylesoftware.htmlunit.html.HtmlPage.isOnbeforeunloadAccepted(HtmlPage.java:2072) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:281) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPageIfPossible(BaseFrame.java:141) at com.gargoylesoftware.htmlunit.html.BaseFrame.loadInnerPage(BaseFrame.java:100) at com.gargoylesoftware.htmlunit.html.HtmlPage.loadFrames(HtmlPage.java:1763) at com.gargoylesoftware.htmlunit.html.HtmlPage.initialize(HtmlPage.java:204) at com.gargoylesoftware.htmlunit.WebClient.loadWebResponseInto(WebClient.java:436) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:307) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:369) at com.gargoylesoftware.htmlunit.WebClient.getPage(WebClient.java:354)
    No Bugmate found.