File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Applet InvocationTargetException

 
Jonathan Smiths
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey guys ,

I am trying to make some kind of scrolling shooter in java.
Therefore I want to create an applet, capable of running in a browser.
My applet is running just fine when used in development environment Eclipse.
When I try to run the applet in the browser (firefox) however, I got the following error:



I use multiple JPanels for a login screen and a home screen. My applet is signed to obtain rights for reading files.
There is nothing in the error message that gives me a clue on what the problem is with the code.
The project is too big to post all the code. If you'd need some code to help me, please be specific on which code it has to be.
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Actually seeing the code would probably be useless. Seeing the stack trace would be useful, but unfortunately it appears you cut it off above the place where the key exception is.
 
Jonathan Smiths
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not exactly sure how to get a full stacktrace in Eclipse, I will search that out later.
For now I've solved my problem, I loaded the wrong main class in the html file.
Thanks for the reply.
 
Paul Clapham
Sheriff
Pie
Posts: 20185
26
MySQL Database
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, it's usually configuration and not code when applets have problems. Good thing it was an easy one.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic