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
/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 "mybb" - Line: 1772 - File: inc/functions.php PHP 8.0.30 (Linux)
File Line Function
/inc/functions.php 1772 errorHandler->error
/inc/functions_indicators.php 42 my_set_array_cookie
/showthread.php 585 mark_thread_read
Warning [2] Trying to access array offset on value of type null - 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 variable $postsdone - Line: 791 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 791 errorHandler->error
Warning [2] Trying to access array offset on value of type null - Line: 791 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 791 errorHandler->error
Warning [2] Undefined array key 160 - Line: 791 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 791 errorHandler->error
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1332) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1332) : eval()'d code 2 errorHandler->error
/showthread.php 1332 eval
/showthread.php 803 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1332) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1332) : eval()'d code 2 errorHandler->error
/showthread.php 1332 eval
/showthread.php 803 buildtree
Warning [2] Undefined variable $posts - Line: 2 - File: showthread.php(1332) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1332) : eval()'d code 2 errorHandler->error
/showthread.php 1332 eval
/showthread.php 803 buildtree
Warning [2] Undefined variable $lang - Line: 2 - File: showthread.php(1328) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1328) : eval()'d code 2 errorHandler->error
/showthread.php 1328 eval
/showthread.php 1337 buildtree
/showthread.php 803 buildtree
Warning [2] Attempt to read property "by" on null - Line: 2 - File: showthread.php(1328) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1328) : eval()'d code 2 errorHandler->error
/showthread.php 1328 eval
/showthread.php 1337 buildtree
/showthread.php 803 buildtree
Warning [2] Undefined variable $posts - Line: 2 - File: showthread.php(1328) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1328) : eval()'d code 2 errorHandler->error
/showthread.php 1328 eval
/showthread.php 1337 buildtree
/showthread.php 803 buildtree
Warning [2] Undefined array key 160 - Line: 1335 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 1335 errorHandler->error
/showthread.php 1337 buildtree
/showthread.php 803 buildtree
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 804 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 804 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 804 build_postbit
Warning [2] Undefined variable $multipage - Line: 17 - File: showthread.php(1286) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1286) : eval()'d code 17 errorHandler->error
/showthread.php 1286 eval
Warning [2] Undefined variable $multipage - Line: 51 - File: showthread.php(1286) : eval()'d code PHP 8.0.30 (Linux)
File Line Function
/showthread.php(1286) : eval()'d code 51 errorHandler->error
/showthread.php 1286 eval
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:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Testing DataMalt 2.3 using JDK 12 Early-Access Builds
12-13-2018, 11:01 PM (This post was last modified: 12-13-2018 11:11 PM by admin.)
Post: #2
RE: Testing DataMalt 2.3 using JDK 12 Early-Access Builds
Hi,

Indeed, it works with all these warnings. But I remind that some Jython web scripts require adjustment of the "import" statements, since Jython 2.7 cannot use wild cards (i.e. "*") for importing Java packages starting (starting from the JDK version 9).

For example, this script with the explicit import statement works OK for all Java versions:

Code:
from jhplot  import HPlot3D,H2D,F2D
from java.util import Random
c1 = HPlot3D("Canvas",600,400)
c1.setColorMode(4)
c1.visible(1)
h1 = H2D("My 2D Test 1",30,-3.0, 3.0, 30, -3.0, 3.0)
f1 = F2D("8*(x*x+y*y)", -3.0, 3.0, -3.0, 5.0)
rand = Random()
for i in range(1000):
   h1.fill(0.4*rand.nextGaussian(),rand.nextGaussian())
c1.draw(h1,f1)
c1.export("image.eps")

But the Jython code shown below fails (due to the regular expression
in the import statement "java.util import *"):

Code:
from jhplot  import HPlot3D,H2D,F2D
from java.util import *
c1 = HPlot3D("Canvas",600,400)
c1.setColorMode(4)
c1.visible(1)
h1 = H2D("My 2D Test 1",30,-3.0, 3.0, 30, -3.0, 3.0)
f1 = F2D("8*(x*x+y*y)", -3.0, 3.0, -3.0, 5.0)
rand = Random()
for i in range(1000):
   h1.fill(0.4*rand.nextGaussian(),rand.nextGaussian())
c1.draw(h1,f1)
c1.export("image.eps")

The output of the code above[/quote][/code]:

Quote:Traceback (most recent call last): , File test.py, line 16, in <module> ,
rand = Random() , NameError: name Random is not defined ,

The Jython package inside DataMelt should be updated when Jython will be certified for JDK9-JDK12. As far as I know, this works on Jython is ongoing.

Tania
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Testing DataMalt 2.3 using JDK 12 Early-Access Builds - admin - 12-13-2018 11:01 PM

Forum Jump:


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