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 running dmelt - 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 running dmelt (/showthread.php?tid=71)



error running dmelt - kruithofmc - 12-16-2014 11:15 PM

When I run scavis on a Ubuntu 14.04 machine I get the following error:

Exception in thread "main" java.lang.NullPointerException
at jehep.ui.SetEnv.getSN(SetEnv.java:307)
at jehep.ui.SetEnv.init(SetEnv.java:221)
at jehep.ui.mainGUI.main(mainGUI.java:458)


RE: error running scavis - jworkorg - 12-18-2014 01:26 PM

Hello,

This is unusual. We have very large number of users running dmelt on ubuntu 14.04 (both 32 and 64 arch).

Does this error appear immediately after executing "dmelt.sh"? Here are few options that can help:

1) Please check that javac is installed. "javac -version" (version >= 1.7)
2) You can reset preferences before launching dmelt, i.e. remove

rm -r $HOME/.jehep

and the run "scavis.sh"

3) also, please try to use DMelt v.1.0

best, Admin


RE: error running scavis - kruithofmc - 12-18-2014 09:49 PM

Running javac -version gives:
javac 1.7.0_65
So that seems to be in order. I am running scavis 2.2 and I don't have a .jehep in my home folder, I guess it was not created yet.

The problem seems to be in the getSN function. I looked at what the function seems to do from eclipse. I guess you are trying to find out some mac address of a network interface. I searched on the internet and found the following sample code of getting the mac address:

ip = InetAddress.getLocalHost();
NetworkInterface network = NetworkInterface.getByInetAddress(ip);
mac = network.getHardwareAddress();

On my computer this returns null for network because the localhost has no mac address. Apparently the function only finds my loopback network connection.


RE: error running scavis - sergei175 - 12-19-2014 04:40 AM

Hello,

Thanks for the bug report. I can see a similar thread for scala in:

http://stackoverflow.com/questions/23900172/how-to-get-localhost-network-interface-in-java-or-scala


We will try to find a fix for such Linux installations and we will patch SCaVis 2.2 before Dec. 21, 2014

best, Sergei


RE: error running scavis - jworkorg - 12-20-2014 06:40 AM

Hello,

Thanks for the bug report. This corrected version of ScaVis:

http://jwork.org/scavis/download/scavis-2.2.zip

should not have problems when MAC address is not found

best, Admin