Post Reply 
 
Thread Rating:
  • 1 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error in dmelt 2.1 (21/10/2017
11-04-2017, 08:26 PM
Post: #1
Exclamation Error in dmelt 2.1 (21/10/2017
I installed a fresh copy of dmelt 2.1 (Win10/64bit/Java 8u151) . the program errors while starting up:
Current directory C:\dmelt
64-Bit O/S detected
Start DataMelt IDE ..
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.python.core.io.BufferedReader.clear(BufferedReader.java:147)
at org.python.core.io.BufferedReader.<init>(BufferedReader.java:27)
at org.python.core.PyFile.createBuffer(PyFile.java:227)
at org.python.core.PyFile.file___init__(PyFile.java:185)
at org.python.core.PyFile.file___init__(PyFile.java:178)
at org.python.core.PyFile.<init>(PyFile.java:101)
at org.python.core.PySystemState.<init>(PySystemState.java:238)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1122)
at JyNI.JyNIInitializer.initialize(JyNIInitializer.java:76)
at org.python.core.PySystemState.initialize(PySystemState.java:1074)
at org.python.core.PySystemState.initialize(PySystemState.java:1006)
at org.python.core.PySystemState.initialize(PySystemState.java:989)
at org.python.core.PySystemState.initialize(PySystemState.java:984)
at org.python.core.PySystemState.initialize(PySystemState.java:979)
at org.python.core.PySystemState.initialize(PySystemState.java:975)
at org.python.core.ThreadStateMapping.getThreadState(ThreadStateMapping.java:56)
at org.python.core.Py.getThreadState(Py.java:1643)
at org.python.core.Py.getThreadState(Py.java:1639)
at org.python.core.Py.getSystemState(Py.java:1659)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:105)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:39)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:28)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:18)
at com.artenum.jyconsole.python.JInteractiveInterpreter.<init>(JInteractiveInterpreter.java:45)
at jehep.shelljython.JyShell.<init>(JyShell.java:319)
at jehep.shelljython.JyShell.<init>(JyShell.java:170)
at jehep.ui.PanelBottom.<init>(PanelBottom.java:121)
at jehep.ui.mainGUI.<init>(mainGUI.java:1395)
at jehep.ui.mainGUI.main(mainGUI.java:476)

Can anybody help?
Find all posts by this user
Quote this message in a reply
11-23-2017, 02:03 PM
Post: #2
RE: Error in dmelt 2.1 (21/10/2017
(11-04-2017 08:26 PM)ChrisNabold Wrote:  I installed a fresh copy of dmelt 2.1 (Win10/64bit/Java 8u151) . the program errors while starting up:
Current directory C:\dmelt
64-Bit O/S detected
Start DataMelt IDE ..
Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.clear()Ljava/nio/ByteBuffer;
at org.python.core.io.BufferedReader.clear(BufferedReader.java:147)
at org.python.core.io.BufferedReader.<init>(BufferedReader.java:27)
at org.python.core.PyFile.createBuffer(PyFile.java:227)
at org.python.core.PyFile.file___init__(PyFile.java:185)
at org.python.core.PyFile.file___init__(PyFile.java:178)
at org.python.core.PyFile.<init>(PyFile.java:101)
at org.python.core.PySystemState.<init>(PySystemState.java:238)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1122)
at JyNI.JyNIInitializer.initialize(JyNIInitializer.java:76)
at org.python.core.PySystemState.initialize(PySystemState.java:1074)
at org.python.core.PySystemState.initialize(PySystemState.java:1006)
at org.python.core.PySystemState.initialize(PySystemState.java:989)
at org.python.core.PySystemState.initialize(PySystemState.java:984)
at org.python.core.PySystemState.initialize(PySystemState.java:979)
at org.python.core.PySystemState.initialize(PySystemState.java:975)
at org.python.core.ThreadStateMapping.getThreadState(ThreadStateMapping.java:56)
at org.python.core.Py.getThreadState(Py.java:1643)
at org.python.core.Py.getThreadState(Py.java:1639)
at org.python.core.Py.getSystemState(Py.java:1659)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:105)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:39)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:28)
at org.python.util.InteractiveInterpreter.<init>(InteractiveInterpreter.java:18)
at com.artenum.jyconsole.python.JInteractiveInterpreter.<init>(JInteractiveInterpreter.java:45)
at jehep.shelljython.JyShell.<init>(JyShell.java:319)
at jehep.shelljython.JyShell.<init>(JyShell.java:170)
at jehep.ui.PanelBottom.<init>(PanelBottom.java:121)
at jehep.ui.mainGUI.<init>(mainGUI.java:1395)
at jehep.ui.mainGUI.main(mainGUI.java:476)

Can anybody help?

Hi, Chris

Can you please use dmelt-2.0 for JDK8?
dmelt-2.1 is a version built with the goal to make it compatible
with JDK9, and may fail on JDK9

best, Jim
Find all posts by this user
Quote this message in a reply
11-25-2017, 05:45 AM
Post: #3
RE: Error in dmelt 2.1 (21/10/2017
Hi, Chris

Please try now Dmelt 2.1 with Java 1.8. I've replaced this package with a corrected jython (which should work for JDK8 and JDK9)

best Sergei
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)