struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rainer Hermanns" <herma...@aixcept.de>
Subject Re: S2 build is broken ??
Date Tue, 10 Apr 2007 22:36:45 GMT
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.testHeaderValuesAreNo
> tParsedWhenParseIsFalse(HttpHeaderResultTest.java:59)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ...
> ...
>
>
> Is anyone else seeing this?
>
>
>
> --
> James Mitchell
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
> For additional commands, e-mail: dev-help@struts.apache.org
>
>


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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message