開発メモ

開発用のメモです。

struts2-junit-plugin / mayaa

java.lang.IllegalStateException: instance is null

 org.seasar.mayaa.FactoryFactory.check(FactoryFactory.java:62)
 org.seasar.mayaa.FactoryFactory.getFactory(FactoryFactory.java:98)
 org.seasar.mayaa.impl.cycle.CycleUtil.getFactory(CycleUtil.java:51)
 org.seasar.mayaa.impl.cycle.CycleUtil.initialize(CycleUtil.java:61)
 org.seasar.mayaa.struts2.MayaaResult.doExecute(MayaaResult.java:60)
 org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186)
 com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371)
 com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275)
 org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54)
 org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:562)
 org.apache.struts2.StrutsJUnit4TestCase.executeAction(StrutsJUnit4TestCase.java:138)
 action.admin.IndexActionTest.testIndex(IndexActionTest.java:36)

mayaa のファクトリーが生成されていないため。

Twitter: @asahina_alice