Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6435922

application cannot launch from offline-shortcut anymore if application cached resource is removed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • deploy
    • None
    • 5.0
    • b92
    • generic
    • generic

      User of the RPI Scheduler has reported a problem in their forum:

      http://rpischeduler.com/forums/viewtopic.php?t=6

      "I keep getting a error everytime I try to open RPI Scheduler. I've tried reinstalling both RPI Scheduler and Java, but the same error comes up. "

      These are the messages in the error window:


      The stack trace is:

      General:

      An error occurred while launching/running the application.

      Title: RPI Scheduler
      Vendor: RPI Scheduler
      Category: Unexpected Error

      Unexpected exception: java.lang.reflect.InvocationTargetException

      Launch File:

      <?xml version="1.0" encoding="utf-8"?>
      <!DOCTYPE jnlp PUBLIC "-//Sun Microsystems, Inc//DTD JNLP Discriptor 1.1//EN"
      "http://kano.net/dtd/jnlp-1.5.dtd">
      <jnlp spec="1.5"
      codebase="http://rpischeduler.com/install/run/"
      href="rpischeduler.jnlp">
      <information>
      <title>RPI Scheduler</title>
      <vendor>RPI Scheduler</vendor>
      <homepage href="http://www.rpischeduler.com" />
      <description>Makes scheduling classes at RPI fast and easy.</description>
      <description kind="short">RPI class scheduler</description>
      <description kind="tooltip">RPI Scheduler</description>

      <!-- <icon href="icon-16x16.gif" kind="" width="16" height="16" />-->
      <icon href="main-icon.gif" width="32" height="32" />

      <offline-allowed/>

      <association extensions="schedule" mime-type="text/x-course-schedule" />
      <shortcut online="false">
      <desktop/>
      <menu/>
      </shortcut>
      </information>

      <security>
      <all-permissions />
      </security>

      <resources>
      <j2se version="1.5+" />
      <property name="scheduler.dburl" value="out.schedb"/>
      <property name="scheduler.ui.configfile" value="rpi.schedui"/>

      <jar href="ui.jar"/>
      <jar href="engine.jar"/>
      <jar href="common.jar" />
      <jar href="db.jar" />
      <jar href="forms_rt.jar" />
      <jar href="jdom.jar" />
      </resources>
      <resources os="Windows">
      <jar href="winlaf.jar" />
      <nativelib href="winlaf-native.jar"/>
      </resources>
      <application-desc main-class="edu.rpi.scheduler.ui.Scheduler" />
      </jnlp>

      Exception:

      java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at com.sun.javaws.Launcher.executeApplication(Unknown Source)
      at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
      at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
      at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
      at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
      at com.sun.javaws.Launcher.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      Caused by: java.lang.NoClassDefFoundError: edu/rpi/scheduler/schedb/SectionDescriptor
      at edu.rpi.scheduler.ui.Scheduler.initLogging(Scheduler.java:102)
      at edu.rpi.scheduler.ui.Scheduler.main(Scheduler.java:62)
      ... 11 more

            ngthomas Thomas Ng (Inactive)
            ngthomas Thomas Ng (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: