Bugs: Browse | Submit New | Admin

[#20105] NULL pointer error

Date:
2008-05-13 01:58
Priority:
3
Submitted By:
ryan king (ryansking)
Assigned To:
Erik Abele (erikabele)
Category:
General
State:
Open
Summary:
NULL pointer error

Detailed description
>> IDN::Stringprep.nfkc_normalize("\342")
ArgumentError: NULL pointer given
	from (irb):9:in `nfkc_normalize'
	from (irb):9


I'm not sure if "\342" is even a valid string for IDN, but it's a situation I'm encountering in the wild and
it'd be nice if, at the very least, the error was more specific than ArgumentError.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2008-06-22 15:28
Sender: Erik Abele

Thanks for the report - I agree that the error could be more
specific. I'll give it a look soon...

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
resolution_idNone2008-06-22 15:28erikabele
category_idNone2008-06-22 15:28erikabele
assigned_tonone2008-06-22 15:28erikabele