#76 getContext operation is not supported

open
nobody
None
5
2005-04-11
2005-04-11
Anonymous
No

when i used strutstest213-1.2_2.4, show stacktrace:
java.lang.UnsupportedOperationException: getContext
operation is not supported!
at
servletunit.ServletContextSimulator.getContext
(ServletContextSimulator.java:109)
at
com.dsii.eservice.productadmin.action.test.ProductActio
nTest.saveInfo(ProductActionTest.java:189)
at
com.dsii.eservice.productadmin.action.test.ProductActio
nTest.setUp(ProductActionTest.java:226)
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
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.ru
nTests(RemoteTestRunner.java:436)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.ru
n(RemoteTestRunner.java:311)
at
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.m
ain(RemoteTestRunner.java:192)

Discussion