Re: S2 build is broken ??

2007-04-12 Thread Rainer Hermanns
Really strange thing... Bamboo isn't failing as well...
We had some problems with the unit tests in xwork as well, that disappeared
suddenly after upgrading the surefire plugin to version 2.3.
I just did that for S2 trunk.

Could you please update and rerun the testsuite?

tia,
Rainer

> Yes, I can delete everything under opensymphony and org/apache/
> struts2 and it still fails for me.  Same error, same test.  This is
> pretty aggravating.
>
>
> --
> James Mitchell
>
>
>
> On Apr 11, 2007, at 6:42 PM, Rainer Hermanns wrote:
>
>> James,
>>
>> I just checked with Rene and rebuild S2 from the 2.0 branch on OSX,
>> Win32,
>> Cygwin without any problems...
>> Did you already clean your
>> ~/.m2/repository/opensymphony/xwork/2.0.2-SNAPSHOT directory?
>> Are the required SNAPSHOT jars refreshed?
>>
>> hth,
>> Rainer
>>
>>> 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.testHeaderValues
> Ar
> 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]
>>>
>>>
>>
>>
>> --
>> 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]
>
>


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



[OSS Bamboo] Struts 2 SVN - 2.0.x Branch build 22 was SUCCESSFUL (with 682 tests). Change made by hermanns

2007-04-12 Thread Atlassian Open Source Bamboo Integration Server
The project Struts 2 SVN - 2.0.x Branch has the following 1 change by 1 author:

*hermanns* made the following changes at 02:42 AM, 12 April 2007

Comment:
Upgrading surefire plugin to version 2.3 to get rid off strange unit test 
failures

> /struts/struts2/branches/STRUTS_2_0_X/pom.xml (527821)



---

All 682 tests passed.

Click http://opensource.bamboo.atlassian.com/browse/STRUTS-STRUTS20-22 to find 
out more.

Thanks,

Bamboo

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



Re: S2 build is broken ??

2007-04-12 Thread James Mitchell

Yep, that was it (for me at least).

Thanks!


--
James Mitchell



On Apr 12, 2007, at 3:33 AM, Rainer Hermanns wrote:


Really strange thing... Bamboo isn't failing as well...
We had some problems with the unit tests in xwork as well, that  
disappeared

suddenly after upgrading the surefire plugin to version 2.3.
I just did that for S2 trunk.

Could you please update and rerun the testsuite?

tia,
Rainer


Yes, I can delete everything under opensymphony and org/apache/
struts2 and it still fails for me.  Same error, same test.  This is
pretty aggravating.


--
James Mitchell



On Apr 11, 2007, at 6:42 PM, Rainer Hermanns wrote:


James,

I just checked with Rene and rebuild S2 from the 2.0 branch on OSX,
Win32,
Cygwin without any problems...
Did you already clean your
~/.m2/repository/opensymphony/xwork/2.0.2-SNAPSHOT directory?
Are the required SNAPSHOT jars refreshed?

hth,
Rainer

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.testHeaderValu 
es

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





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





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



Re: [jira] Updated: (WW-128) accessor failure with "unusual" casing

2007-04-12 Thread Henri Yandell

Does anyone know why this issue was touched?

http://issues.apache.org/struts/browse/WW-128

Second time I've noticed this happening. I'm guessing there's a
workflow issue in the Struts JIRA, however it would also be good to
know if someone did this on purpose or not.

Hen

On 4/11/07, Anonymous (JIRA) <[EMAIL PROTECTED]> wrote:


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


Resolution: Fixed  (was: Won't Fix)
Status: Resolved  (was: Closed)

> accessor failure with "unusual" casing
> --
>
> Key: WW-128
> URL: https://issues.apache.org/struts/browse/WW-128
> Project: Struts 2
>  Issue Type: Bug
>  Components: Views
>Affects Versions: WW 1.2
> Environment: Linux and windows alike, running webwork in a jboss 
setting (jboss 3.0.6, webwork 1.2.1).
>Reporter: Thomas Roka-Aardal
> Assigned To: Patrick Lightbody
>Priority: Minor
> Fix For: WW 1.3
>
>
> If you have an object collection that has a getter for a variable, and this object is placed 
as a local collection variable in the webwork action class (with a getter), when iterating over 
it, and using , it returns null for a specific 
variable. The variable name is probably the issue, since the problem is resolved by calling the 
variable something else. The variable that does NOT work, is:
> iATAFlightCode
> ...while iataFlightCode works fine.

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




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



How to use RestfulActionMapper?

2007-04-12 Thread Eison
How to use RestfulActionMapper or Restful2ActionMapper?

sorry, my english is s bad..
-
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=76940&messageID=141255#141255


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