RE: 3D Display Error

One other thing to check is whether any of your other Java3D programs
are working properly.  Try running some of the Java3D examples.  It
might be that Java3D is not set up properly.

-Curtis

At 12:28 10-06-00 +0800, you wrote:
>Dear Bill,
>
>You are really helpful. I try to download the program and recompile and
>execute it.
>
>Exception in thread "main" java.lang.NullPointerException
>         at P3_09.main(P3_09.java:215)
>
>Same error message appeared without any modification.
>
>Line 215 is :  " new P3_09(args); " under function main.
>
>Best regards,
>
> > -----Original Message-----
> > From: From: Bill Hibbard <hibbard@xxxxxxxxxxxxxxxxx>
> > [SMTP:billh@xxxxxxxxxxxxx]
> > Sent: Saturday, June 10, 2000 11:40 AM
> > To:   #TAN TOH FEI#
> > Cc:   visad-list@xxxxxxxxxxxxx
> > Subject:      RE: 3D Display Error
> > 
> > > Its "new P3_09(args)", instantiate the object. I suspect something wrong
> > > with the DisplayImplJ3D coz if I removed the mapping of Z Axis and use
> > > DisplayImplJ2D, the program is running well.
> > 
> > I was able to run P3_09 without any Exception.  Please download
> > a new copy of P3_09.java from:
> > 
> >   http://www.ssec.wisc.edu/~billh/tutorial/s3/P3_09.java
> > 
> > then compile it with:
> > 
> >   javac -g P3_09.java
> > 
> > and run it with:
> > 
> >   java P3_09
> > 
> > Please do not modify it in any way.  Let me know if the
> > unmodified version throws an Exception.
> > 
> > Bill
> > ----------------------------------------------------------
> > Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
> > hibbard@xxxxxxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
> > http://www.ssec.wisc.edu/~billh/vis.html
> > 


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