Does the test still succeed? I don't see an error in the output below.
There is the following open issue:

http://issues.appfuse.org/browse/APF-804

Matt

On Thu, Sep 18, 2008 at 9:54 AM, overseastars <[EMAIL PROTECTED]> wrote:
>
> Hi Matt
>
> I finished that QuickStart. And I just follow that page to go to that
> official tutorial like the following. At least I succeeded in the step 1 and
> 2.
>   1.  Create a Person Entity.
>   2. Create a PersonDao in Hibernate, iBATIS or JPA.
>   3. Create a PersonManager to act as a service facade to PersonDao.
>   4. Create the web tier using JSF, Struts 2, Spring MVC or Tapestry.
>
> Because that PersonActionTest always has the following problems. So I cant
> get the result.
>
> Running org.saascentral.app.webapp.action.CategoryActionTest
> INFO - AbstractSingleSpringContextTests.loadContextLocations(210) | Loading
> context for locations:
> classpath:/applicationContext-resources.xml,classpath:/applicationContext-dao.xml,classpath:/applicationContext-service.xml,classpath*:/applicationContext.xml,/WEB-INF/applicationContext*.xml
> ERROR - XWorkConverter.loadConversionProperties(784) | Conversion
> registration error
> java.lang.NullPointerException
>        at
> com.opensymphony.xwork2.util.XWorkConverter.createTypeConverter(XWorkConverter.java:760)
>        at
> com.opensymphony.xwork2.util.XWorkConverter.loadConversionProperties(XWorkConverter.java:778)
>        at
> com.opensymphony.xwork2.util.XWorkConverter.<init>(XWorkConverter.java:183)
>        at
> com.opensymphony.xwork2.util.XWorkConverter.getInstance(XWorkConverter.java:207)
>        at
> com.opensymphony.xwork2.util.OgnlValueStack.setRoot(OgnlValueStack.java:340)
>        at
> com.opensymphony.xwork2.util.OgnlValueStack.<init>(OgnlValueStack.java:84)
>        at
> com.opensymphony.xwork2.util.OgnlValueStackFactory.createValueStack(OgnlValueStackFactory.java:14)
>        at
> com.opensymphony.xwork2.ActionContext$ActionContextThreadLocal.initialValue(ActionContext.java:329)
>        at 
> java.lang.ThreadLocal$ThreadLocalMap.getAfterMiss(ThreadLocal.java:374)
>        at java.lang.ThreadLocal$ThreadLocalMap.get(ThreadLocal.java:347)
>        at 
> java.lang.ThreadLocal$ThreadLocalMap.access$000(ThreadLocal.java:225)
>        at java.lang.ThreadLocal.get(ThreadLocal.java:127)
>        at 
> com.opensymphony.xwork2.ActionContext.getContext(ActionContext.java:151)
>        at
> org.saascentral.app.webapp.action.BaseActionTestCase.onSetUpBeforeTransaction(BaseActionTestCase.java:38)
>        at
> org.saascentral.app.webapp.action.CategoryActionTest.onSetUpBeforeTransaction(CategoryActionTest.java:22)
>        at
> org.springframework.test.AbstractTransactionalSpringContextTests.onSetUp(AbstractTransactionalSpringContextTests.java:216)
>        at
> org.springframework.test.AbstractSingleSpringContextTests.setUp(AbstractSingleSpringContextTests.java:103)
>        at junit.framework.TestCase.runBare(TestCase.java:132)
>        at
> org.springframework.test.ConditionalTestCase.runBare(ConditionalTestCase.java:76)
>        at junit.framework.TestResult$1.protect(TestResult.java:110)
>        at junit.framework.TestResult.runProtected(TestResult.java:128)
>        at junit.framework.TestResult.run(TestResult.java:113)
>        at junit.framework.TestCase.run(TestCase.java:124)
>        at junit.framework.TestSuite.runTest(TestSuite.java:232)
>        at junit.framework.TestSuite.run(TestSuite.java:227)
>        at
> org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
>        at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
>        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:585)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:338)
>        at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:997)
> DEBUG - AbstractTransactionalSpringContextTests.startNewTransaction(392) |
> Began transaction (1): transaction manager
> [EMAIL PROTECTED];
> rollback [true].
> DEBUG - AbstractTransactionalSpringContextTests.endTransaction(360) | Rolled
> back transaction after execution of test [testSearch].
>
>
>
> --
> View this message in context: 
> http://www.nabble.com/problem%3A-both-personactiontest-and-my-own-test-failed-tp19555466s2369p19556070.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to