[Opensource] bug in 5.01 and not in 5.0 ????

David Gil dgil at indaba.es
Wed Oct 30 01:10:31 PST 2002


hi all,

a few mails ago, mike says that has done integration
the CVS HEAD, he asks if there is some problems
with this version. I found something that is working with
5.0 and not with yesterday CVS version.

Not sure where is the problem so i tell you what i am doing
and what is happening.

i have a jsp page that has a transition to a controller
that has not defined a default state. if i see the code generated
by the transition tag i see :
<input type="HIDDEN" name="verInformes_params" 
value="controller%3Dcom.praktiges.controller.CAlumnoEncuestaController%26RELLENADO_INFORME%3D%26jspCodigoCentro%3D%26RELLENADO_ENCUESTA%3D%26jspControlador%3D%26CODIGO_PRACTICA%3D1185%26jspDni%3D%26jspCodigoCurso%3D%26PANTALLA_ORIGEN%3DMAESTRO%26state%3DverInformes">

as you see i defined in the transition the new state in the controller
where i want to go:

state=verInformes   (perfect spanish  ;))  )

when i run this in 5.0 (download from jcorporate) it works fine
also it works with 4.02, but it is not working with
yesterday CVS code. i paste the stack trace, it
is something related with the new state...

if you need something else to solve this ask me...

regards and thanks in advance

David Gil



********************************************************************************
Stack Trace in tomcat:

java.lang.IllegalArgumentException: ConfigManager.getMapping(): stateName 
was nu
ll and there is no defined initial state for: 
com.praktiges.controller.CAlumnoEn
cuestaController
         at 
com.jcorporate.expresso.core.misc.ConfigManager.getMapping(ConfigMana
ger.java:1575)
         at 
com.jcorporate.expresso.core.controller.Controller.findControllerForm
(Controller.java:333)
         at 
com.jcorporate.expresso.core.controller.Controller.newState(Controlle
r.java:1046)
         at 
com.jcorporate.expresso.core.controller.Controller.perform(Controller
.java:1582)
         at 
org.apache.struts.action.ActionServlet.processActionPerform(ActionSer
vlet.java:1787)
         at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:158
6)
         at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)

         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp
atcher.java:683)
         at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationD
ispatcher.java:431)
         at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDis
patcher.java:355)
         at 
com.jcorporate.expresso.core.jsdkapi.GenericDispatcher.forward(Generi
cDispatcher.java:76)
         at 
com.jcorporate.expresso.core.controller.Controller.perform(Controller
.java:1487)
         at 
org.apache.struts.action.ActionServlet.processActionPerform(ActionSer
vlet.java:1787)
         at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:158
6)
         at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:510)

         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:247)
         at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:193)
         at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:243)
         at 
org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline
.java:566)
         at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav

********************************************************************************




David Gil Sánchez
------------------------------------------------
INDABA Consultores <Internet y Bases de Datos>
Centro de empresas Oarsoaldea (Edificio Mamut)
Carretera Astigarraga, 2 - 2º
Oiartzun (Guipúzcoa)
943 261121
http://www.indaba.es
------------------------------------------------

_______________________________________________________________
Yahoo! Messenger
Nueva versión: Webcam, voz, y mucho más ¡Gratis! 
Descárgalo ya desde http://messenger.yahoo.es



More information about the Opensource mailing list