Closed
Bug 7042
Opened 25 years ago
Closed 25 years ago
StringBundle should check for NULL pointer too
Categories
(Core :: Internationalization, defect, P3)
Core
Internationalization
Tracking
()
VERIFIED
FIXED
M7
People
(Reporter: erik, Assigned: erik)
Details
Rich Pizzarro wrote:
ConverterInputStream::ConverterInputStream(nsIInputStream * 0x00000000,
nsIUnicodeDecoder *
0x038e1de0, unsigned int 0) line 188 + 12 bytes
NS_NewConverterStream(nsIUnicharInputStream * * 0x038e2128, nsISupports *
0x00000000,
nsIInputStream * 0x00000000, int 0, nsString * 0x00000000) line 309 + 39 bytes
nsPersistentProperties::Load(nsPersistentProperties * const 0x038e2120,
nsIInputStream *
0x00000000) line 182 + 22 bytes
nsStringBundle::nsStringBundle(nsIURL * 0x038e2290, nsILocale * 0x00000000,
unsigned int *
0x017ef8e4) line 94 + 22 bytes
nsStringBundleService::CreateBundle(nsStringBundleService * const 0x038e2450,
nsIURL * 0x038e2290,
nsILocale * 0x00000000, nsIStringBundle * * 0x017ef988) line 151 + 39 bytes
Where the input stream is null. Any ideas?
Yes. Does the property file actually exist, and is it in the right directory?
There is a netlib bug where it returns a success code even though it
hasn't succeeded. I guess my code could check the null pointer as well as
checking the result code. I will try to check in a fix for this soon,
but could you try putting the property file there?
Erik
Assignee | ||
Updated•25 years ago
|
Status: NEW → ASSIGNED
Target Milestone: M7
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Updated•25 years ago
|
QA Contact: teruko → erik
Assignee | ||
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•