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 93 - Line: 791 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 791 errorHandler->error
Warning [2] Undefined array key 95 - Line: 791 - File: showthread.php PHP 8.0.30 (Linux)
File Line Function
/showthread.php 791 errorHandler->error
Warning [2] Undefined array key 96 - 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(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 1337 buildtree
/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 1337 buildtree
/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 1337 buildtree
/showthread.php 803 buildtree
Warning [2] Undefined array key 93 - 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 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 array key 95 - 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 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 1337 buildtree
/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 1337 buildtree
/showthread.php 803 buildtree
Warning [2] Undefined array key 96 - 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 "" - 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 804 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 804 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 804 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 804 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 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:
  • 1 Votes - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Groovy @Grab in DataMelt
11-15-2015, 12:27 AM
Post: #3
RE: Groovy @Grab in DataMelt
Hello,

This Groovy issues was fixed for the beta version dmelt-1.4 posted on the download page.

When a make a file test.groovy :
Code:
@Grab(group='commons-lang', module='commons-lang', version='2.4')
import org.apache.commons.lang.WordUtils
println "Hello ${WordUtils.capitalize('world')}"


and run it as "dm_b test.groovy", it prints "Hello World"

best, Sergei[/code]

(11-07-2015 07:31 AM)regrehan Wrote:  I'd like to be able to use Groovy with DataMelt. I find it easy (in other environments), to open a GroovyConsole and test out some code.

However, the GroovyConsole in DataMelt seems to have problems with the @Grapes/@Grab annotations. Whenever I try it, I get the following exception:
=========
java.lang.NoClassDefFoundError: org/apache/ivy/core/report/ResolveReport
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclar[font=Courier]edMethods(Class.java:2615)
at java.lang.Class.getDeclaredMethods(Class.java:1860)
at java.security.AccessController.doPrivileged(Native Method)
at groovy.grape.GrapeIvy.$getStaticMetaClass(GrapeIvy.groovy)
at groovy.grape.GrapeIvy.<init>(GrapeIvy.groovy:75)
at java.lang.Class.newInstance(Class.java:379)
at groovy.grape.Grape.getInstance(Grape.java:97)
at groovy.grape.Grape.grab(Grape.java:132)
at groovy.grape.GrabAnnotationTransformation.visit(GrabAnnotationTransformation.jav​a:311)
=========

The same code works fine "outside" of DataMelt.

--rick grehan
Quote this message in a reply
Post Reply 


Messages In This Thread
Groovy @Grab in DataMelt - regrehan - 11-07-2015, 07:31 AM
RE: Groovy @Grab in DataMelt - jworkorg - 11-14-2015, 11:36 PM
RE: Groovy @Grab in DataMelt - sergei175 - 11-15-2015 12:27 AM
RE: Groovy @Grab in DataMelt - sergei175 - 11-15-2015, 08:11 AM

Forum Jump:


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