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

JNLP Visual Editor - codebase not synchronized with command

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 6
    • 6
    • deploy
    • generic
    • generic

      The $$codebase not synchronized with command "Run with Java Web Start" and "Deploy with Java Web Start"
      NetBeans build:
      NetBeans IDE 5.0 Beta Build200509261930
      JNLP Plug-in build:
      17-Oct-2005 14:28:01

      Steps:
      -----
      1. Create a new Java Application(JavaApplication1) or open an existing one .
      2. Select this application in Projects View , right click mouse and invoke "Enable Java Web Start" from contextual menu .
      3. Invoke "Deploy with Java Web Start" . Notice that the "codebase" be updated to "$$codebase"
      4. Make some change on the jnlp file in JNLP Visual Editor , say , change the "Title" .
      5. Invoke "Run with Java Web Start"

      BadFieldException thrown and the app failed to be launched with error :
      The field <jnlp>codebase has an invalid value: $$codebase
      In the latest build :
      v10 18-Oct-2005 15:49:09

      Exception thrown while invoke "Run with Java Web Start" and "Debug with Java Web Start"

      BadFieldException[ The field <jnlp>codebase has an invalid value: $$codebase,$$codebase]
      at com.sun.javaws.jnl.XMLUtils.getAttributeURL(XMLUtils.java:102)
      at com.sun.javaws.jnl.XMLUtils.getAttributeURL(XMLUtils.java:108)
      at com.sun.javaws.jnl.XMLFormat.parse(XMLFormat.java:83)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:46)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:58)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:81)
      at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(LaunchDescFactory.java:98)
      at com.sun.javaws.Main.launchApp(Main.java:182)
      at com.sun.javaws.Main.main(Main.java:136)

            Unassigned Unassigned
            amlu Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: