Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

run time error  RSS feed

 
sri dinesh
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am developing a java destop application on netbens moduel iam unable to run the application

@Override protected void startup() { (26)
show(new DesktoptestrunnerView(this));
}

/**
* Main method launching the application.(46)
* @param args
*/
the error which i am facing is
SEVERE: Application class desktoptestrunner.DesktoptestrunnerApp failed to launch
java.lang.RuntimeException: Uncompilable source code - Erroneous sym type: org.jdesktop.application.FrameView.<init>
at desktoptestrunner.DesktoptestrunnerView.<init>(DesktoptestrunnerView.java:46)
at desktoptestrunner.DesktoptestrunnerApp.startup(DesktoptestrunnerApp.java:26)
 
Mohamed Sanaulla
Bartender
Posts: 3179
34
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is the code you are trying to compile?
 
Rob Spoor
Sheriff
Posts: 21090
85
Chrome Eclipse IDE Java Windows
  • Likes 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never try to run code while it still has compiler errors. Netbeans is telling you the problem, you just ignore it. My guess is that org.jdesktop.application.FrameView can't be found which means that you have a class path issue, but without the exact Netbeans error message nobody can tell.
 
Jj Hill
Ranch Hand
Posts: 41
Chrome Java Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Give us the code. We don't know where line 46 is
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!