Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4237

sun.management.ManagementFactoryHelper not found when Opening preferences

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Blocker
    • Resolution: Unresolved
    • Affects Version/s: 2.11.3.0
    • Fix Version/s: 2.11.3.0
    • Component/s: jalview-j2s
    • Labels:
    • Urgency:
      Highest

      Description

      Can't open preferences in JalviewJS without errors ..


      [Java2Script] The required class file
          
      https://www.jalview.org/jalview-js/develop/swingjs/j2s/sun/management/ManagementFactoryHelper.js
      was not found.
          
          
      SyntaxError: Unexpected token '<'
      at evaluate (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16507:30)
      at Clazz.loadScript (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16605:5)
      at _Loader.loadClass._Loader.loadClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16370:10)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16570:15)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      at Clazz._initClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16525:24)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16582:9)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1711:27)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1638:29)
      [Java2Script] The required class file
          
      https://www.jalview.org/jalview-js/develop/swingjs/j2s/sun/management/ManagementFactoryHelper.js
      was not found.
          
          
      SyntaxError: Unexpected token '<'
      at evaluate (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16507:30)
      at Clazz.loadScript (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16605:5)
      at _Loader.loadClass._Loader.loadClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16370:10)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16570:15)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      at Clazz._initClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16525:24)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16582:9)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1650:27)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1533:21)
      [Java2Script] The required class file
          
      https://www.jalview.org/jalview-js/develop/swingjs/j2s/sun/management/ManagementFactoryHelper.js
      was not found.
          
          
      SyntaxError: Unexpected token '<'
      at evaluate (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16507:30)
      at Clazz.loadScript (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16605:5)
      at _Loader.loadClass._Loader.loadClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16370:10)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16570:15)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      at Clazz._initClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16525:24)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16582:9)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1711:27)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1591:29)
      [Java2Script] The required class file
          
      https://www.jalview.org/jalview-js/develop/swingjs/j2s/sun/management/ManagementFactoryHelper.js
      was not found.
          
          
      SyntaxError: Unexpected token '<'
      at evaluate (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16507:30)
      at Clazz.loadScript (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16605:5)
      at _Loader.loadClass._Loader.loadClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16370:10)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16570:15)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      TypeError: Cannot read properties of undefined (reading '$clinit$')
      at Clazz._initClass (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16525:24)
      at Clazz._4Name (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:16582:9)
      at Clazz.load (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:14472:16)
      at $I$ (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:1:310)
      at Function.eval [as getOperatingSystemMXBean$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/lang/management/ManagementFactory.js:37:8)
      at Function.eval [as getPhysicalMemory$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/GetMemory.js:10:14)
      at Function.eval [as getMemorySetting$S$S$Z$Z] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/bin/MemorySetting.js:65:24)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1722:13)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1737:27)
      at Object.eval (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/jbgui/GPreferences.js:1592:29)
      JSDesktopIconUI SURRAGATE -- NOT IMPLEMENTED YET!

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: