Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » ATM/AM3 installation
ATM/AM3 installation [message #27296] Mon, 02 April 2007 13:19 Go to next message
Eclipse UserFriend
Originally posted by: aricuedie.hotmail.com

hi,

I have a problem with ATL/AM3 installation in eclipse, I follow all steps
of manual
( http://dev.eclipse.org/viewcvs/indextech.cgi/gmt-home/subpro jects/ATL/doc/ATL_Installation_Guide%5Bv0.1%5D.pdf)
but the last step, I have a lot errors and warnings in the ATL projects.

log file is:

!SESSION 2007-04-02 15:21:45.826
-----------------------------------------------
eclipse.buildId=M20060118-1600
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86

!ENTRY org.eclipse.ui 4 0 2007-04-02 15:22:07.754
!MESSAGE Unable to create editor ID
org.atl.eclipse.adt.ui.editor.AtlEditor: An exception was thrown during
initialization
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
at
org.atl.eclipse.adt.ui.editor.AtlEditor.getUnderlyingResourc e(AtlEditor.java:930)
at org.atl.eclipse.adt.ui.editor.AtlEditor.init(AtlEditor.java: 1061)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)

....

at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

!ENTRY org.eclipse.ui 4 0 2007-04-02 15:22:20.443
!MESSAGE Unable to create editor ID
org.eclipse.emf.ecore.presentation.EcoreEditorID:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
at
org.eclipse.emf.ecore.presentation.EcoreEditor.createModel(E coreEditor.java:821)
at
org.eclipse.emf.ecore.presentation.EcoreEditor.createPages(E coreEditor.java:845)
....


!ENTRY org.eclipse.ui 4 4 2007-04-02 15:28:19.298
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-04-02 15:28:19.299
!MESSAGE java.lang.NullPointerException
!STACK 0
java.lang.NullPointerException
at
org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.showIte m(AtlContentOutlinePage.java:492)
at
org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.doSetSe lection(AtlContentOutlinePage.java:373)
at
org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.setSele ction(AtlContentOutlinePage.java:478)
at
org.atl.eclipse.adt.ui.editor.AtlEditor.synchronizeOutlinePa geSelection(AtlEditor.java:1185)
at
org.atl.eclipse.adt.ui.editor.AtlEditor$EditorSelectionChang edListener.selectionChanged(AtlEditor.java:337)
....


!ENTRY org.eclipse.ui 4 0 2007-04-02 15:28:56.939
!MESSAGE Unable to create editor ID
org.atl.eclipse.adt.ui.editor.AtlEditor: An exception was thrown during
initialization
!STACK 0
java.lang.ClassCastException:
org.eclipse.ui.internal.editors.text.JavaFileEditorInput
at
org.atl.eclipse.adt.ui.editor.AtlEditor.getUnderlyingResourc e(AtlEditor.java:930)
at org.atl.eclipse.adt.ui.editor.AtlEditor.init(AtlEditor.java: 1061)
at
org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at
org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:223)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2362)

What is the problem here, please ?

This is my fisrt experience with eclipse and linux, I am a little lost. A
lot Thanks.

Ariana
[ATL] Re: ATM/AM3 installation [message #27943 is a reply to message #27296] Mon, 02 April 2007 16:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: freddy.allilaire.univ-nantes.fr

Hi Ariana,

Are you using a binaries version or from source?

In case of "binaries version", which version?
And you could try to launch eclipse with -clean option.

Regards,
Freddy.

Ariana Cuesta a écrit :
> hi,
>
> I have a problem with ATL/AM3 installation in eclipse, I follow all
> steps of manual
> ( http://dev.eclipse.org/viewcvs/indextech.cgi/gmt-home/subpro jects/ATL/doc/ATL_Installation_Guide%5Bv0.1%5D.pdf)
> but the last step, I have a lot errors and warnings in the ATL projects.
>
> log file is:
>
> !SESSION 2007-04-02 15:21:45.826
> -----------------------------------------------
> eclipse.buildId=M20060118-1600
> java.version=1.5.0_06
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US
> Command-line arguments: -os linux -ws gtk -arch x86
>
> !ENTRY org.eclipse.ui 4 0 2007-04-02 15:22:07.754
> !MESSAGE Unable to create editor ID
> org.atl.eclipse.adt.ui.editor.AtlEditor: An exception was thrown during
> initialization
> !STACK 0
> java.lang.ClassCastException:
> org.eclipse.ui.internal.editors.text.JavaFileEditorInput
> at
> org.atl.eclipse.adt.ui.editor.AtlEditor.getUnderlyingResourc e(AtlEditor.java:930)
>
> at org.atl.eclipse.adt.ui.editor.AtlEditor.init(AtlEditor.java: 1061)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
>
>
> ...
>
> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
> at org.eclipse.core.launcher.Main.run(Main.java:973)
> at org.eclipse.core.launcher.Main.main(Main.java:948)
>
> !ENTRY org.eclipse.ui 4 0 2007-04-02 15:22:20.443
> !MESSAGE Unable to create editor ID
> org.eclipse.emf.ecore.presentation.EcoreEditorID:
> org.eclipse.ui.internal.editors.text.JavaFileEditorInput
> !STACK 0
> java.lang.ClassCastException:
> org.eclipse.ui.internal.editors.text.JavaFileEditorInput
> at
> org.eclipse.emf.ecore.presentation.EcoreEditor.createModel(E coreEditor.java:821)
>
> at
> org.eclipse.emf.ecore.presentation.EcoreEditor.createPages(E coreEditor.java:845)
>
> ...
>
>
> !ENTRY org.eclipse.ui 4 4 2007-04-02 15:28:19.298
> !MESSAGE Unhandled event loop exception
>
> !ENTRY org.eclipse.ui 4 0 2007-04-02 15:28:19.299
> !MESSAGE java.lang.NullPointerException
> !STACK 0
> java.lang.NullPointerException
> at
> org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.showIte m(AtlContentOutlinePage.java:492)
>
> at
> org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.doSetSe lection(AtlContentOutlinePage.java:373)
>
> at
> org.atl.eclipse.adt.ui.outline.AtlContentOutlinePage.setSele ction(AtlContentOutlinePage.java:478)
>
> at
> org.atl.eclipse.adt.ui.editor.AtlEditor.synchronizeOutlinePa geSelection(AtlEditor.java:1185)
>
> at
> org.atl.eclipse.adt.ui.editor.AtlEditor$EditorSelectionChang edListener.selectionChanged(AtlEditor.java:337)
>
> ...
>
>
> !ENTRY org.eclipse.ui 4 0 2007-04-02 15:28:56.939
> !MESSAGE Unable to create editor ID
> org.atl.eclipse.adt.ui.editor.AtlEditor: An exception was thrown during
> initialization
> !STACK 0
> java.lang.ClassCastException:
> org.eclipse.ui.internal.editors.text.JavaFileEditorInput
> at
> org.atl.eclipse.adt.ui.editor.AtlEditor.getUnderlyingResourc e(AtlEditor.java:930)
>
> at org.atl.eclipse.adt.ui.editor.AtlEditor.init(AtlEditor.java: 1061)
> at
> org.eclipse.ui.internal.EditorManager.createSite(EditorManag er.java:778)
> at
> org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:596)
>
> at
> org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:384)
>
> at
> org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
>
> at
> org.eclipse.ui.internal.EditorReference.getEditor(EditorRefe rence.java:223)
> at
> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2362)
>
>
> What is the problem here, please ?
>
> This is my fisrt experience with eclipse and linux, I am a little lost.
> A lot Thanks.
>
> Ariana
>


--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
Re: [ATL] Re: ATM/AM3 installation [message #28062 is a reply to message #27943] Tue, 03 April 2007 08:28 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: aricuedie.hotmail.com

Hi,

I am using from source, because I need more liberies that binary version
doesn't have ones.

I am sorry it, not as to launch eclipse with clean option.

Initially, I was thinking that these problems were for the java version,
but only I have changed it and it has diminished the mistakes.

I installed:

Eclipse 3.1.2
EMF 2.1.2
antlr.jar (version is 2.7.5)
mdr-standalone.zip
java 1.5
Re: [ATL] Re: ATM/AM3 installation [message #28100 is a reply to message #28062] Tue, 03 April 2007 09:49 Go to previous message
Eclipse UserFriend
Originally posted by: freddy.allilaire.univ-nantes.fr

Hi Ariana,

We have started migration of ATL source code from GMT to M2M. Maybe it's
the reason of your problem.

Two possibilities:
* Checkout ATL from the new repository location:
/cvsroot/modeling/org.eclipse.m2m/org.eclipse.m2m.atl/plugin s/
and checkout AM3 source code from the current GMT repository
location(/cvsroot/modeling/org.eclipse.gmt/AM3/)

* Checkout the last "tagged" version of ATL and AM3 from GMT:
org.eclipse.gmt build_20070327[ATLRefactoring_Migration]

Regards,
Freddy.

Ariana Cuesta a écrit :
> Hi,
>
> I am using from source, because I need more liberies that binary version
> doesn't have ones.
>
> I am sorry it, not as to launch eclipse with clean option.
>
> Initially, I was thinking that these problems were for the java version,
> but only I have changed it and it has diminished the mistakes.
>
> I installed:
>
> Eclipse 3.1.2
> EMF 2.1.2
> antlr.jar (version is 2.7.5)
> mdr-standalone.zip
> java 1.5
>


--
Freddy Allilaire - ATLAS Group (INRIA & LINA)
http://www.sciences.univ-nantes.fr/lina/atl/contrib/allilair e
Previous Topic:launching application with command lines and passing parameters
Next Topic:[ATL] TCS Injection problem in standalone Java application
Goto Forum:
  


Current Time: Thu Apr 25 05:05:05 GMT 2024

Powered by FUDForum. Page generated in 0.02615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top