[
https://issues.jboss.org/browse/GTNCOMMON-17?page=com.atlassian.jira.plug...
]
Peter Palaga resolved GTNCOMMON-17.
-----------------------------------
Fix Version/s: 2.2.2.Final
Resolution: Done
NPE when decode a value encoded from latin character
----------------------------------------------------
Key: GTNCOMMON-17
URL:
https://issues.jboss.org/browse/GTNCOMMON-17
Project: GateIn Common
Issue Type: Bug
Reporter: Khoi Nguyen
Fix For: 2.2.2.Final
Attachments: encoder.patch
I used FastURLEncoder to encode some value like '%FF%EE', however I got a
NullPointerException as following
{code}
java.lang.NullPointerException
at
org.gatein.common.text.FastURLDecoder$LookupNonTerm.access$100(FastURLDecoder.java:267)
at org.gatein.common.text.FastURLDecoder.safeEncode(FastURLDecoder.java:215)
at org.gatein.common.text.AbstractCharEncoder.encode(AbstractCharEncoder.java:87)
at org.gatein.common.http.TestDecode.main(TestDecode.java:46)
{code}
I also attach a patch for testcase. Look at on it please
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira