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

java.util.Random.NextLong not implemented

    XMLWordPrintable

    Details

      Description

      Seems we've seen this problem before - nextLong is being used somewhere in the Jalview -> jmol highlight execution path - this one completely breaks JalviewJS...

      transpiler was 3.3.1-v1 now 3.2.9-v1 for org.jmol.scriptext.MathExt
      java.util.Random.nextLong$ has not been implemented in SwingJS.
      0 swingjs.JSUtil.getStackTrace$I(n)
      at Clazz._getStackTrace (https://www.jalview.org/jalview-js/develop/swingjs/swingjs2.js:15760:8)
          
      args[0]=-5
      1 swingjs.JSUtil.notImplemented$S(msg)
      at Function.eval [as getStackTrace$I] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/swingjs/JSUtil.js:275:14)
          
      args[0]=null
      2 java.util.Random.nextLong$()
      at Function.eval [as notImplemented$S] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/swingjs/JSUtil.js:292:120)
          
      3 jalview.gui.StructureViewerBase.startProgressBar$S(msg)
      at clazz.eval [as nextLong$] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/java/util/Random.js:95:8)
          
      args[0]=Colouring structures
      4 jalview.structures.models.AAStructureBindingModel.executeCommand$Z$S$jalview_structure_StructureCommandIA(getReply, msg, cmds)
      at Object.eval [as startProgressBar$S] (https://www.jalview.org/jalview-js/develop/swingjs/j2s/jalview/gui/StructureViewerBase.js:633:20)
          
      args[0]=false
      args[1]=Colouring structures
      args[2]=select 1:A/1.1;color[163,188,27];select 2-28:A/1.1|58-98:A/1...
          
      see Clazz._stack
      transpiler was 3.2.9-v1 now 3.3.1-v1 for jalview.structure.AtomSpec
      transpiler was 3.3.1-v1 now 3.2.9-v1 for org.jmol.render.HoverRenderer

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated: