History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: APF-804
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Matt Raible
Reporter: Matt Raible
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
AppFuse

NPE in XWorkConverter.loadConversionProperties after adding DateConverter

Created: 06/Jun/07 12:32 PM   Updated: 01/May/08 02:24 AM
Component/s: Web - Struts
Affects Version/s: 2.0-RC1
Fix Version/s: 2.1


 Description  « Hide
After fixing APF-736, there's a NPE that occurs when testing Actions. It seems harmless, but it's annoying. Read more about it at:

http://www.nabble.com/Testing-error-after-adding-DateConverter-tf3868021.html#a10958599

Unfortunately, the Struts list has provided no solution at this time.

 All   Comments   Change History   FishEye      Sort Order:
Matt Raible - 07/Jun/07 10:11 AM
Created issue in Struts JIRA for this: https://issues.apache.org/struts/browse/WW-1978

Matt Raible - 08/Oct/07 01:06 PM
Will be fixed in Struts 2.1, which will likely be released in the next few months.

oscar - 16/Apr/08 03:25 PM
Still not working for 2.1.1.
Maybe there is no need of custom date converter when upgrading to 2.1 (at least not for datetimepickers). See:

http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html

This workaround could be used in the meantime:

https://issues.apache.org/struts/browse/WW-2471

I am using it and it is working fine for me.