Bugs item #1180383, was opened at 2005-04-11 00:34
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1180383&group_id=119783
Category: core
Group: 1.0.0-rc1
Status: Open
Resolution: None
Priority: 9
Submitted By: Martijn Dashorst (dashorst)
Assigned to: Nobody/Anonymous (nobody)
Summary: NPE in unittest (MockWebApplicationTest.testClickLink())
Initial Comment:
javax.servlet.ServletException: Internal Error: Could
not redirect to exception error page. Was trying to
display exception for page null:
java.lang.NullPointerException
at wicket.PageState.<init>(PageState.java:31)
at wicket.Page$2.<init>(Page.java:384)
at wicket.Page.newPageState(Page.java:384)
at wicket.Session.newPageState(Session.java:590)
at wicket.Session.replicate(Session.java:726)
at wicket.Session.access$0(Session.java:723)
at wicket.Session$3.page(Session.java:499)
at wicket.PageMap.visitPages(PageMap.java:215)
at wicket.Session$2.pageMap(Session.java:493)
at wicket.Session.visitPageMaps(Session.java:647)
at wicket.Session.updateCluster(Session.java:489)
at
wicket.protocol.http.WebSession.updateCluster(WebSession.java:97)
at
wicket.RequestCycle.internalOnEndRequest(RequestCycle.java:466)
at wicket.RequestCycle.request(RequestCycle.java:365)
at
wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:216)
at
wicket.protocol.http.MockWebApplicationTest.testClickLink(MockWebApplicationTest.java:83)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)
at
wicket.RequestCycle.onRuntimeException(RequestCycle.java:533)
at wicket.RequestCycle.request(RequestCycle.java:371)
at
wicket.protocol.http.MockWebApplication.processRequestCycle(MockWebApplication.java:216)
at
wicket.protocol.http.MockWebApplicationTest.testClickLink(MockWebApplicationTest.java:83)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:474)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:342)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:194)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=684975&aid=1180383&group_id=119783
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Wicket-develop mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-develop