This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 159559 - NullPointerException when running application
Summary: NullPointerException when running application
Status: RESOLVED DUPLICATE of bug 143964
Alias: None
Product: platform
Classification: Unclassified
Component: Action Items (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P4 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-03 18:54 UTC by jmkyria
Modified: 2009-03-05 08:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Messages.log (130.91 KB, text/plain)
2009-03-03 18:55 UTC, jmkyria
Details
Same Login JFrame with 4 Different Backgrounds (51.69 KB, image/jpeg)
2009-03-03 19:06 UTC, jmkyria
Details
NetBeans Error Dialog & Details NPException (198.67 KB, image/jpeg)
2009-03-03 19:08 UTC, jmkyria
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jmkyria 2009-03-03 18:54:06 UTC
when I try to run my application, nothing is displayed inside of its initial (login) JFrame.  Everything inside the
JFrame is missing and is *totally transparent* to whatever is behind the JFrame window.  When I clicked on the icon at
the very bottom right of the IDE window, a dialog came up displaying a java.lang.NullPointerException error and
instructed me to file an issue report with the IDE's log file.  This is a new computer with Windows Vista o/s.  I
installed Netbeans 6.5 and all of its updates (which were two separate update events - after the reboot from/after the
first update, Netbeans said there was another set of updates).  If you want to know what the initial login frame looks
like, it is a slightly newer version of the application runnable from: www.gvsi.com.  My projects' source code inside of
NetBeans worked just the day before on my (older PC system) Windows XP Professional PC.  I tried changing Vista's Aero
settings: Personalization > Window Color and Appearance > Enable transparency disabled  & "Open classic appearance
properties for more color options" The first did nothing.  The classic appearance applied two visibly different changes
to the windows.  After the second visual changes, I could finally see what was inside the JFrame, but could NOT get
keyboard focus into either of the login text boxes.  Trying to exit out of the login JFrame brings up a similarly empty
transparent dialog that should ask if I'm sure I want to exit.  Every windows application, e.g. Firefox, StarTeam
Client, notepad, calculator, IE, windows explorer, etc., work and display just fine.  The NetBeans IDE appears to work
just fine too -- at least until I try to run my application.
Comment 1 jmkyria 2009-03-03 18:55:42 UTC
Created attachment 77663 [details]
Messages.log
Comment 2 jmkyria 2009-03-03 19:06:44 UTC
Created attachment 77664 [details]
Same Login JFrame with 4 Different Backgrounds
Comment 3 jmkyria 2009-03-03 19:08:58 UTC
Created attachment 77665 [details]
NetBeans Error Dialog & Details NPException
Comment 4 jmkyria 2009-03-03 23:22:35 UTC
The transparent inside of my JFrame windows is no longer an issue.  I found that part was due to including
-Dsun.java2d.opengl=True in my Run VM Options.  Once I took this out, my windows now display correctly.  I guess my new
NVIDIA Quadro FX570 must not support Java with open gl, despite NVIDIA saying that it does support OpenGL 2.1.  (I will
also look to see if my driver needs updating or is defective.)

So, please ignore that part of this issue.  The only issue remaining is the null pointer exception which is not
currently a problem for me.  I uninstalled NetBeans and re-installed it and did NOT apply the two updates.  Possibly
that is why I do not get the NPE's or perhaps that's something else.
Comment 5 Andrei Chistiakov 2009-03-04 14:12:41 UTC
Looks like this is related to tasklist component though I'm not sure. Could anybody working on tasklist component please
take a look at the stacktrace attached? Thank you.
Comment 6 Stanislav Aubrecht 2009-03-05 08:57:26 UTC

*** This issue has been marked as a duplicate of 143964 ***