struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin McCann (JIRA)" <j...@apache.org>
Subject [jira] Updated: (WW-2754) Source code for GXP result
Date Sun, 13 Dec 2009 08:53:42 GMT

     [ https://issues.apache.org/struts/browse/WW-2754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benjamin McCann updated WW-2754:
--------------------------------

    Attachment: struts-gxp-plugin.zip

Just about got this working.  I removed all the references to code that wasn't included so
that it compiles now.  I think I did something wrong upgrading to Struts 2 though because
I get the stack trace below when I try to visit my action that has a gxp result type.  There
was some code in the original submission that did something along the lines of "new OgnlValueStack(ActionContext.getValueStack())"
and that constructor wasn't available anymore, so I switched it to use the OgnlValueStackFactory.
 Maybe someone more familiar with Struts can take a look at section of AbstractGxp and see
what I did wrong.

java.lang.IllegalArgumentException: Wrapped type converter cannot be null
	at com.opensymphony.xwork2.ognl.OgnlTypeConverterWrapper.<init>(OgnlTypeConverterWrapper.java:21)
	at com.opensymphony.xwork2.ognl.OgnlValueStack.setRoot(OgnlValueStack.java:88)
	at com.opensymphony.xwork2.ognl.OgnlValueStack.<init>(OgnlValueStack.java:76)
	at com.opensymphony.xwork2.ognl.OgnlValueStackFactory.createValueStack(OgnlValueStackFactory.java:58)
	at com.google.webwork.gxp.AbstractGxp.getArgListFromValueStack(AbstractGxp.java:153)
	at com.google.webwork.gxp.AbstractGxp.getArgs(AbstractGxp.java:83)
	at com.google.webwork.gxp.AbstractGxp.write(AbstractGxp.java:70)
	at com.google.webwork.gxp.AbstractGxp.write(AbstractGxp.java:61)
	at com.google.webwork.gxp.GxpResult$1.write(GxpResult.java:77)
	at com.google.webwork.gxp.GxpResult.execute(GxpResult.java:89)
	at com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:362)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:266)
	at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
	at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
	at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
	at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
	at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)


> Source code for GXP result 
> ---------------------------
>
>                 Key: WW-2754
>                 URL: https://issues.apache.org/struts/browse/WW-2754
>             Project: Struts 2
>          Issue Type: Temp
>            Reporter: Musachy Barroso
>             Fix For: Future
>
>         Attachments: gxp.webwork.tar.gz, struts-gxp-plugin.zip, struts-gxp-plugin.zip
>
>
> Thanks to the google and the GXP guys for sending us the code

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message