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

via nabble.com by Unknown author, 1 year ago
via Google Groups by pberg, 2 years ago
java.lang.IllegalStateException: second instance	at hudson.model.Hudson.(Hudson.java:329)	at org.jvnet.hudson.test.HudsonTestCase.newHudson(HudsonTestCase.java:158)	at org.jvnet.hudson.test.HudsonTestCase.setUp(HudsonTestCase.java:112)	at hudson.bugs.LoginRedirectTest.setUp(LoginRedirectTest.java:20)	at junit.framework.TestCase.runBare(TestCase.java:125)	at junit.framework.TestResult$1.protect(TestResult.java:106)	at junit.framework.TestResult.runProtected(TestResult.java:124)	at junit.framework.TestResult.run(TestResult.java:109)	at junit.framework.TestCase.run(TestCase.java:118)	at junit.framework.TestSuite.runTest(TestSuite.java:208)	at junit.framework.TestSuite.run(TestSuite.java:203)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)	at org.apache.maven.surefire.Surefire.run(Surefire.java:177)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)	at org.apache.maven.surefire.booter.SurefireBooter.run(SurefireBooter.java:241)	at org.apache.maven.plugin.surefire.SurefirePlugin.execute(SurefirePlugin.java:492)	at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:451)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:558)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:499)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:478)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:330)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:291)	at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:142)	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129)	at org.apache.maven.cli.MavenCli.main(MavenCli.java:287)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)	at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)	at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)	at org.codehaus.classworlds.Launcher.main(Launcher.java:375)