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 451 my_strlen
/inc/class_session.php 356 session->update_session
/inc/class_session.php 75 session->load_guest
/global.php 55 session->init
/showthread.php 22 require_once
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
/showthread.php 110 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
/showthread.php 110 forum_permissions
Warning [2] Trying to access array offset on value of type null - Line: 1237 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1237 errorHandler->error
/inc/functions.php 2318 forum_permissions
/showthread.php 577 build_forum_jump
Warning [2] Undefined array key "threadread" - Line: 1773 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1773 errorHandler->error
/inc/functions_indicators.php 42 my_set_array_cookie
/showthread.php 585 mark_thread_read
Warning [2] Undefined array key "forumread" - Line: 77 - File: inc/functions_indicators.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions_indicators.php 77 errorHandler->error
/inc/functions_indicators.php 45 fetch_unread_count
/showthread.php 585 mark_thread_read
Warning [2] Undefined array key "forumread" - Line: 1773 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1773 errorHandler->error
/inc/functions_indicators.php 218 my_set_array_cookie
/inc/functions_indicators.php 48 mark_forum_read
/showthread.php 585 mark_thread_read
Warning [2] Trying to access array offset on value of type null - Line: 453 - File: inc/db_mysqli.php PHP 8.0.30 (Linux)
File Line Function
/inc/db_mysqli.php 453 errorHandler->error
/showthread.php 675 DB_MySQLi->fetch_field
Warning [2] Undefined array key "" - Line: 2442 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2442 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 2443 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2443 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "useravatar" - Line: 20 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 20 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "userstars" - Line: 26 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 26 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "warninglevel" - Line: 5 - File: inc/functions_post.php(410) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(410) : eval()'d code 5 errorHandler->error
/inc/functions_post.php 410 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_pm" - Line: 57 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 57 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "" - Line: 2442 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2442 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 2443 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2443 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "useravatar" - Line: 20 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 20 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "userstars" - Line: 26 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 26 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "" - Line: 2442 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2442 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Trying to access array offset on value of type null - Line: 2443 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 2443 errorHandler->error
/inc/functions_post.php 414 format_name
/showthread.php 994 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "useravatar" - Line: 20 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 20 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "userstars" - Line: 26 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 26 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "warninglevel" - Line: 5 - File: inc/functions_post.php(410) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(410) : eval()'d code 5 errorHandler->error
/inc/functions_post.php 410 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_pm" - Line: 57 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 57 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined array key "button_multiquote" - Line: 59 - File: inc/functions_post.php(657) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/inc/functions_post.php(657) : eval()'d code 59 errorHandler->error
/inc/functions_post.php 657 eval
/showthread.php 994 build_postbit
Warning [2] Undefined variable $moderationoptions - Line: 70 - File: showthread.php(1286) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1286) : eval()'d code 70 errorHandler->error
/showthread.php 1286 eval





Post Reply 
 
Thread Rating:
  • 1 Votes - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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)
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
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.
Quote this message in a reply
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
Quote this message in a reply
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
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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