Return-Path: X-Original-To: apmail-groovy-users-archive@minotaur.apache.org Delivered-To: apmail-groovy-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 37C87180FD for ; Wed, 28 Oct 2015 22:48:45 +0000 (UTC) Received: (qmail 56546 invoked by uid 500); 28 Oct 2015 22:48:40 -0000 Delivered-To: apmail-groovy-users-archive@groovy.apache.org Received: (qmail 56512 invoked by uid 500); 28 Oct 2015 22:48:40 -0000 Mailing-List: contact users-help@groovy.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.incubator.apache.org Delivered-To: mailing list users@groovy.incubator.apache.org Received: (qmail 56494 invoked by uid 99); 28 Oct 2015 22:48:40 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Oct 2015 22:48:40 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 8FAD81A227C for ; Wed, 28 Oct 2015 22:48:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.01 X-Spam-Level: X-Spam-Status: No, score=-0.01 tagged_above=-999 required=6.31 tests=[SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wNXYdH7zR1aZ for ; Wed, 28 Oct 2015 22:48:29 +0000 (UTC) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id 9F64D20927 for ; Wed, 28 Oct 2015 22:48:28 +0000 (UTC) Received: from [10.20.99.52] ([80.187.102.59]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MOfQw-1ZooMH3gAQ-0065yG for ; Wed, 28 Oct 2015 23:48:28 +0100 Subject: Re: groovy.tree.TreeTest fails To: users@groovy.incubator.apache.org References: <561EA69E.7070103@telenet.be> From: Pascal Schumacher Message-ID: <563150B9.8050504@gmx.net> Date: Wed, 28 Oct 2015 23:48:25 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <561EA69E.7070103@telenet.be> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:1BPIHxC+BJJlPhGIzLC8VcqhT3N5kECWgpV+jQNCzVSjB26OWsy bCKz20asDYLqzbvCCU1i0MpQFUovO/iQzxEFdEjnGE/4c2Ve2bx0PnCWI7lZ34m7kLAeoed L7TWKZ+IKPmL+JCU9yGhbTS5JEppegSprVbpJ9TZGDrJCFzq8+/kWi284AkVTTRXKXtJBpD ajRFqvao1U49o4GwovYeA== X-UI-Out-Filterresults: notjunk:1;V01:K0:J4ttgOuCYqA=:ZZ/FYdYd5/k8lTjO//nsAw Q1pXPsRG8W//0C7RycuIByU+K1bhZ0VMafdAJcduumjeLkg5837YqhK4eUTuJ4O2PvPCYDCwF GUFoIVAhH+Uy0K+ovMEMCB0JoDd216QDiCQHWbJsPlrY2IbhbTadvuNtaAd02o8ywvIpoS1QC 5RpdA7KqbSsqVpmcOH/5qawl2nCgWRgqT3q58pv/1hCor+s5QFNhZaoRdXLI2nOptptJGwhWu WltKOqxDTgjveYxEKY0wer77xPeSlaH6gTmpEyzsmmWpkwDMOBC4LB8QGtxc4Tl+WXIf2rL2z f/8WDoKDNWIMwZddF5915y9k8NN4Ot0J02TxKyQvpUcgEMiaTP2XKgpbEp9qiCTSpoeMGUjeA 6Y0CAfpZWl8VgHBsLJAq6ba80lTs8Zczdrj4M5cqxgBd7mSHmdNYFtRo55owgAS4j2TOuHiqQ GY6ESiEBFQFAZ77sbXSazPJbORTE/p7eY+Gnr+JOfjglkQOelGYpy5qURjC8gcv4wGWem9kQC 8lEnUvm7+EN+XYxvx5xs0S7/Jg0IIfDTSDQ8WHC6F4Fa4VkM7hbMDjJcGMqxXV4qLcC7pRU4t a5GgnuRCBk+/lCPHjBQy51c6a+jPEYP2FjHLjQW8JRAY52VrfvfB4k7z7cg9YPOn+xgyoKa9T Ay4L7o5kwYKFaJ4DzcCagzuzmi7zDs39wjrx12Odsitmklc7IsOUjdj5GuvIcxarBJ227tIpQ EfhNdbjo05Bh3tmwnKDf+c+EDZMwpsVRxP2pfBANpGmH0L6jqn7vlyqZbMB2yehCbxCdQFymc n2C9HYX Hi Marc, sorry for the late reply, your mail ended up in my spam folder. I have no idea what is causing the error. Is it also occurring with current master? We have a lot of CI-Jobs testing groovy on different JDKs http://ci.groovy-lang.org?guest=1 https://builds.apache.org/view/Groovy/ but none has this error. -Pascal Am 14.10.2015 um 21:01 schrieb Marc: > When I try to run all test with "gradle test", then this test fails. > The error is below. > However if I execute this test alone with "gradle :test --tests > groovy.tree.TreeTest", then the test succeeds. > > I tried with Oracle jdk 8, Oracle jdk 7, and openjdk-7. Same results. > The code is the incubator master branch, the last commit was: > > commit 410e881254ff29cf68d17cf956144ccddfdd6f7c > Author: pascalschumacher > Date: Mon Oct 12 08:52:03 2015 +0200 > > Any help is welcome. > > groovy.lang.MissingMethodException: No signature of method: > groovy.util.NodeList.attributes() is applicable for argument types: () > values: [] > at > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58) > at > org.codehaus.groovy.runtime.callsite.PojoMetaClassSite.call(PojoMetaClassSite.java:49) > at > org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) > at > org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) > at groovy.tree.TreeTest.testTree(TreeTest.groovy:71) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at junit.framework.TestCase.runTest(TestCase.java:176) > at junit.framework.TestCase.runBare(TestCase.java:141) > at junit.framework.TestResult$1.protect(TestResult.java:122) > at junit.framework.TestResult.runProtected(TestResult.java:142) > at junit.framework.TestResult.run(TestResult.java:125) > at junit.framework.TestCase.run(TestCase.java:129) > at junit.framework.TestSuite.runTest(TestSuite.java:252) > at junit.framework.TestSuite.run(TestSuite.java:247) > at > org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.runTestClass(JUnitTestClassExecuter.java:105) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecuter.execute(JUnitTestClassExecuter.java:56) > at > org.gradle.api.internal.tasks.testing.junit.JUnitTestClassProcessor.processTestClass(JUnitTestClassProcessor.java:64) > at > org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:50) > at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:32) > at > org.gradle.messaging.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:93) > at com.sun.proxy.$Proxy2.processTestClass(Unknown Source) > at > org.gradle.api.internal.tasks.testing.worker.TestWorker.processTestClass(TestWorker.java:106) > at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:35) > at > org.gradle.messaging.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) > at > org.gradle.messaging.remote.internal.hub.MessageHub$Handler.run(MessageHub.java:360) > at > org.gradle.internal.concurrent.ExecutorPolicy$CatchAndRecordFailures.onExecute(ExecutorPolicy.java:54) > at > org.gradle.internal.concurrent.StoppableExecutorImpl$1.run(StoppableExecutorImpl.java:40) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) > at java.lang.Thread.run(Thread.java:745) > > >