Assertion failed occurs randomly when saving an edited groovy file.

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Assertion failed occurs randomly when saving an edited groovy file.

Markus Paaso
'Assertion failed:' error occurs randomly when saving an edited groovy file.
Stacktrace dumb set as attachment file.

Error occurs in both desktop and laptop:
1. Win7 64-bit: JDK7u6, GGTS 3.0.0, 16GB Memory
2. Ubuntu 12.04 32-bit: JDK6u34, GGTS 3.0.0, 6 GB Memory

GGTS details:
  Gradle IDE 3.0.0.201208090949-RELEASE org.springsource.ide.eclipse.gradle.feature.feature.group SpringSource,
a division of VMware, Inc.
  Groovy Compiler 2.0
Feature 2.7.1.xx-20120720-1100-e42 org.codehaus.groovy20.feature.feature.group Codehaus.org
  Groovy/Grails Tool
Suite 3.0.0.201208091018-RELEASE-e42 org.springsource.ggts.ide null
  m2e - Maven Integration for
Eclipse 1.1.0.20120530-0009 org.eclipse.m2e.feature.feature.group Eclipse.org
- m2e
  m2e - slf4j over logback logging
(Optional) 1.1.0.20120530-0009 org.eclipse.m2e.logback.feature.feature.group Eclipse.org
- m2e
  m2e connector for mavenarchiver pom
properties 0.15.0.201207090125 org.sonatype.m2e.mavenarchiver.feature.feature.group Sonatype,
Inc.
  Maven Integration for AJDT
(Optional) 0.13.0.201107281640 org.maven.ide.eclipse.ajdt.feature.feature.group Sonatype,
Inc.
  Maven Integration for
WTP 0.15.3.20120830-0850 org.maven.ide.eclipse.wtp.feature.feature.group JBoss
by Red Hat
  SpringSource UAA Integration
(optional) 3.0.0.201208090942-RELEASE org.springframework.ide.eclipse.uaa.feature.feature.group Spring
IDE Developers
  SWT Renderers feature
patch 1.0.0 org.eclipse.e4.ui.workbench.renderers.swt.patch.bug386070.feature.group SpringSource,
a division of VMware, Inc.

GGTS.ini (desktop):
-vm
D:/Programs/Java/jdk1.7.0_06/bin/javaw.exe
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.springsource.ggts.ide
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms512m
-Xmx2048m
-XX:MaxPermSize=256m

Project: https://dl.dropbox.com/u/42511581/GroovyCL.zip
.metadata: https://dl.dropbox.com/u/42511581/.metadata.zip


Cheers, Markus


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email

AssertionFailed.txt (29K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Assertion failed occurs randomly when saving an edited groovy file.

Andrew Eisenberg
This bug has been fixed in head.  Please update to the latest dev
snapshot to get the fix:
http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e4.2/

See here for more information:
https://jira.codehaus.org/browse/GRECLIPSE-1452
https://jira.codehaus.org/browse/GRECLIPSE-1468

On Fri, Aug 31, 2012 at 6:24 AM, Markus Paaso <[hidden email]> wrote:

> 'Assertion failed:' error occurs randomly when saving an edited groovy file.
> Stacktrace dumb set as attachment file.
>
> Error occurs in both desktop and laptop:
> 1. Win7 64-bit: JDK7u6, GGTS 3.0.0, 16GB Memory
> 2. Ubuntu 12.04 32-bit: JDK6u34, GGTS 3.0.0, 6 GB Memory
>
> GGTS details:
>   Gradle IDE    3.0.0.201208090949-RELEASE      org.springsource.ide.eclipse.gradle.feature.feature.group       SpringSource,
> a division of VMware, Inc.
>   Groovy Compiler 2.0
> Feature 2.7.1.xx-20120720-1100-e42      org.codehaus.groovy20.feature.feature.group     Codehaus.org
>   Groovy/Grails Tool
> Suite   3.0.0.201208091018-RELEASE-e42  org.springsource.ggts.ide       null
>   m2e - Maven Integration for
> Eclipse 1.1.0.20120530-0009     org.eclipse.m2e.feature.feature.group   Eclipse.org
> - m2e
>   m2e - slf4j over logback logging
> (Optional)      1.1.0.20120530-0009     org.eclipse.m2e.logback.feature.feature.group   Eclipse.org
> - m2e
>   m2e connector for mavenarchiver pom
> properties      0.15.0.201207090125     org.sonatype.m2e.mavenarchiver.feature.feature.group    Sonatype,
> Inc.
>   Maven Integration for AJDT
> (Optional)      0.13.0.201107281640     org.maven.ide.eclipse.ajdt.feature.feature.group        Sonatype,
> Inc.
>   Maven Integration for
> WTP     0.15.3.20120830-0850    org.maven.ide.eclipse.wtp.feature.feature.group JBoss
> by Red Hat
>   SpringSource UAA Integration
> (optional)      3.0.0.201208090942-RELEASE      org.springframework.ide.eclipse.uaa.feature.feature.group       Spring
> IDE Developers
>   SWT Renderers feature
> patch   1.0.0   org.eclipse.e4.ui.workbench.renderers.swt.patch.bug386070.feature.group SpringSource,
> a division of VMware, Inc.
>
> GGTS.ini (desktop):
> -vm
> D:/Programs/Java/jdk1.7.0_06/bin/javaw.exe
> -startup
> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
> -product
> org.springsource.ggts.ide
> --launcher.defaultAction
> openFile
> --launcher.XXMaxPermSize
> 256M
> -vmargs
> -Dosgi.requiredJavaVersion=1.5
> -Xms512m
> -Xmx2048m
> -XX:MaxPermSize=256m
>
> Project: https://dl.dropbox.com/u/42511581/GroovyCL.zip
> .metadata: https://dl.dropbox.com/u/42511581/.metadata.zip
>
>
> Cheers, Markus
>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Assertion failed occurs randomly when saving an edited groovy file.

Markus Paaso
Thanks! That solved the problem. -Markus

2012/8/31 Andrew Eisenberg <[hidden email]>:

> This bug has been fixed in head.  Please update to the latest dev
> snapshot to get the fix:
> http://dist.codehaus.org/groovy/distributions/greclipse/snapshot/e4.2/
>
> See here for more information:
> https://jira.codehaus.org/browse/GRECLIPSE-1452
> https://jira.codehaus.org/browse/GRECLIPSE-1468
>
> On Fri, Aug 31, 2012 at 6:24 AM, Markus Paaso <[hidden email]> wrote:
>> 'Assertion failed:' error occurs randomly when saving an edited groovy file.
>> Stacktrace dumb set as attachment file.
>>
>> Error occurs in both desktop and laptop:
>> 1. Win7 64-bit: JDK7u6, GGTS 3.0.0, 16GB Memory
>> 2. Ubuntu 12.04 32-bit: JDK6u34, GGTS 3.0.0, 6 GB Memory
>>
>> GGTS details:
>>   Gradle IDE    3.0.0.201208090949-RELEASE      org.springsource.ide.eclipse.gradle.feature.feature.group       SpringSource,
>> a division of VMware, Inc.
>>   Groovy Compiler 2.0
>> Feature 2.7.1.xx-20120720-1100-e42      org.codehaus.groovy20.feature.feature.group     Codehaus.org
>>   Groovy/Grails Tool
>> Suite   3.0.0.201208091018-RELEASE-e42  org.springsource.ggts.ide       null
>>   m2e - Maven Integration for
>> Eclipse 1.1.0.20120530-0009     org.eclipse.m2e.feature.feature.group   Eclipse.org
>> - m2e
>>   m2e - slf4j over logback logging
>> (Optional)      1.1.0.20120530-0009     org.eclipse.m2e.logback.feature.feature.group   Eclipse.org
>> - m2e
>>   m2e connector for mavenarchiver pom
>> properties      0.15.0.201207090125     org.sonatype.m2e.mavenarchiver.feature.feature.group    Sonatype,
>> Inc.
>>   Maven Integration for AJDT
>> (Optional)      0.13.0.201107281640     org.maven.ide.eclipse.ajdt.feature.feature.group        Sonatype,
>> Inc.
>>   Maven Integration for
>> WTP     0.15.3.20120830-0850    org.maven.ide.eclipse.wtp.feature.feature.group JBoss
>> by Red Hat
>>   SpringSource UAA Integration
>> (optional)      3.0.0.201208090942-RELEASE      org.springframework.ide.eclipse.uaa.feature.feature.group       Spring
>> IDE Developers
>>   SWT Renderers feature
>> patch   1.0.0   org.eclipse.e4.ui.workbench.renderers.swt.patch.bug386070.feature.group SpringSource,
>> a division of VMware, Inc.
>>
>> GGTS.ini (desktop):
>> -vm
>> D:/Programs/Java/jdk1.7.0_06/bin/javaw.exe
>> -startup
>> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
>> --launcher.library
>> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
>> -product
>> org.springsource.ggts.ide
>> --launcher.defaultAction
>> openFile
>> --launcher.XXMaxPermSize
>> 256M
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.5
>> -Xms512m
>> -Xmx2048m
>> -XX:MaxPermSize=256m
>>
>> Project: https://dl.dropbox.com/u/42511581/GroovyCL.zip
>> .metadata: https://dl.dropbox.com/u/42511581/.metadata.zip
>>
>>
>> Cheers, Markus
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>     http://xircles.codehaus.org/manage_email
>>
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply | Threaded
Open this post in threaded view
|

Re: Assertion failed occurs randomly when saving an edited groovy file.

stenix
This post has NOT been accepted by the mailing list yet.
This post was updated on .
In reply to this post by Andrew Eisenberg
I have the same problem in GGTS
Version: 3.1.0.RELEASE
Build Id: 201210061306

This is my stack-dump:
!ENTRY org.eclipse.ui 2 0 2012-11-13 09:42:36.626
!MESSAGE Save Failed
!STACK 0
org.eclipse.core.runtime.AssertionFailedException: assertion failed:
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:110)
        at org.eclipse.core.runtime.Assert.isTrue(Assert.java:96)
        at org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel.updateMarkers(AbstractMarkerAnnotationModel.java:550)
        at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider.commitWorkingCopy(CompilationUnitDocumentProvider.java:1401)
        at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitDocumentProvider$4.execute(CompilationUnitDocumentProvider.java:1449)
        at org.eclipse.ui.editors.text.TextFileDocumentProvider$DocumentProviderOperation.run(TextFileDocumentProvider.java:132)
        at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute(WorkspaceModifyDelegatingOperation.java:69)
        at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run(WorkspaceModifyOperation.java:106)
        at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
        at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:118)
        at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:75)
        at org.eclipse.ui.internal.editors.text.WorkspaceOperationRunner.run(WorkspaceOperationRunner.java:65)
        at org.eclipse.ui.editors.text.TextFileDocumentProvider.executeOperation(TextFileDocumentProvider.java:456)
        at org.eclipse.ui.editors.text.TextFileDocumentProvider.saveDocument(TextFileDocumentProvider.java:772)
        at org.eclipse.ui.texteditor.AbstractTextEditor.performSave(AbstractTextEditor.java:5066)
        at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.performSave(CompilationUnitEditor.java:1247)
        at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSave(CompilationUnitEditor.java:1301)
        at org.eclipse.ui.texteditor.AbstractTextEditor$TextEditorSavable.doSave(AbstractTextEditor.java:7198)
        at org.eclipse.ui.Saveable.doSave(Saveable.java:214)
        at org.eclipse.ui.internal.SaveableHelper.doSaveModel(SaveableHelper.java:346)
        at org.eclipse.ui.internal.SaveableHelper$3.run(SaveableHelper.java:193)
        at org.eclipse.ui.internal.SaveableHelper$5.run(SaveableHelper.java:274)
        at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)
        at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)
        at org.eclipse.ui.internal.WorkbenchWindow$13.run(WorkbenchWindow.java:1675)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:1672)
        at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:282)
        at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(SaveableHelper.java:261)
        at org.eclipse.ui.internal.SaveableHelper.saveModels(SaveableHelper.java:204)
        at org.eclipse.ui.internal.SaveableHelper.savePart(SaveableHelper.java:144)
        at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.doSave(CompatibilityPart.java:404)
        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:616)
        at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:229)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:235)
        at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:199)
        at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:89)
        at org.eclipse.e4.ui.internal.workbench.PartServiceImpl.savePart(PartServiceImpl.java:1179)
        at org.eclipse.ui.internal.WorkbenchPage.saveSaveable(WorkbenchPage.java:3469)
        at org.eclipse.ui.internal.WorkbenchPage.saveEditor(WorkbenchPage.java:3487)
        at org.eclipse.ui.internal.SaveAction.run(SaveAction.java:76)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1276)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3554)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3179)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1029)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:923)
        at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:86)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:588)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:543)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
        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:616)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
Reply | Threaded
Open this post in threaded view
|

Re: Assertion failed occurs randomly when saving an edited groovy file.

thomas.modeneis
This post has NOT been accepted by the mailing list yet.
I'm using:

Groovy-Eclipse plugin
Version: 2.7.1.xx-RELEASE-20121219-0800-e42
Groovy version: org.codehaus.groovy

With
Eclipse Version: Juno Release
Build id: 20120620-1657

Eclipse Project SDK

Version: 4.2.0.v20120528-1648-7T7oDFDPz-3FepgRqG6kkFFY0UF4_otgmt0XcoU3Zh27X
Build id: I20120608-1400

And I'm experiencing same error once in a while, usually after I code something that throws a compilation error. Looks like eclipse cannot recover from this and then I need to close the eclipse and reopen.

Usually I'm experiencing the defect every time after 20/30 mins using the Eclipse.

Does anybody else is experiencing similar problems ?

Thanks