Reputation: 2918
This has been driving me crazy and maybe someone here can help me out. I have created a layout using Netbeans 7.0.1 using swing - its a SingleFrameApplication. Now on my laptop i have Netbeans version 7.1.1, as of 7.1.1 the UI panel is not supported anymore however the code should still compile?. It does not, i get this error, does anyone know of any solution or why it does it?
Upvotes: 0
Views: 360
Reputation: 4057
What you posted above is a stack trace, but it's too long for all of it to be included. All we really care about is the last part that begins with java.lang.nullPointerException You can place your launch code into a try catch block like this:
try {
yourApp.launch();
{
catch(NullPointerException ug) {
ug.printStackTrace();
}
Upvotes: 0
Reputation: 16109
If I remember correctly, NetBeans 6.5 used some custom layouts which you explicitly had to add to your distribution, otherwise the app would fail to start. This sounds similar, but please do post the rest of the stack trace.
Upvotes: 0