I still get the same error. I've refreshed xwork and build/installed it, then retry on s2 and it still fails for the same thing.

Any ideas?


--
James Mitchell



On Apr 10, 2007, at 6:36 PM, Rainer Hermanns wrote:

James,

I had this error as well, but fixed and commited the named unit test.
Are you building with the xwork profile enabled or do you download the
2.0.2-SNAPSHOT from the repositories?

With 'mvn clean test install -Pall' everything works fine for me...
could you please retry?

tia,
Rainer

Sorry if this is known issue, but I tried a full build of s2 trunk
and it is bombing in HttpHeaderResultTest when building with Maven.
I've tried both Maven 2.0.5 and 2.0.6 with and without a clean ~/.m2
directory.

java.lang.NullPointerException
        at com.opensymphony.xwork2.util.XWorkMapPropertyAccessor.getKey
(XWorkMapPropertyAccessor.java:134)
        at com.opensymphony.xwork2.util.XWorkMapPropertyAccessor.setProperty
(XWorkMapPropertyAccessor.java:107)
        at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1656)
        at ognl.ASTProperty.setValueBody(ASTProperty.java:101)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.ASTChain.setValueBody(ASTChain.java:172)
        at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
        at ognl.SimpleNode.setValue(SimpleNode.java:246)
        at ognl.Ognl.setValue(Ognl.java:476)
        at com.opensymphony.xwork2.util.OgnlUtil.setValue(OgnlUtil.java:186)
        at com.opensymphony.xwork2.util.OgnlUtil.internalSetProperty
(OgnlUtil.java:360)
at com.opensymphony.xwork2.util.OgnlUtil.setProperties (OgnlUtil.java:
76)
at com.opensymphony.xwork2.util.OgnlUtil.setProperties (OgnlUtil.java:
103)
at com.opensymphony.xwork2.util.OgnlUtil.setProperties (OgnlUtil.java:
90)
        at
org.apache.struts2.dispatcher.HttpHeaderResultTest.testHeaderValuesAr eNo
tParsedWhenParseIsFalse(HttpHeaderResultTest.java:59)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
...
...


Is anyone else seeing this?



--
James Mitchell




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




--
Rainer Hermanns
aixcept
Neupforte 16
52062 Aachen - Germany
w: http://aixcept.de/
t:    +49-241-4012247
m:  +49-170-3432912

---------------------------------------------------------------------
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