• 1 reply
  • Latest Post - ‏2014-04-01T05:34:56Z by Hoozuki
1 Post

Pinned topic NullPointerException in nextBytes method on AIX

‏2012-10-02T16:11:49Z |
I am getting NullpointerException in my application for the following code.

File tempFile = File.createTempFile("abcd", null);

The stackTrace shows the exception has occurred in

The exception only occurs in AIX and the same application works fine in Windows and Linux environments. Can someone tell me why I am getting the exception? Thanks.

The Java version information on the server is:

  1. java -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build pap32devifx-20101008a (SR12 FP2 ))
IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 AIX ppc-32 j9vmap3223ifx-20101008 (JIT enabled)
J9VM - 20101007_66049_bHdSMr
JIT - 20100623_16197ifx1_r8
GC - 20100211_AA)
JCL - 20101008
  • [L]uis
    1 Post

    Re: NullPointerException in nextBytes method on AIX



    I have the same error, did you find any way to solve this?