[ https://issues.apache.org/jira/browse/GROOVY-7628?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Becker updated GROOVY-7628: ------------------------------- Description: This code {noformat} def connectTask = {println "connected"} as javafx.concurrent.Task connectTask.start() {noformat} yields this error {noformat} Exception thrown java.lang.NoClassDefFoundError: groovy/lang/GroovyObject at ConsoleScript6.run(ConsoleScript6:1) Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject ... 1 more {noformat} Any idea what i am doing wrong, or have i discovered a bug? http://prntscr.com/8r6bzb was: This code {noformat} def connectTask = {println "connected"} as javafx.concurrent.Task connectTask.start() {noformat} yields this error {noformat} Exception thrown http://prntscr.com/8r6bzb java.lang.NoClassDefFoundError: groovy/lang/GroovyObject at ConsoleScript6.run(ConsoleScript6:1) Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject ... 1 more {noformat} Any idea what i am doing wrong, or have i discovered a bug? > NoClassDefFoundError when creating a javafx.concurrent.Task > ----------------------------------------------------------- > > Key: GROOVY-7628 > URL: https://issues.apache.org/jira/browse/GROOVY-7628 > Project: Groovy > Issue Type: Bug > Components: groovy-runtime > Affects Versions: 2.4.3 > Environment: Windows 7 > java version "1.8.0_60" > Java(TM) SE Runtime Environment (build 1.8.0_60-b27) > Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode) > Reporter: Jan Becker > Priority: Minor > Attachments: screenshot-1.png > > > This code > {noformat} > def connectTask = {println "connected"} as javafx.concurrent.Task > connectTask.start() > {noformat} > yields this error > {noformat} > Exception thrown > java.lang.NoClassDefFoundError: groovy/lang/GroovyObject > at ConsoleScript6.run(ConsoleScript6:1) > Caused by: java.lang.ClassNotFoundException: groovy.lang.GroovyObject > ... 1 more > {noformat} > Any idea what i am doing wrong, or have i discovered a bug? > http://prntscr.com/8r6bzb -- This message was sent by Atlassian JIRA (v6.3.4#6332)