Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error is coming while launching the application

 
aryan Sharma
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi guys..i am getting an exception while launching my application. i am trying to launch a swing application. It gives the following error...


An error occurred while launching/running the application.

Title: Test Demo Application
Vendor: Test Software inc.
Category: Unexpected Error

Unexpected exception: java.lang.Exception

My launch file (JNLP file ) is as follows

<?xml version="1.0" encoding="utf-8"?>

<!-- JNLP File for SwingSet2 Demo Application -->

<jnlp

spec="1.0+"

codebase="http://localhost:8080/base/test"

href="TestJavaWebStart.jnlp">

<information>

<title>Test Demo Application</title>

<vendor>Test Software inc.</vendor>

<description kind="short">A demo of the capabilities of the Swing Graphical User Interface.</description>

<offline-allowed/>

</information>

<security>

<all-permissions/>

</security>

<resources>

<j2se version="1.3"/>

<jar href="test.jar"/>

</resources>

<application-desc main-class="com.test.main.testdownload"/>

</jnlp>


can someone tell me what exactly is the problem
 
Jared Cope
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Can you post a little more info? There are several tabs in the webstart error dialog -- one has a stack trace which will be useful to explain the exception further.

Cheers, jared.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic