Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Lukasz Lenart
Gut, I will wait a bit more and prepare a new test build though :)

2016-10-11 10:22 GMT+02:00 Greg Huber :
> Great, clean log file again.  Thanks.
>
> On 11 October 2016 at 09:15, Lukasz Lenart  wrote:
>
>> Done
>> https://issues.apache.org/jira/browse/WW-4697
>>
>> 2016-10-11 9:28 GMT+02:00 Lukasz Lenart :
>> > So, you are using DMI ... hm ...
>> >
>> > 2016-10-11 9:18 GMT+02:00 Greg Huber :
>> >> Yes!
>> >>
>> >> On 11 October 2016 at 08:10, Lukasz Lenart 
>> wrote:
>> >>
>> >>> I have asked about "struts.enable.DynamicMethodInvocation" - did you
>> >>> enable it? Because you are using url pattern similar to DMI.
>> >>>
>> >>>
>> >>> 2016-10-11 8:42 GMT+02:00 Greg Huber :
>> >>> > DMI / SMI?
>> >>> >
>> >>> >
>> >>> > ParametersInterceptor > isExcluded(String paramName) {..}
>> >>> >
>> >>> > action:myAction!save logs on this regex possibly because of the !
>> >>> >
>> >>> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
>> >>> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
>> >>> session|request|response|application|servlet(Request|
>> >>> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
>> >>> >
>> >>> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
>> >>> >
>> >>> >
>> >>> >
>> >>> > On 10 October 2016 at 12:56, Lukasz Lenart 
>> >>> wrote:
>> >>> >
>> >>> >> Do you use DMI?
>> >>> >>
>> >>> >> 2016-10-10 11:16 GMT+02:00 Greg Huber :
>> >>> >> > About the logging, I now get loads of these warnings on every
>> >>> >> > invocation?
>> >>> >> >
>> >>> >> > 2016-10-10 10:03:41,709 WARN
>> >>> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>> >>> >> > ParametersInterceptor:notifyDeveloper - Parameter
>> >>> [action:myAction!save]
>> >>> >> > matches excluded pattern [^(action|method):.*]!
>> >>> >> >
>> >>> >> >
>> >>> >> > Maybe its something to do with the DMI?
>> >>> >> >
>> >>> >> >
>> >>> >> > On 10 October 2016 at 10:03, Lukasz Lenart <
>> lukaszlen...@apache.org>
>> >>> >> wrote:
>> >>> >> >
>> >>> >> >> Done, I have reduced level to WARN and added prefix about
>> Developer
>> >>> >> >> Notification
>> >>> >> >>
>> >>> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart <
>> lukaszlen...@apache.org>:
>> >>> >> >> > This is expected and it happens only devMode - it isn't NPE.
>> Maybe
>> >>> the
>> >>> >> >> > level is too high, WARN should be enough
>> >>> >> >> >
>> >>> >> >> > https://issues.apache.org/jira/browse/WW-4453
>> >>> >> >> >
>> >>> >> >> >
>> >>> >> >> > Regards
>> >>> >> >> > --
>> >>> >> >> > Łukasz
>> >>> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
>> >>> >> >> >
>> >>> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
>> >>> >> >> >> I have also notice that I now get strange npe exceptions
>> where it
>> >>> >> seems
>> >>> >> >> not
>> >>> >> >> >> to set values on my page bean.
>> >>> >> >> >>
>> >>> >> >> >> eg my bean:
>> >>> >> >> >>
>> >>> >> >> >> private Integer pageNum = new Integer(1);
>> >>> >> >> >> public Integer getPageNum() {
>> >>> >> >> >> return pageNum;
>> >>> >> >> >> }
>> >>> >> >> >> bean.setPageNum(getBean().getPageNum());
>> >>> >> >> >>
>> >>> >> >> >> On the page the hidden field does not have the value:
>> >>> >> >> >>
>> >>> >> >> >> > >>> name="bean.pageNum">
>> >>> >> >> >>
>> >>> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
>> >>> >> something
>> >>> >> >> new.
>> >>> >> >> >>
>> >>> >> >> >> > >>> >> >> name="bean.pageNum
>> >>> >> >> >> ">
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >> In my logs I now also get:
>> >>> >> >> >>
>> >>> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.
>> Date
>> >>> >> >> Date:end -
>> >>> >> >> >> Expression [bean.eventScheduledPubDate] passed to 
>> tag
>> >>> which
>> >>> >> >> was
>> >>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >>> >> >> >> java.util.Calendar!
>> >>> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.
>> Date
>> >>> >> >> Date:end -
>> >>> >> >> >> Expression [bean.eventExpireDate] passed to  tag
>> which
>> >>> was
>> >>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >>> >> >> >> java.util.Calendar!
>> >>> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.
>> Date
>> >>> >> >> Date:end -
>> >>> >> >> >> Expression [bean.updated] passed to  tag which was
>> >>> >> evaluated to
>> >>> >> >> >> [null](null) isn't instance of java.util.Date nor
>> >>> java.util.Calendar!
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >>
>> >>> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
>> >>> lukaszlen...@apache.org>
>> >>> >> >> wrote:
>> >>> >> >> >>
>> >>> >> >> >>> Fixed :) I will give you some time and then I will prepare a
>> new
>> >>> >> test
>> >>> >> >> 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Greg Huber
Great, clean log file again.  Thanks.

On 11 October 2016 at 09:15, Lukasz Lenart  wrote:

> Done
> https://issues.apache.org/jira/browse/WW-4697
>
> 2016-10-11 9:28 GMT+02:00 Lukasz Lenart :
> > So, you are using DMI ... hm ...
> >
> > 2016-10-11 9:18 GMT+02:00 Greg Huber :
> >> Yes!
> >>
> >> On 11 October 2016 at 08:10, Lukasz Lenart 
> wrote:
> >>
> >>> I have asked about "struts.enable.DynamicMethodInvocation" - did you
> >>> enable it? Because you are using url pattern similar to DMI.
> >>>
> >>>
> >>> 2016-10-11 8:42 GMT+02:00 Greg Huber :
> >>> > DMI / SMI?
> >>> >
> >>> >
> >>> > ParametersInterceptor > isExcluded(String paramName) {..}
> >>> >
> >>> > action:myAction!save logs on this regex possibly because of the !
> >>> >
> >>> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
> >>> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
> >>> session|request|response|application|servlet(Request|
> >>> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
> >>> >
> >>> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
> >>> >
> >>> >
> >>> >
> >>> > On 10 October 2016 at 12:56, Lukasz Lenart 
> >>> wrote:
> >>> >
> >>> >> Do you use DMI?
> >>> >>
> >>> >> 2016-10-10 11:16 GMT+02:00 Greg Huber :
> >>> >> > About the logging, I now get loads of these warnings on every
> >>> >> > invocation?
> >>> >> >
> >>> >> > 2016-10-10 10:03:41,709 WARN
> >>> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
> >>> >> > ParametersInterceptor:notifyDeveloper - Parameter
> >>> [action:myAction!save]
> >>> >> > matches excluded pattern [^(action|method):.*]!
> >>> >> >
> >>> >> >
> >>> >> > Maybe its something to do with the DMI?
> >>> >> >
> >>> >> >
> >>> >> > On 10 October 2016 at 10:03, Lukasz Lenart <
> lukaszlen...@apache.org>
> >>> >> wrote:
> >>> >> >
> >>> >> >> Done, I have reduced level to WARN and added prefix about
> Developer
> >>> >> >> Notification
> >>> >> >>
> >>> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart <
> lukaszlen...@apache.org>:
> >>> >> >> > This is expected and it happens only devMode - it isn't NPE.
> Maybe
> >>> the
> >>> >> >> > level is too high, WARN should be enough
> >>> >> >> >
> >>> >> >> > https://issues.apache.org/jira/browse/WW-4453
> >>> >> >> >
> >>> >> >> >
> >>> >> >> > Regards
> >>> >> >> > --
> >>> >> >> > Łukasz
> >>> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
> >>> >> >> >
> >>> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
> >>> >> >> >> I have also notice that I now get strange npe exceptions
> where it
> >>> >> seems
> >>> >> >> not
> >>> >> >> >> to set values on my page bean.
> >>> >> >> >>
> >>> >> >> >> eg my bean:
> >>> >> >> >>
> >>> >> >> >> private Integer pageNum = new Integer(1);
> >>> >> >> >> public Integer getPageNum() {
> >>> >> >> >> return pageNum;
> >>> >> >> >> }
> >>> >> >> >> bean.setPageNum(getBean().getPageNum());
> >>> >> >> >>
> >>> >> >> >> On the page the hidden field does not have the value:
> >>> >> >> >>
> >>> >> >> >>  >>> name="bean.pageNum">
> >>> >> >> >>
> >>> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
> >>> >> something
> >>> >> >> new.
> >>> >> >> >>
> >>> >> >> >>  >>> >> >> name="bean.pageNum
> >>> >> >> >> ">
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >> In my logs I now also get:
> >>> >> >> >>
> >>> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.
> Date
> >>> >> >> Date:end -
> >>> >> >> >> Expression [bean.eventScheduledPubDate] passed to 
> tag
> >>> which
> >>> >> >> was
> >>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >>> >> >> >> java.util.Calendar!
> >>> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.
> Date
> >>> >> >> Date:end -
> >>> >> >> >> Expression [bean.eventExpireDate] passed to  tag
> which
> >>> was
> >>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >>> >> >> >> java.util.Calendar!
> >>> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.
> Date
> >>> >> >> Date:end -
> >>> >> >> >> Expression [bean.updated] passed to  tag which was
> >>> >> evaluated to
> >>> >> >> >> [null](null) isn't instance of java.util.Date nor
> >>> java.util.Calendar!
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >>
> >>> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
> >>> lukaszlen...@apache.org>
> >>> >> >> wrote:
> >>> >> >> >>
> >>> >> >> >>> Fixed :) I will give you some time and then I will prepare a
> new
> >>> >> test
> >>> >> >> >>> build :)
> >>> >> >> >>>
> >>> >> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart <
> lukaszlen...@apache.org
> >>> >:
> >>> >> >> >>> > I see the problem, conversion doesn't work and I think know
> >>> why :\
> >>> >> >> >>> fixing 
> >>> >> >> >>> >
> >>> >> >> >>> > 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Lukasz Lenart
Done
https://issues.apache.org/jira/browse/WW-4697

2016-10-11 9:28 GMT+02:00 Lukasz Lenart :
> So, you are using DMI ... hm ...
>
> 2016-10-11 9:18 GMT+02:00 Greg Huber :
>> Yes!
>>
>> On 11 October 2016 at 08:10, Lukasz Lenart  wrote:
>>
>>> I have asked about "struts.enable.DynamicMethodInvocation" - did you
>>> enable it? Because you are using url pattern similar to DMI.
>>>
>>>
>>> 2016-10-11 8:42 GMT+02:00 Greg Huber :
>>> > DMI / SMI?
>>> >
>>> >
>>> > ParametersInterceptor > isExcluded(String paramName) {..}
>>> >
>>> > action:myAction!save logs on this regex possibly because of the !
>>> >
>>> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
>>> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
>>> session|request|response|application|servlet(Request|
>>> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
>>> >
>>> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
>>> >
>>> >
>>> >
>>> > On 10 October 2016 at 12:56, Lukasz Lenart 
>>> wrote:
>>> >
>>> >> Do you use DMI?
>>> >>
>>> >> 2016-10-10 11:16 GMT+02:00 Greg Huber :
>>> >> > About the logging, I now get loads of these warnings on every
>>> >> > invocation?
>>> >> >
>>> >> > 2016-10-10 10:03:41,709 WARN
>>> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>>> >> > ParametersInterceptor:notifyDeveloper - Parameter
>>> [action:myAction!save]
>>> >> > matches excluded pattern [^(action|method):.*]!
>>> >> >
>>> >> >
>>> >> > Maybe its something to do with the DMI?
>>> >> >
>>> >> >
>>> >> > On 10 October 2016 at 10:03, Lukasz Lenart 
>>> >> wrote:
>>> >> >
>>> >> >> Done, I have reduced level to WARN and added prefix about Developer
>>> >> >> Notification
>>> >> >>
>>> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
>>> >> >> > This is expected and it happens only devMode - it isn't NPE. Maybe
>>> the
>>> >> >> > level is too high, WARN should be enough
>>> >> >> >
>>> >> >> > https://issues.apache.org/jira/browse/WW-4453
>>> >> >> >
>>> >> >> >
>>> >> >> > Regards
>>> >> >> > --
>>> >> >> > Łukasz
>>> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
>>> >> >> >
>>> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
>>> >> >> >> I have also notice that I now get strange npe exceptions where it
>>> >> seems
>>> >> >> not
>>> >> >> >> to set values on my page bean.
>>> >> >> >>
>>> >> >> >> eg my bean:
>>> >> >> >>
>>> >> >> >> private Integer pageNum = new Integer(1);
>>> >> >> >> public Integer getPageNum() {
>>> >> >> >> return pageNum;
>>> >> >> >> }
>>> >> >> >> bean.setPageNum(getBean().getPageNum());
>>> >> >> >>
>>> >> >> >> On the page the hidden field does not have the value:
>>> >> >> >>
>>> >> >> >> >> name="bean.pageNum">
>>> >> >> >>
>>> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
>>> >> something
>>> >> >> new.
>>> >> >> >>
>>> >> >> >> >> >> >> name="bean.pageNum
>>> >> >> >> ">
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> In my logs I now also get:
>>> >> >> >>
>>> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.eventScheduledPubDate] passed to  tag
>>> which
>>> >> >> was
>>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>>> >> >> >> java.util.Calendar!
>>> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.eventExpireDate] passed to  tag which
>>> was
>>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>>> >> >> >> java.util.Calendar!
>>> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
>>> >> >> Date:end -
>>> >> >> >> Expression [bean.updated] passed to  tag which was
>>> >> evaluated to
>>> >> >> >> [null](null) isn't instance of java.util.Date nor
>>> java.util.Calendar!
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >>
>>> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
>>> lukaszlen...@apache.org>
>>> >> >> wrote:
>>> >> >> >>
>>> >> >> >>> Fixed :) I will give you some time and then I will prepare a new
>>> >> test
>>> >> >> >>> build :)
>>> >> >> >>>
>>> >> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart >> >:
>>> >> >> >>> > I see the problem, conversion doesn't work and I think know
>>> why :\
>>> >> >> >>> fixing 
>>> >> >> >>> >
>>> >> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>>> >> >> >>> >> On my dev box I get this error:
>>> >> >> >>> >>
>>> >> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>>> >> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles'
>>> with
>>> >> >> value
>>> >> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>>> >> >> >>> 8898_55c11fed0b49_0006.tmp'
>>> 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Lukasz Lenart
So, you are using DMI ... hm ...

2016-10-11 9:18 GMT+02:00 Greg Huber :
> Yes!
>
> On 11 October 2016 at 08:10, Lukasz Lenart  wrote:
>
>> I have asked about "struts.enable.DynamicMethodInvocation" - did you
>> enable it? Because you are using url pattern similar to DMI.
>>
>>
>> 2016-10-11 8:42 GMT+02:00 Greg Huber :
>> > DMI / SMI?
>> >
>> >
>> > ParametersInterceptor > isExcluded(String paramName) {..}
>> >
>> > action:myAction!save logs on this regex possibly because of the !
>> >
>> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
>> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
>> session|request|response|application|servlet(Request|
>> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
>> >
>> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
>> >
>> >
>> >
>> > On 10 October 2016 at 12:56, Lukasz Lenart 
>> wrote:
>> >
>> >> Do you use DMI?
>> >>
>> >> 2016-10-10 11:16 GMT+02:00 Greg Huber :
>> >> > About the logging, I now get loads of these warnings on every
>> >> > invocation?
>> >> >
>> >> > 2016-10-10 10:03:41,709 WARN
>> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>> >> > ParametersInterceptor:notifyDeveloper - Parameter
>> [action:myAction!save]
>> >> > matches excluded pattern [^(action|method):.*]!
>> >> >
>> >> >
>> >> > Maybe its something to do with the DMI?
>> >> >
>> >> >
>> >> > On 10 October 2016 at 10:03, Lukasz Lenart 
>> >> wrote:
>> >> >
>> >> >> Done, I have reduced level to WARN and added prefix about Developer
>> >> >> Notification
>> >> >>
>> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
>> >> >> > This is expected and it happens only devMode - it isn't NPE. Maybe
>> the
>> >> >> > level is too high, WARN should be enough
>> >> >> >
>> >> >> > https://issues.apache.org/jira/browse/WW-4453
>> >> >> >
>> >> >> >
>> >> >> > Regards
>> >> >> > --
>> >> >> > Łukasz
>> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
>> >> >> >
>> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
>> >> >> >> I have also notice that I now get strange npe exceptions where it
>> >> seems
>> >> >> not
>> >> >> >> to set values on my page bean.
>> >> >> >>
>> >> >> >> eg my bean:
>> >> >> >>
>> >> >> >> private Integer pageNum = new Integer(1);
>> >> >> >> public Integer getPageNum() {
>> >> >> >> return pageNum;
>> >> >> >> }
>> >> >> >> bean.setPageNum(getBean().getPageNum());
>> >> >> >>
>> >> >> >> On the page the hidden field does not have the value:
>> >> >> >>
>> >> >> >> > name="bean.pageNum">
>> >> >> >>
>> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
>> >> something
>> >> >> new.
>> >> >> >>
>> >> >> >> > >> >> name="bean.pageNum
>> >> >> >> ">
>> >> >> >>
>> >> >> >>
>> >> >> >> In my logs I now also get:
>> >> >> >>
>> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
>> >> >> Date:end -
>> >> >> >> Expression [bean.eventScheduledPubDate] passed to  tag
>> which
>> >> >> was
>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> >> >> java.util.Calendar!
>> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
>> >> >> Date:end -
>> >> >> >> Expression [bean.eventExpireDate] passed to  tag which
>> was
>> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> >> >> java.util.Calendar!
>> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
>> >> >> Date:end -
>> >> >> >> Expression [bean.updated] passed to  tag which was
>> >> evaluated to
>> >> >> >> [null](null) isn't instance of java.util.Date nor
>> java.util.Calendar!
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
>> lukaszlen...@apache.org>
>> >> >> wrote:
>> >> >> >>
>> >> >> >>> Fixed :) I will give you some time and then I will prepare a new
>> >> test
>> >> >> >>> build :)
>> >> >> >>>
>> >> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart > >:
>> >> >> >>> > I see the problem, conversion doesn't work and I think know
>> why :\
>> >> >> >>> fixing 
>> >> >> >>> >
>> >> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>> >> >> >>> >> On my dev box I get this error:
>> >> >> >>> >>
>> >> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>> >> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles'
>> with
>> >> >> value
>> >> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>> >> >> >>> 8898_55c11fed0b49_0006.tmp'
>> >> >> >>> >>
>> >> >> >>> >> more detail:
>> >> >> >>> >>
>> >> >> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed
>> for
>> >> >> object
>> >> >> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>> >> >> >>> >> 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Greg Huber
Yes!

On 11 October 2016 at 08:10, Lukasz Lenart  wrote:

> I have asked about "struts.enable.DynamicMethodInvocation" - did you
> enable it? Because you are using url pattern similar to DMI.
>
>
> 2016-10-11 8:42 GMT+02:00 Greg Huber :
> > DMI / SMI?
> >
> >
> > ParametersInterceptor > isExcluded(String paramName) {..}
> >
> > action:myAction!save logs on this regex possibly because of the !
> >
> > [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
> > (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|
> session|request|response|application|servlet(Request|
> Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
> >
> > com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
> >
> >
> >
> > On 10 October 2016 at 12:56, Lukasz Lenart 
> wrote:
> >
> >> Do you use DMI?
> >>
> >> 2016-10-10 11:16 GMT+02:00 Greg Huber :
> >> > About the logging, I now get loads of these warnings on every
> >> > invocation?
> >> >
> >> > 2016-10-10 10:03:41,709 WARN
> >> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
> >> > ParametersInterceptor:notifyDeveloper - Parameter
> [action:myAction!save]
> >> > matches excluded pattern [^(action|method):.*]!
> >> >
> >> >
> >> > Maybe its something to do with the DMI?
> >> >
> >> >
> >> > On 10 October 2016 at 10:03, Lukasz Lenart 
> >> wrote:
> >> >
> >> >> Done, I have reduced level to WARN and added prefix about Developer
> >> >> Notification
> >> >>
> >> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
> >> >> > This is expected and it happens only devMode - it isn't NPE. Maybe
> the
> >> >> > level is too high, WARN should be enough
> >> >> >
> >> >> > https://issues.apache.org/jira/browse/WW-4453
> >> >> >
> >> >> >
> >> >> > Regards
> >> >> > --
> >> >> > Łukasz
> >> >> > + 48 606 323 122 http://www.lenart.org.pl/
> >> >> >
> >> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
> >> >> >> I have also notice that I now get strange npe exceptions where it
> >> seems
> >> >> not
> >> >> >> to set values on my page bean.
> >> >> >>
> >> >> >> eg my bean:
> >> >> >>
> >> >> >> private Integer pageNum = new Integer(1);
> >> >> >> public Integer getPageNum() {
> >> >> >> return pageNum;
> >> >> >> }
> >> >> >> bean.setPageNum(getBean().getPageNum());
> >> >> >>
> >> >> >> On the page the hidden field does not have the value:
> >> >> >>
> >> >> >>  name="bean.pageNum">
> >> >> >>
> >> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
> >> something
> >> >> new.
> >> >> >>
> >> >> >>  >> >> name="bean.pageNum
> >> >> >> ">
> >> >> >>
> >> >> >>
> >> >> >> In my logs I now also get:
> >> >> >>
> >> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
> >> >> Date:end -
> >> >> >> Expression [bean.eventScheduledPubDate] passed to  tag
> which
> >> >> was
> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> >> >> java.util.Calendar!
> >> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
> >> >> Date:end -
> >> >> >> Expression [bean.eventExpireDate] passed to  tag which
> was
> >> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> >> >> java.util.Calendar!
> >> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
> >> >> Date:end -
> >> >> >> Expression [bean.updated] passed to  tag which was
> >> evaluated to
> >> >> >> [null](null) isn't instance of java.util.Date nor
> java.util.Calendar!
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >> On 7 October 2016 at 09:19, Lukasz Lenart <
> lukaszlen...@apache.org>
> >> >> wrote:
> >> >> >>
> >> >> >>> Fixed :) I will give you some time and then I will prepare a new
> >> test
> >> >> >>> build :)
> >> >> >>>
> >> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart  >:
> >> >> >>> > I see the problem, conversion doesn't work and I think know
> why :\
> >> >> >>> fixing 
> >> >> >>> >
> >> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
> >> >> >>> >> On my dev box I get this error:
> >> >> >>> >>
> >> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
> >> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles'
> with
> >> >> value
> >> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
> >> >> >>> 8898_55c11fed0b49_0006.tmp'
> >> >> >>> >>
> >> >> >>> >> more detail:
> >> >> >>> >>
> >> >> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed
> for
> >> >> object
> >> >> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> >> >> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
> >> >> >>> >>
> >> >> >>> >> I have this method:
> >> >> >>> >>
> >> >> >>> >> private File[] uploadedFiles = null;
> >> >> >>> >>
> >> >> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
> 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Lukasz Lenart
I have asked about "struts.enable.DynamicMethodInvocation" - did you
enable it? Because you are using url pattern similar to DMI.


2016-10-11 8:42 GMT+02:00 Greg Huber :
> DMI / SMI?
>
>
> ParametersInterceptor > isExcluded(String paramName) {..}
>
> action:myAction!save logs on this regex possibly because of the !
>
> [.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
> (^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|session|request|response|application|servlet(Request|Response|Context)|parameters|context|_memberAccess)(\.|\[).*]
>
> com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker
>
>
>
> On 10 October 2016 at 12:56, Lukasz Lenart  wrote:
>
>> Do you use DMI?
>>
>> 2016-10-10 11:16 GMT+02:00 Greg Huber :
>> > About the logging, I now get loads of these warnings on every
>> > invocation?
>> >
>> > 2016-10-10 10:03:41,709 WARN
>> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
>> > ParametersInterceptor:notifyDeveloper - Parameter [action:myAction!save]
>> > matches excluded pattern [^(action|method):.*]!
>> >
>> >
>> > Maybe its something to do with the DMI?
>> >
>> >
>> > On 10 October 2016 at 10:03, Lukasz Lenart 
>> wrote:
>> >
>> >> Done, I have reduced level to WARN and added prefix about Developer
>> >> Notification
>> >>
>> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
>> >> > This is expected and it happens only devMode - it isn't NPE. Maybe the
>> >> > level is too high, WARN should be enough
>> >> >
>> >> > https://issues.apache.org/jira/browse/WW-4453
>> >> >
>> >> >
>> >> > Regards
>> >> > --
>> >> > Łukasz
>> >> > + 48 606 323 122 http://www.lenart.org.pl/
>> >> >
>> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
>> >> >> I have also notice that I now get strange npe exceptions where it
>> seems
>> >> not
>> >> >> to set values on my page bean.
>> >> >>
>> >> >> eg my bean:
>> >> >>
>> >> >> private Integer pageNum = new Integer(1);
>> >> >> public Integer getPageNum() {
>> >> >> return pageNum;
>> >> >> }
>> >> >> bean.setPageNum(getBean().getPageNum());
>> >> >>
>> >> >> On the page the hidden field does not have the value:
>> >> >>
>> >> >> 
>> >> >>
>> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
>> something
>> >> new.
>> >> >>
>> >> >> > >> name="bean.pageNum
>> >> >> ">
>> >> >>
>> >> >>
>> >> >> In my logs I now also get:
>> >> >>
>> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
>> >> Date:end -
>> >> >> Expression [bean.eventScheduledPubDate] passed to  tag which
>> >> was
>> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> >> java.util.Calendar!
>> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
>> >> Date:end -
>> >> >> Expression [bean.eventExpireDate] passed to  tag which was
>> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> >> java.util.Calendar!
>> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
>> >> Date:end -
>> >> >> Expression [bean.updated] passed to  tag which was
>> evaluated to
>> >> >> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
>> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >> >> On 7 October 2016 at 09:19, Lukasz Lenart 
>> >> wrote:
>> >> >>
>> >> >>> Fixed :) I will give you some time and then I will prepare a new
>> test
>> >> >>> build :)
>> >> >>>
>> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
>> >> >>> > I see the problem, conversion doesn't work and I think know why :\
>> >> >>> fixing 
>> >> >>> >
>> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>> >> >>> >> On my dev box I get this error:
>> >> >>> >>
>> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles' with
>> >> value
>> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>> >> >>> 8898_55c11fed0b49_0006.tmp'
>> >> >>> >>
>> >> >>> >> more detail:
>> >> >>> >>
>> >> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for
>> >> object
>> >> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>> >> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
>> >> >>> >>
>> >> >>> >> I have this method:
>> >> >>> >>
>> >> >>> >> private File[] uploadedFiles = null;
>> >> >>> >>
>> >> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
>> >> >>> >> this.uploadedFiles = uploadedFiles;
>> >> >>> >> }
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> It calls this method with a null?
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >>
>> >> >>> >> On 6 October 2016 at 20:31, Lukasz Lenart <
>> lukaszlen...@apache.org>
>> >> >>> wrote:
>> >> >>> >>
>> >> >>> >>> Hi,
>> >> >>> >>>
>> >> >>> >>> Please take a time and test the 

Re: Struts 2.5.4 is ready for test

2016-10-11 Thread Greg Huber
DMI / SMI?


ParametersInterceptor > isExcluded(String paramName) {..}

action:myAction!save logs on this regex possibly because of the !

[.*(^|\.|\[|\'|"|get)class(\(\.|\[|\'|").*, ^(action|method):.*,
(^|\%\{)((#?)(top(\.|\['|\[")|\[\d\]\.)?)(dojo|struts|session|request|response|application|servlet(Request|Response|Context)|parameters|context|_memberAccess)(\.|\[).*]

com.opensymphony.xwork2.security.DefaultExcludedPatternsChecker



On 10 October 2016 at 12:56, Lukasz Lenart  wrote:

> Do you use DMI?
>
> 2016-10-10 11:16 GMT+02:00 Greg Huber :
> > About the logging, I now get loads of these warnings on every
> > invocation?
> >
> > 2016-10-10 10:03:41,709 WARN
> > com.opensymphony.xwork2.interceptor.ParametersInterceptor
> > ParametersInterceptor:notifyDeveloper - Parameter [action:myAction!save]
> > matches excluded pattern [^(action|method):.*]!
> >
> >
> > Maybe its something to do with the DMI?
> >
> >
> > On 10 October 2016 at 10:03, Lukasz Lenart 
> wrote:
> >
> >> Done, I have reduced level to WARN and added prefix about Developer
> >> Notification
> >>
> >> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
> >> > This is expected and it happens only devMode - it isn't NPE. Maybe the
> >> > level is too high, WARN should be enough
> >> >
> >> > https://issues.apache.org/jira/browse/WW-4453
> >> >
> >> >
> >> > Regards
> >> > --
> >> > Łukasz
> >> > + 48 606 323 122 http://www.lenart.org.pl/
> >> >
> >> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
> >> >> I have also notice that I now get strange npe exceptions where it
> seems
> >> not
> >> >> to set values on my page bean.
> >> >>
> >> >> eg my bean:
> >> >>
> >> >> private Integer pageNum = new Integer(1);
> >> >> public Integer getPageNum() {
> >> >> return pageNum;
> >> >> }
> >> >> bean.setPageNum(getBean().getPageNum());
> >> >>
> >> >> On the page the hidden field does not have the value:
> >> >>
> >> >> 
> >> >>
> >> >> I went back to 2.5.2 and I do not get any exceptions, so its
> something
> >> new.
> >> >>
> >> >>  >> name="bean.pageNum
> >> >> ">
> >> >>
> >> >>
> >> >> In my logs I now also get:
> >> >>
> >> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
> >> Date:end -
> >> >> Expression [bean.eventScheduledPubDate] passed to  tag which
> >> was
> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> >> java.util.Calendar!
> >> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
> >> Date:end -
> >> >> Expression [bean.eventExpireDate] passed to  tag which was
> >> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> >> java.util.Calendar!
> >> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
> >> Date:end -
> >> >> Expression [bean.updated] passed to  tag which was
> evaluated to
> >> >> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> On 7 October 2016 at 09:19, Lukasz Lenart 
> >> wrote:
> >> >>
> >> >>> Fixed :) I will give you some time and then I will prepare a new
> test
> >> >>> build :)
> >> >>>
> >> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
> >> >>> > I see the problem, conversion doesn't work and I think know why :\
> >> >>> fixing 
> >> >>> >
> >> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
> >> >>> >> On my dev box I get this error:
> >> >>> >>
> >> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
> >> >>> >> editor.Resources: Error setting expression 'uploadedFiles' with
> >> value
> >> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
> >> >>> 8898_55c11fed0b49_0006.tmp'
> >> >>> >>
> >> >>> >> more detail:
> >> >>> >>
> >> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for
> >> object
> >> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> >> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
> >> >>> >>
> >> >>> >> I have this method:
> >> >>> >>
> >> >>> >> private File[] uploadedFiles = null;
> >> >>> >>
> >> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
> >> >>> >> this.uploadedFiles = uploadedFiles;
> >> >>> >> }
> >> >>> >>
> >> >>> >>
> >> >>> >> It calls this method with a null?
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >>
> >> >>> >> On 6 October 2016 at 20:31, Lukasz Lenart <
> lukaszlen...@apache.org>
> >> >>> wrote:
> >> >>> >>
> >> >>> >>> Hi,
> >> >>> >>>
> >> >>> >>> Please take a time and test the bits - any help is appreciated.
> >> Please
> >> >>> >>> report any problems back. I'll call for vote in a week if no
> >> problems
> >> >>> >>> will be spotted.
> >> >>> >>>
> >> >>> >>> Staging Maven repo
> >> >>> >>> https://repository.apache.org/content/groups/staging/
> >> >>> >>>
> >> >>> >>> Standalone artifacts
> >> >>> >>> 

Re: Struts 2.5.4 is ready for test

2016-10-10 Thread Lukasz Lenart
Do you use DMI?

2016-10-10 11:16 GMT+02:00 Greg Huber :
> About the logging, I now get loads of these warnings on every
> invocation?
>
> 2016-10-10 10:03:41,709 WARN
> com.opensymphony.xwork2.interceptor.ParametersInterceptor
> ParametersInterceptor:notifyDeveloper - Parameter [action:myAction!save]
> matches excluded pattern [^(action|method):.*]!
>
>
> Maybe its something to do with the DMI?
>
>
> On 10 October 2016 at 10:03, Lukasz Lenart  wrote:
>
>> Done, I have reduced level to WARN and added prefix about Developer
>> Notification
>>
>> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
>> > This is expected and it happens only devMode - it isn't NPE. Maybe the
>> > level is too high, WARN should be enough
>> >
>> > https://issues.apache.org/jira/browse/WW-4453
>> >
>> >
>> > Regards
>> > --
>> > Łukasz
>> > + 48 606 323 122 http://www.lenart.org.pl/
>> >
>> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
>> >> I have also notice that I now get strange npe exceptions where it seems
>> not
>> >> to set values on my page bean.
>> >>
>> >> eg my bean:
>> >>
>> >> private Integer pageNum = new Integer(1);
>> >> public Integer getPageNum() {
>> >> return pageNum;
>> >> }
>> >> bean.setPageNum(getBean().getPageNum());
>> >>
>> >> On the page the hidden field does not have the value:
>> >>
>> >> 
>> >>
>> >> I went back to 2.5.2 and I do not get any exceptions, so its something
>> new.
>> >>
>> >> > name="bean.pageNum
>> >> ">
>> >>
>> >>
>> >> In my logs I now also get:
>> >>
>> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
>> Date:end -
>> >> Expression [bean.eventScheduledPubDate] passed to  tag which
>> was
>> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> java.util.Calendar!
>> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
>> Date:end -
>> >> Expression [bean.eventExpireDate] passed to  tag which was
>> >> evaluated to [null](null) isn't instance of java.util.Date nor
>> >> java.util.Calendar!
>> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
>> Date:end -
>> >> Expression [bean.updated] passed to  tag which was evaluated to
>> >> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
>> >>
>> >>
>> >>
>> >>
>> >> On 7 October 2016 at 09:19, Lukasz Lenart 
>> wrote:
>> >>
>> >>> Fixed :) I will give you some time and then I will prepare a new test
>> >>> build :)
>> >>>
>> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
>> >>> > I see the problem, conversion doesn't work and I think know why :\
>> >>> fixing 
>> >>> >
>> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>> >>> >> On my dev box I get this error:
>> >>> >>
>> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>> >>> >> editor.Resources: Error setting expression 'uploadedFiles' with
>> value
>> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>> >>> 8898_55c11fed0b49_0006.tmp'
>> >>> >>
>> >>> >> more detail:
>> >>> >>
>> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for
>> object
>> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
>> >>> >>
>> >>> >> I have this method:
>> >>> >>
>> >>> >> private File[] uploadedFiles = null;
>> >>> >>
>> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
>> >>> >> this.uploadedFiles = uploadedFiles;
>> >>> >> }
>> >>> >>
>> >>> >>
>> >>> >> It calls this method with a null?
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >>
>> >>> >> On 6 October 2016 at 20:31, Lukasz Lenart 
>> >>> wrote:
>> >>> >>
>> >>> >>> Hi,
>> >>> >>>
>> >>> >>> Please take a time and test the bits - any help is appreciated.
>> Please
>> >>> >>> report any problems back. I'll call for vote in a week if no
>> problems
>> >>> >>> will be spotted.
>> >>> >>>
>> >>> >>> Staging Maven repo
>> >>> >>> https://repository.apache.org/content/groups/staging/
>> >>> >>>
>> >>> >>> Standalone artifacts
>> >>> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>> >>> >>>
>> >>> >>> Release notes
>> >>> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>> >>> >>>
>> >>> >>>
>> >>> >>> Thanks in advance
>> >>> >>> --
>> >>> >>> Łukasz
>> >>> >>> + 48 606 323 122 http://www.lenart.org.pl/
>> >>> >>>
>> >>> >>> 
>> -
>> >>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> >>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>> >>> >>>
>> >>> >>>
>> >>>
>> >>> -
>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>> >>>
>> >>>
>>
>> 

Re: Struts 2.5.4 is ready for test

2016-10-10 Thread Greg Huber
About the logging, I now get loads of these warnings on every
invocation?

2016-10-10 10:03:41,709 WARN
com.opensymphony.xwork2.interceptor.ParametersInterceptor
ParametersInterceptor:notifyDeveloper - Parameter [action:myAction!save]
matches excluded pattern [^(action|method):.*]!


Maybe its something to do with the DMI?


On 10 October 2016 at 10:03, Lukasz Lenart  wrote:

> Done, I have reduced level to WARN and added prefix about Developer
> Notification
>
> 2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
> > This is expected and it happens only devMode - it isn't NPE. Maybe the
> > level is too high, WARN should be enough
> >
> > https://issues.apache.org/jira/browse/WW-4453
> >
> >
> > Regards
> > --
> > Łukasz
> > + 48 606 323 122 http://www.lenart.org.pl/
> >
> > 2016-10-09 11:21 GMT+02:00 Greg Huber :
> >> I have also notice that I now get strange npe exceptions where it seems
> not
> >> to set values on my page bean.
> >>
> >> eg my bean:
> >>
> >> private Integer pageNum = new Integer(1);
> >> public Integer getPageNum() {
> >> return pageNum;
> >> }
> >> bean.setPageNum(getBean().getPageNum());
> >>
> >> On the page the hidden field does not have the value:
> >>
> >> 
> >>
> >> I went back to 2.5.2 and I do not get any exceptions, so its something
> new.
> >>
> >>  name="bean.pageNum
> >> ">
> >>
> >>
> >> In my logs I now also get:
> >>
> >> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
> Date:end -
> >> Expression [bean.eventScheduledPubDate] passed to  tag which
> was
> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> java.util.Calendar!
> >> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
> Date:end -
> >> Expression [bean.eventExpireDate] passed to  tag which was
> >> evaluated to [null](null) isn't instance of java.util.Date nor
> >> java.util.Calendar!
> >> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
> Date:end -
> >> Expression [bean.updated] passed to  tag which was evaluated to
> >> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
> >>
> >>
> >>
> >>
> >> On 7 October 2016 at 09:19, Lukasz Lenart 
> wrote:
> >>
> >>> Fixed :) I will give you some time and then I will prepare a new test
> >>> build :)
> >>>
> >>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
> >>> > I see the problem, conversion doesn't work and I think know why :\
> >>> fixing 
> >>> >
> >>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
> >>> >> On my dev box I get this error:
> >>> >>
> >>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
> >>> >> editor.Resources: Error setting expression 'uploadedFiles' with
> value
> >>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
> >>> 8898_55c11fed0b49_0006.tmp'
> >>> >>
> >>> >> more detail:
> >>> >>
> >>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for
> object
> >>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> >>> >> editor.Resources.setUploadedFiles(java.lang.String)]
> >>> >>
> >>> >> I have this method:
> >>> >>
> >>> >> private File[] uploadedFiles = null;
> >>> >>
> >>> >> public void setUploadedFiles(File[] uploadedFiles) {
> >>> >> this.uploadedFiles = uploadedFiles;
> >>> >> }
> >>> >>
> >>> >>
> >>> >> It calls this method with a null?
> >>> >>
> >>> >>
> >>> >>
> >>> >>
> >>> >>
> >>> >> On 6 October 2016 at 20:31, Lukasz Lenart 
> >>> wrote:
> >>> >>
> >>> >>> Hi,
> >>> >>>
> >>> >>> Please take a time and test the bits - any help is appreciated.
> Please
> >>> >>> report any problems back. I'll call for vote in a week if no
> problems
> >>> >>> will be spotted.
> >>> >>>
> >>> >>> Staging Maven repo
> >>> >>> https://repository.apache.org/content/groups/staging/
> >>> >>>
> >>> >>> Standalone artifacts
> >>> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
> >>> >>>
> >>> >>> Release notes
> >>> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
> >>> >>>
> >>> >>>
> >>> >>> Thanks in advance
> >>> >>> --
> >>> >>> Łukasz
> >>> >>> + 48 606 323 122 http://www.lenart.org.pl/
> >>> >>>
> >>> >>> 
> -
> >>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
> >>> >>>
> >>> >>>
> >>>
> >>> -
> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: dev-h...@struts.apache.org
> >>>
> >>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


Re: Struts 2.5.4 is ready for test

2016-10-10 Thread Greg Huber
Well, just went back and retested it and now it works (nothing in the logs
and setting the hidden fields correctly), so don't know why it was doing it
yesterday.  A part from the upload, release looks OK.


On 10 October 2016 at 09:51, Lukasz Lenart  wrote:

> This is expected and it happens only devMode - it isn't NPE. Maybe the
> level is too high, WARN should be enough
>
> https://issues.apache.org/jira/browse/WW-4453
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2016-10-09 11:21 GMT+02:00 Greg Huber :
> > I have also notice that I now get strange npe exceptions where it seems
> not
> > to set values on my page bean.
> >
> > eg my bean:
> >
> > private Integer pageNum = new Integer(1);
> > public Integer getPageNum() {
> > return pageNum;
> > }
> > bean.setPageNum(getBean().getPageNum());
> >
> > On the page the hidden field does not have the value:
> >
> > 
> >
> > I went back to 2.5.2 and I do not get any exceptions, so its something
> new.
> >
> >  name="bean.pageNum
> > ">
> >
> >
> > In my logs I now also get:
> >
> > 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date
> Date:end -
> > Expression [bean.eventScheduledPubDate] passed to  tag which was
> > evaluated to [null](null) isn't instance of java.util.Date nor
> > java.util.Calendar!
> > 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date
> Date:end -
> > Expression [bean.eventExpireDate] passed to  tag which was
> > evaluated to [null](null) isn't instance of java.util.Date nor
> > java.util.Calendar!
> > 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date
> Date:end -
> > Expression [bean.updated] passed to  tag which was evaluated to
> > [null](null) isn't instance of java.util.Date nor java.util.Calendar!
> >
> >
> >
> >
> > On 7 October 2016 at 09:19, Lukasz Lenart 
> wrote:
> >
> >> Fixed :) I will give you some time and then I will prepare a new test
> >> build :)
> >>
> >> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
> >> > I see the problem, conversion doesn't work and I think know why :\
> >> fixing 
> >> >
> >> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
> >> >> On my dev box I get this error:
> >> >>
> >> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
> >> >> editor.Resources: Error setting expression 'uploadedFiles' with value
> >> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
> >> 8898_55c11fed0b49_0006.tmp'
> >> >>
> >> >> more detail:
> >> >>
> >> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for
> object
> >> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> >> >> editor.Resources.setUploadedFiles(java.lang.String)]
> >> >>
> >> >> I have this method:
> >> >>
> >> >> private File[] uploadedFiles = null;
> >> >>
> >> >> public void setUploadedFiles(File[] uploadedFiles) {
> >> >> this.uploadedFiles = uploadedFiles;
> >> >> }
> >> >>
> >> >>
> >> >> It calls this method with a null?
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >> On 6 October 2016 at 20:31, Lukasz Lenart 
> >> wrote:
> >> >>
> >> >>> Hi,
> >> >>>
> >> >>> Please take a time and test the bits - any help is appreciated.
> Please
> >> >>> report any problems back. I'll call for vote in a week if no
> problems
> >> >>> will be spotted.
> >> >>>
> >> >>> Staging Maven repo
> >> >>> https://repository.apache.org/content/groups/staging/
> >> >>>
> >> >>> Standalone artifacts
> >> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
> >> >>>
> >> >>> Release notes
> >> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
> >> >>>
> >> >>>
> >> >>> Thanks in advance
> >> >>> --
> >> >>> Łukasz
> >> >>> + 48 606 323 122 http://www.lenart.org.pl/
> >> >>>
> >> >>> 
> -
> >> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >> >>> For additional commands, e-mail: dev-h...@struts.apache.org
> >> >>>
> >> >>>
> >>
> >> -
> >> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >> For additional commands, e-mail: dev-h...@struts.apache.org
> >>
> >>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


Re: Struts 2.5.4 is ready for test

2016-10-10 Thread Lukasz Lenart
Done, I have reduced level to WARN and added prefix about Developer Notification

2016-10-10 10:51 GMT+02:00 Lukasz Lenart :
> This is expected and it happens only devMode - it isn't NPE. Maybe the
> level is too high, WARN should be enough
>
> https://issues.apache.org/jira/browse/WW-4453
>
>
> Regards
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> 2016-10-09 11:21 GMT+02:00 Greg Huber :
>> I have also notice that I now get strange npe exceptions where it seems not
>> to set values on my page bean.
>>
>> eg my bean:
>>
>> private Integer pageNum = new Integer(1);
>> public Integer getPageNum() {
>> return pageNum;
>> }
>> bean.setPageNum(getBean().getPageNum());
>>
>> On the page the hidden field does not have the value:
>>
>> 
>>
>> I went back to 2.5.2 and I do not get any exceptions, so its something new.
>>
>> 
>>
>>
>> In my logs I now also get:
>>
>> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date Date:end -
>> Expression [bean.eventScheduledPubDate] passed to  tag which was
>> evaluated to [null](null) isn't instance of java.util.Date nor
>> java.util.Calendar!
>> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date Date:end -
>> Expression [bean.eventExpireDate] passed to  tag which was
>> evaluated to [null](null) isn't instance of java.util.Date nor
>> java.util.Calendar!
>> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date Date:end -
>> Expression [bean.updated] passed to  tag which was evaluated to
>> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
>>
>>
>>
>>
>> On 7 October 2016 at 09:19, Lukasz Lenart  wrote:
>>
>>> Fixed :) I will give you some time and then I will prepare a new test
>>> build :)
>>>
>>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
>>> > I see the problem, conversion doesn't work and I think know why :\
>>> fixing 
>>> >
>>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>>> >> On my dev box I get this error:
>>> >>
>>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>>> >> editor.Resources: Error setting expression 'uploadedFiles' with value
>>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>>> 8898_55c11fed0b49_0006.tmp'
>>> >>
>>> >> more detail:
>>> >>
>>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for object
>>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>>> >> editor.Resources.setUploadedFiles(java.lang.String)]
>>> >>
>>> >> I have this method:
>>> >>
>>> >> private File[] uploadedFiles = null;
>>> >>
>>> >> public void setUploadedFiles(File[] uploadedFiles) {
>>> >> this.uploadedFiles = uploadedFiles;
>>> >> }
>>> >>
>>> >>
>>> >> It calls this method with a null?
>>> >>
>>> >>
>>> >>
>>> >>
>>> >>
>>> >> On 6 October 2016 at 20:31, Lukasz Lenart 
>>> wrote:
>>> >>
>>> >>> Hi,
>>> >>>
>>> >>> Please take a time and test the bits - any help is appreciated. Please
>>> >>> report any problems back. I'll call for vote in a week if no problems
>>> >>> will be spotted.
>>> >>>
>>> >>> Staging Maven repo
>>> >>> https://repository.apache.org/content/groups/staging/
>>> >>>
>>> >>> Standalone artifacts
>>> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>>> >>>
>>> >>> Release notes
>>> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>>> >>>
>>> >>>
>>> >>> Thanks in advance
>>> >>> --
>>> >>> Łukasz
>>> >>> + 48 606 323 122 http://www.lenart.org.pl/
>>> >>>
>>> >>> -
>>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>>> >>>
>>> >>>
>>>
>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: dev-h...@struts.apache.org
>>>
>>>

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



Re: Struts 2.5.4 is ready for test

2016-10-10 Thread Lukasz Lenart
This is expected and it happens only devMode - it isn't NPE. Maybe the
level is too high, WARN should be enough

https://issues.apache.org/jira/browse/WW-4453


Regards
-- 
Łukasz
+ 48 606 323 122 http://www.lenart.org.pl/

2016-10-09 11:21 GMT+02:00 Greg Huber :
> I have also notice that I now get strange npe exceptions where it seems not
> to set values on my page bean.
>
> eg my bean:
>
> private Integer pageNum = new Integer(1);
> public Integer getPageNum() {
> return pageNum;
> }
> bean.setPageNum(getBean().getPageNum());
>
> On the page the hidden field does not have the value:
>
> 
>
> I went back to 2.5.2 and I do not get any exceptions, so its something new.
>
> 
>
>
> In my logs I now also get:
>
> 2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date Date:end -
> Expression [bean.eventScheduledPubDate] passed to  tag which was
> evaluated to [null](null) isn't instance of java.util.Date nor
> java.util.Calendar!
> 2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date Date:end -
> Expression [bean.eventExpireDate] passed to  tag which was
> evaluated to [null](null) isn't instance of java.util.Date nor
> java.util.Calendar!
> 2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date Date:end -
> Expression [bean.updated] passed to  tag which was evaluated to
> [null](null) isn't instance of java.util.Date nor java.util.Calendar!
>
>
>
>
> On 7 October 2016 at 09:19, Lukasz Lenart  wrote:
>
>> Fixed :) I will give you some time and then I will prepare a new test
>> build :)
>>
>> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
>> > I see the problem, conversion doesn't work and I think know why :\
>> fixing 
>> >
>> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
>> >> On my dev box I get this error:
>> >>
>> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
>> >> editor.Resources: Error setting expression 'uploadedFiles' with value
>> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
>> 8898_55c11fed0b49_0006.tmp'
>> >>
>> >> more detail:
>> >>
>> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for object
>> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>> >> editor.Resources.setUploadedFiles(java.lang.String)]
>> >>
>> >> I have this method:
>> >>
>> >> private File[] uploadedFiles = null;
>> >>
>> >> public void setUploadedFiles(File[] uploadedFiles) {
>> >> this.uploadedFiles = uploadedFiles;
>> >> }
>> >>
>> >>
>> >> It calls this method with a null?
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> On 6 October 2016 at 20:31, Lukasz Lenart 
>> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> Please take a time and test the bits - any help is appreciated. Please
>> >>> report any problems back. I'll call for vote in a week if no problems
>> >>> will be spotted.
>> >>>
>> >>> Staging Maven repo
>> >>> https://repository.apache.org/content/groups/staging/
>> >>>
>> >>> Standalone artifacts
>> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>> >>>
>> >>> Release notes
>> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>> >>>
>> >>>
>> >>> Thanks in advance
>> >>> --
>> >>> Łukasz
>> >>> + 48 606 323 122 http://www.lenart.org.pl/
>> >>>
>> >>> -
>> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> >>> For additional commands, e-mail: dev-h...@struts.apache.org
>> >>>
>> >>>
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> For additional commands, e-mail: dev-h...@struts.apache.org
>>
>>

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



Re: Struts 2.5.4 is ready for test

2016-10-09 Thread Greg Huber
I have also notice that I now get strange npe exceptions where it seems not
to set values on my page bean.

eg my bean:

private Integer pageNum = new Integer(1);
public Integer getPageNum() {
return pageNum;
}
bean.setPageNum(getBean().getPageNum());

On the page the hidden field does not have the value:



I went back to 2.5.2 and I do not get any exceptions, so its something new.




In my logs I now also get:

2016-10-09 10:19:49,584 ERROR org.apache.struts2.components.Date Date:end -
Expression [bean.eventScheduledPubDate] passed to  tag which was
evaluated to [null](null) isn't instance of java.util.Date nor
java.util.Calendar!
2016-10-09 10:19:49,587 ERROR org.apache.struts2.components.Date Date:end -
Expression [bean.eventExpireDate] passed to  tag which was
evaluated to [null](null) isn't instance of java.util.Date nor
java.util.Calendar!
2016-10-09 10:19:49,603 ERROR org.apache.struts2.components.Date Date:end -
Expression [bean.updated] passed to  tag which was evaluated to
[null](null) isn't instance of java.util.Date nor java.util.Calendar!




On 7 October 2016 at 09:19, Lukasz Lenart  wrote:

> Fixed :) I will give you some time and then I will prepare a new test
> build :)
>
> 2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
> > I see the problem, conversion doesn't work and I think know why :\
> fixing 
> >
> > 2016-10-07 9:21 GMT+02:00 Greg Huber :
> >> On my dev box I get this error:
> >>
> >> Unexpected Exception caught setting 'uploadedFiles' on 'class
> >> editor.Resources: Error setting expression 'uploadedFiles' with value
> >> '/home/../MyProject/work/upload_ff205289_3c03_4a59_
> 8898_55c11fed0b49_0006.tmp'
> >>
> >> more detail:
> >>
> >> ognl.MethodFailedException: Method "setUploadedFiles" failed for object
> >> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> >> editor.Resources.setUploadedFiles(java.lang.String)]
> >>
> >> I have this method:
> >>
> >> private File[] uploadedFiles = null;
> >>
> >> public void setUploadedFiles(File[] uploadedFiles) {
> >> this.uploadedFiles = uploadedFiles;
> >> }
> >>
> >>
> >> It calls this method with a null?
> >>
> >>
> >>
> >>
> >>
> >> On 6 October 2016 at 20:31, Lukasz Lenart 
> wrote:
> >>
> >>> Hi,
> >>>
> >>> Please take a time and test the bits - any help is appreciated. Please
> >>> report any problems back. I'll call for vote in a week if no problems
> >>> will be spotted.
> >>>
> >>> Staging Maven repo
> >>> https://repository.apache.org/content/groups/staging/
> >>>
> >>> Standalone artifacts
> >>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
> >>>
> >>> Release notes
> >>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
> >>>
> >>>
> >>> Thanks in advance
> >>> --
> >>> Łukasz
> >>> + 48 606 323 122 http://www.lenart.org.pl/
> >>>
> >>> -
> >>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> >>> For additional commands, e-mail: dev-h...@struts.apache.org
> >>>
> >>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


Re: Struts 2.5.4 is ready for test

2016-10-07 Thread Lukasz Lenart
Fixed :) I will give you some time and then I will prepare a new test build :)

2016-10-07 9:29 GMT+02:00 Lukasz Lenart :
> I see the problem, conversion doesn't work and I think know why :\ fixing 
>
> 2016-10-07 9:21 GMT+02:00 Greg Huber :
>> On my dev box I get this error:
>>
>> Unexpected Exception caught setting 'uploadedFiles' on 'class
>> editor.Resources: Error setting expression 'uploadedFiles' with value
>> '/home/../MyProject/work/upload_ff205289_3c03_4a59_8898_55c11fed0b49_0006.tmp'
>>
>> more detail:
>>
>> ognl.MethodFailedException: Method "setUploadedFiles" failed for object
>> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
>> editor.Resources.setUploadedFiles(java.lang.String)]
>>
>> I have this method:
>>
>> private File[] uploadedFiles = null;
>>
>> public void setUploadedFiles(File[] uploadedFiles) {
>> this.uploadedFiles = uploadedFiles;
>> }
>>
>>
>> It calls this method with a null?
>>
>>
>>
>>
>>
>> On 6 October 2016 at 20:31, Lukasz Lenart  wrote:
>>
>>> Hi,
>>>
>>> Please take a time and test the bits - any help is appreciated. Please
>>> report any problems back. I'll call for vote in a week if no problems
>>> will be spotted.
>>>
>>> Staging Maven repo
>>> https://repository.apache.org/content/groups/staging/
>>>
>>> Standalone artifacts
>>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>>>
>>> Release notes
>>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>>>
>>>
>>> Thanks in advance
>>> --
>>> Łukasz
>>> + 48 606 323 122 http://www.lenart.org.pl/
>>>
>>> -
>>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>>> For additional commands, e-mail: dev-h...@struts.apache.org
>>>
>>>

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



Re: Struts 2.5.4 is ready for test

2016-10-07 Thread Lukasz Lenart
I see the problem, conversion doesn't work and I think know why :\ fixing 

2016-10-07 9:21 GMT+02:00 Greg Huber :
> On my dev box I get this error:
>
> Unexpected Exception caught setting 'uploadedFiles' on 'class
> editor.Resources: Error setting expression 'uploadedFiles' with value
> '/home/../MyProject/work/upload_ff205289_3c03_4a59_8898_55c11fed0b49_0006.tmp'
>
> more detail:
>
> ognl.MethodFailedException: Method "setUploadedFiles" failed for object
> editor.Resources@77de4446 [java.lang.NoSuchMethodException:
> editor.Resources.setUploadedFiles(java.lang.String)]
>
> I have this method:
>
> private File[] uploadedFiles = null;
>
> public void setUploadedFiles(File[] uploadedFiles) {
> this.uploadedFiles = uploadedFiles;
> }
>
>
> It calls this method with a null?
>
>
>
>
>
> On 6 October 2016 at 20:31, Lukasz Lenart  wrote:
>
>> Hi,
>>
>> Please take a time and test the bits - any help is appreciated. Please
>> report any problems back. I'll call for vote in a week if no problems
>> will be spotted.
>>
>> Staging Maven repo
>> https://repository.apache.org/content/groups/staging/
>>
>> Standalone artifacts
>> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>>
>> Release notes
>> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>>
>>
>> Thanks in advance
>> --
>> Łukasz
>> + 48 606 323 122 http://www.lenart.org.pl/
>>
>> -
>> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
>> For additional commands, e-mail: dev-h...@struts.apache.org
>>
>>

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



Re: Struts 2.5.4 is ready for test

2016-10-07 Thread Greg Huber
On my dev box I get this error:

Unexpected Exception caught setting 'uploadedFiles' on 'class
editor.Resources: Error setting expression 'uploadedFiles' with value
'/home/../MyProject/work/upload_ff205289_3c03_4a59_8898_55c11fed0b49_0006.tmp'

more detail:

ognl.MethodFailedException: Method "setUploadedFiles" failed for object
editor.Resources@77de4446 [java.lang.NoSuchMethodException:
editor.Resources.setUploadedFiles(java.lang.String)]

I have this method:

private File[] uploadedFiles = null;

public void setUploadedFiles(File[] uploadedFiles) {
this.uploadedFiles = uploadedFiles;
}


It calls this method with a null?





On 6 October 2016 at 20:31, Lukasz Lenart  wrote:

> Hi,
>
> Please take a time and test the bits - any help is appreciated. Please
> report any problems back. I'll call for vote in a week if no problems
> will be spotted.
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>
>
> Thanks in advance
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>


Re: Struts 2.5.4 is ready for test

2016-10-07 Thread Greg Huber
I have also noticed, just now,  that the file upload seems not to work.
and here are no error messages in the logs.  Will have a closer look.

On 6 October 2016 at 20:31, Lukasz Lenart  wrote:

> Hi,
>
> Please take a time and test the bits - any help is appreciated. Please
> report any problems back. I'll call for vote in a week if no problems
> will be spotted.
>
> Staging Maven repo
> https://repository.apache.org/content/groups/staging/
>
> Standalone artifacts
> https://dist.apache.org/repos/dist/dev/struts/2.5.4/
>
> Release notes
> https://cwiki.apache.org/confluence/display/WW/Version+Notes+2.5.4
>
>
> Thanks in advance
> --
> Łukasz
> + 48 606 323 122 http://www.lenart.org.pl/
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org
> For additional commands, e-mail: dev-h...@struts.apache.org
>
>