The following warnings occurred:
Warning [2] Trying to access array offset on value of type null - Line: 4475 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 4475 errorHandler->error
/inc/class_session.php 505 my_strlen
/inc/class_session.php 360 session->create_session
/inc/class_session.php 75 session->load_guest
/global.php 55 session->init
/printthread.php 17 require_once
Warning [2] Undefined variable $mybb - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Attempt to read property "settings" on null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $forums - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $mybb - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Attempt to read property "settings" on null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Undefined variable $forums - Line: 183 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 183 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Undefined array key 3 - Line: 184 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 184 errorHandler->error
/printthread.php 187 makeprintablenav
/printthread.php 63 makeprintablenav
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/printthread.php 72 forum_permissions
Warning [2] Trying to access array offset on value of type null - Line: 1229 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1229 errorHandler->error
/printthread.php 72 forum_permissions
Warning [2] Undefined array key "canonlyviewownthreads" - Line: 78 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 78 errorHandler->error
Warning [2] Undefined array key "page" - Line: 86 - File: printthread.php PHP 8.0.30 (Linux)
File Line Function
/printthread.php 86 errorHandler->error
Warning [2] Undefined variable $multipage - Line: 24 - File: printthread.php(163) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/printthread.php(163) : eval()'d code 24 errorHandler->error
/printthread.php 163 eval



jWork.ORG forums
Error in dmelt 2.1 (21/10/2017 - Printable Version

+- jWork.ORG forums (https://jwork.org/forum)
+-- Forum: DataMelt (/forumdisplay.php?fid=1)
+--- Forum: DataMelt bug report (/forumdisplay.php?fid=3)
+--- Thread: Error in dmelt 2.1 (21/10/2017 (/showthread.php?tid=102)



Error in dmelt 2.1 (21/10/2017 - ChrisNabold - 11-04-2017 08:26 PM

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?


RE: Error in dmelt 2.1 (21/10/2017 - jworkorg - 11-23-2017 02:03 PM

(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


RE: Error in dmelt 2.1 (21/10/2017 - admin - 11-25-2017 05:45 AM

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