aspose file tools*
The moose likes Applets and the fly likes Applet InvocationTargetException Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Applet InvocationTargetException" Watch "Applet InvocationTargetException" New topic
Author

Applet InvocationTargetException

Jonathan Smiths
Greenhorn

Joined: Jan 29, 2010
Posts: 15
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
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

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

Joined: Jan 29, 2010
Posts: 15
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
Bartender

Joined: Oct 14, 2005
Posts: 18987
    
    8

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
 
subject: Applet InvocationTargetException