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 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 "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 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-07-2015, 07:31 AM (This post was last modified: 11-07-2015 07:32 AM by regrehan.)
Post: #1
Groovy @Grab in DataMelt
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
Find all posts by this user
Quote this message in a reply
11-14-2015, 11:36 PM
Post: #2
RE: Groovy @Grab in DataMelt
Hello,

Thanks for your report. We will update the groovy library in the net release

best, Admin
Find all posts by this user
Quote this message in a reply
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
11-15-2015, 08:11 AM
Post: #4
RE: Groovy @Grab in DataMelt
Hello, I do not think this feature can work. Dmelt includes "embedded" version of groovy. This version of Groovy does not include
ivy-2.4.0.jar.

So, it's really a bug in Groovy. By adding ivy-2.4.0.jar to Dmelt breaks Groovy console and other features..

I think Groovy team should fix this in their jar embedded version of groovy.
Quote this message in a reply
Post Reply 


Forum Jump:


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