Re: 3D Display Error

Hi Tan Toh Fei,

> I try to run the tutorial programs in windows NT 4.0 and I have a problem to
> execute the 3D graph. (2D is alright). what shall be the problem? Thank you.
> Error Message:
> Exception in thread "main" java.lang.NullPointerException
>         at P3_09.main(
> P/S: The OpenGL.DLL file is in proper directory. Do I need DirectX from
> Microsoft to generate the 3D graph?

This is a mystery, because line 98 of is a comment:

    //                           double first2, double last2, lengthY)

and cannot be the location of a NullPointerException.  Such
an Exception would probably not be caused by an incorrect
OpenGL or DirectX installation.  Can you please tell what
line of code is line 98 in your copy of

Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738

  • 2000 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: