JDK-6924100 : 2 Charset tests failed with NPE with 1.4.2_25 nightly build
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.4.2_25
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2010-02-07
  • Updated: 2011-01-19
  • Resolved: 2010-02-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other Other
1.4.2_25-rev b04Fixed 1.4.2_26-revFixed 1.4.2_27Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
The following 2 test failed with nightly build 1.4.2_25
java_nio/Charsets/CharsetProviderTest
java_io/CharacterEncoding/NIOCharsetAvailabilityTest
Exception message:

Exception in thread "main" java.lang.NullPointerException
        at java.nio.charset.Charset.put(Charset.java:495)
        at java.nio.charset.Charset.access$300(Charset.java:245)
        at java.nio.charset.Charset$4.run(Charset.java:534)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.nio.charset.Charset.availableCharsets(Charset.java:527)
        ...


JDK/JRE tested:   1.4.2_25-rev-b00 nightly build
OS/architecture: all
Reproducible: always
Reproducible on machine: stt-37
Is it a Regression: Y
Test run log location:
http://vice.russia.sun.com/gtee/1.4.2_25/nightly/b00-2010-02-04_j4b/linux-i586/libs/linux-i586-nightly/libs_stt-nightly_linux-i586-nightly/ResultDir/CharsetProviderTest/

http://vice.russia.sun.com/gtee/1.4.2_25/nightly/b00-2010-02-04_j4b/linux-i586/libs/linux-i586-nightly/libs_stt-nightly_linux-i586-nightly/ResultDir/NIOCharsetAvailabilityTest/

Steps to reproduce:
#ssh ###@###.###
#cd /export/local/48825.1.4.2_Nightly-STT+libs_stt-nightly_linux-i586-nightly/results/ResultDir/CharsetProviderTest
# sh CharsetProviderTest.sh

Comments
EVALUATION This is likely to be the same issue as 6907974.
08-02-2010