error running dmelt
|
12-16-2014, 11:15 PM
(This post was last modified: 07-24-2015 01:20 PM by jworkorg.)
Post: #1
|
|||
|
|||
error running dmelt
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) |
|||
12-18-2014, 01:26 PM
(This post was last modified: 07-24-2015 01:21 PM by jworkorg.)
Post: #2
|
|||
|
|||
RE: error running scavis
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 |
|||
12-18-2014, 09:49 PM
Post: #3
|
|||
|
|||
RE: error running scavis
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. |
|||
12-19-2014, 04:40 AM
Post: #4
|
|||
|
|||
RE: error running scavis
Hello,
Thanks for the bug report. I can see a similar thread for scala in: http://stackoverflow.com/questions/23900...a-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 |
|||
12-20-2014, 06:40 AM
Post: #5
|
|||
|
|||
RE: error running scavis
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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)