Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

java.lang.NullPointerException: 	at sample_google.testsample_google(sample_google.java:45)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)	at java.lang.reflect.Method.invoke(Unknown Source)	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:86)	at org.testng.internal.Invoker.invokeMethod(Invoker.java:643)	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:820)	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1128)	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:129)	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)	at org.testng.TestRunner.privateRun(TestRunner.java:782)	at org.testng.TestRunner.run(TestRunner.java:632)	at org.testng.SuiteRunner.runTest(SuiteRunner.java:366)	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:361)	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:319)	at org.testng.SuiteRunner.run(SuiteRunner.java:268)	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1244)	at org.testng.TestNG.runSuitesLocally(TestNG.java:1169)	at org.testng.TestNG.run(TestNG.java:1064)	at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)	at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:152)	at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:57)