Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 342294

Summary: InvalidRegistryObjectException in TemporaryObjectManager#getObject
Product: [Modeling] Acceleo Reporter: Nicolas Bros <nicolas.bros>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: major    
Priority: P3 CC: ed, laurent.goubet, m2t.mtl-inbox, modisco.web-inbox, stephane.begaudeau
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
stacktrace
none
org.eclipse.modisco.java.discoverer.benchmark
none
Another avalanche of error messages none

Description Nicolas Bros CLA 2011-04-08 10:07:29 EDT
Created attachment 192835 [details]
stacktrace

When trying to launch an "Acceleo Application" (with the runner "Acceleo Plug-in Application), I received an avalanche of error messages "Error notifying registry change listener." (see attached stacktrace) from org.eclipse.core.runtime.

I had to force-quit Eclipse because I couldn't get rid of the error dialog that kept reappearing with more errors.


eclipse.buildId=I20110310-1119
Comment 1 Nicolas Bros CLA 2011-04-08 10:09:04 EDT
CCing the Acceleo team since I got this error using Acceleo.
Comment 2 Laurent Goubet CLA 2011-04-08 10:15:05 EDT
Hi Nicolas,

This is indeed provoked by Acceleo, but has already been fixed. Please update Acceleo and check whether you still reproduce.
Comment 3 DJ Houghton CLA 2011-04-08 10:19:49 EDT
Closing as per last comment.
Comment 4 Nicolas Bros CLA 2011-04-15 09:39:37 EDT
I got this error again today with:
Acceleo	3.1.0.v20110401-0833

which is the latest nightly from the Acceleo update site.
Comment 5 Laurent Goubet CLA 2011-04-19 05:09:17 EDT
Reassigning to M2T/Acceleo
Comment 6 Laurent Goubet CLA 2011-04-19 05:10:20 EDT
Nicolas,

Could you provide us with steps to reproduce? We haven't observed this error since fixing it.
Comment 7 Nicolas Bros CLA 2011-04-19 05:51:40 EDT
(In reply to comment #6)
> Could you provide us with steps to reproduce?

With the attached project:

- Create a new launch configuration of type "Acceleo Application"
- set Project = org.eclipse.modisco.java.discoverer.benchmark
- set Main Class = org.eclipse.modisco.java.discoverer.benchmark.template.html.HtmlReport2
- set Main Class = org.eclipse.modisco.java.discoverer.benchmark.template.html.HtmlReport2
- set Model = /org.eclipse.modisco.java.discoverer.benchmark/javabench.xmi
- set Target = /org.eclipse.modisco.java.discoverer.benchmark
- set Runner = Acceleo Plug-in Application
- click Run

The error happens every time.
Comment 8 Nicolas Bros CLA 2011-04-19 05:52:15 EDT
Created attachment 193563 [details]
org.eclipse.modisco.java.discoverer.benchmark
Comment 9 Stephane Begaudeau CLA 2011-04-26 07:54:26 EDT
I tried the project that is in the attachment of this bug entry and I couldn't reproduce the problem with the latest nightly build of Acceleo taken from the hudson build.

I'll be interested to see if you can reproduce the problem with the M7 release next week. If you can, could you provide us more details like what is in your workspace or the other plugins that are installed (in relation with this project).
Comment 10 Ed Willink CLA 2011-06-18 01:55:45 EDT
Created attachment 198224 [details]
Another avalanche of error messages

Still present in RC4. Problems go away by selecting the Java launch.

Amongst other interesting capabilities is that running an Acceleo app closes an editor and then leaves the Open With dialog for that editor empty so that the file is uneditable.

Originally I thought that this was an OCL editor with Xtext, but it reproduced on the text editor.
Comment 11 Ed Willink CLA 2011-06-18 02:02:01 EDT
Given that this impacts on the rest of the Eclipse platform, I feel this should be major.

My actual config was

RC4 Modeling EPP plus Acceleo, Papyrus, OCL Examples, Xtext from discover and SVN and a GIT repo. I uninstalled Papyrus to no effect.

My active projects were the org.eclipse.ocl.examples.xtext.* plugins and dependencies changed to have a different URI for the pivot model (avoiding a different Acceleo bug).
Comment 12 Ed Willink CLA 2011-09-26 14:10:27 EDT
I've just experienced this again on a generally 4.2M2 config with Acceleo N201109140523.

In trying to create a simple repro, I instead end up reproducing Bug 310756 and raising Bug 358950.
Comment 13 Laurent Goubet CLA 2016-04-01 09:10:56 EDT
The plugin launch is no longer available since mars.