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)
|
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 |