Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A1C59200C85 for ; Tue, 16 May 2017 04:55:33 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A0451160BCE; Tue, 16 May 2017 02:55:33 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7970160BC2 for ; Tue, 16 May 2017 04:55:32 +0200 (CEST) Received: (qmail 8717 invoked by uid 500); 16 May 2017 02:55:31 -0000 Mailing-List: contact users-help@groovy.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@groovy.apache.org Delivered-To: mailing list users@groovy.apache.org Received: (qmail 8707 invoked by uid 99); 16 May 2017 02:55:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 May 2017 02:55:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9214CC05AA for ; Tue, 16 May 2017 02:55:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.232 X-Spam-Level: ** X-Spam-Status: No, score=2.232 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_NONE=-0.0001, SPF_FAIL=0.919, URI_HEX=1.313] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IxDyYfo7tpZg for ; Tue, 16 May 2017 02:55:28 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 6405B5F5C6 for ; Tue, 16 May 2017 02:55:27 +0000 (UTC) Received: from static.162.255.23.22.macminivault.com (unknown [162.255.23.22]) by mwork.nabble.com (Postfix) with ESMTP id 9B90841FE22BD for ; Mon, 15 May 2017 19:55:26 -0700 (MST) Date: Mon, 15 May 2017 19:55:26 -0700 (MST) From: russellr To: users@groovy.incubator.apache.org Message-ID: <1494903326629-5741010.post@n5.nabble.com> Subject: Version Hell MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit archived-at: Tue, 16 May 2017 02:55:33 -0000 I have a vast quantity of tests for a website which worked fine until I upgrade angularjs. Now they work intermittently. The particular problem is with Geb's isDisplayed function. If I upgrade Geb, then I have to upgrade Groovy. I either get StackOverflowError or ShortTypeHandling errors. Here are the relevant versions that *used* to work: 1.1.5 2.12.2 2.1.6 0.9.2 2.38.0 If I upgrade Geb to 1.1.1, I get: java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.codehaus.mojo.exec.ExecJavaMojo$1.run(ExecJavaMojo.java:297) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.NoClassDefFoundError: org/codehaus/groovy/runtime/typehandling/ShortTypeHandling If I *then* upgrade Groovy to 2.4.11 or later I get: java.lang.StackOverflowError at java.lang.ThreadLocal.get(ThreadLocal.java:143) at java.util.concurrent.locks.ReentrantReadWriteLock$Sync.tryReleaseShared(ReentrantReadWriteLock.java:426) at java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1340) at java.util.concurrent.locks.ReentrantReadWriteLock$ReadLock.unlock(ReentrantReadWriteLock.java:883) at groovy.lang.ExpandoMetaClass.checkInitalised(ExpandoMetaClass.java:837) The StackOverflowError appears to be triggered by a simple "Given": Given(~'I am on the reference page for (.+)') { String path -> } I've removed the body to confirm that it's actuall just the Given that's causing the problem. Where to now? -- View this message in context: http://groovy.329449.n5.nabble.com/Version-Hell-tp5741010.html Sent from the Groovy Users mailing list archive at Nabble.com.