An error has occurred when creating this editor [message #21921] |
Mon, 18 March 2002 13:44 |
Eclipse User |
|
|
|
Originally posted by: mwisse.hs-harz.de
Hallo!
I try to use
cdt-eclipse-R2-0125-20020308
with
eclipse-SDK-20020214-linux-motif .
I created a first C/C++ project for testing with the wizard and imported
some files. When I try to view a .c or a .h file, I get following error:
"An error has occurred when creating this editor".
What can I do?
Best regards and thanks for assistance.
Michael
|
|
|
|
Re: An error has occurred when creating this editor [message #22013 is a reply to message #21967] |
Mon, 18 March 2002 16:53 |
Eclipse User |
|
|
|
Originally posted by: mwisse.hs-harz.de
Hello Dave!
Here is the content of .log:
Log: Mon Mar 18 14:35:00 CET 2002
2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in:
org.eclipse.ui.
java.lang.NoSuchMethodError
at
com.ibm.lpex.alef.LpexSourceViewer.configure(LpexSourceViewe r.java:329)
at
com.ibm.lpex.alef.LpexAbstractTextEditor.createPartControl(L pexAbstractTextEditor.java:786)
at
org.eclipse.cdt.cpp.ui.internal.editor.CppEditor.createPartC ontrol(CppEditor.java:87)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:58)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.PartPane.createChildControl(PartPane .java:56)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java :98)
at
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWork book.java:214)
at
org.eclipse.ui.internal.EditorWorkbook.createControl(EditorW orkbook.java:179)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:174)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:174)
at
org.eclipse.ui.internal.PerspectivePresentation.activate(Per spectivePresentation.java:88)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:552)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:1069)
at
org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:919)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:56)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:907)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:820)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:746)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:489)
at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java :539)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:389)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:768)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:777)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
at org.eclipse.core.launcher.Main.run(Main.java:502)
at org.eclipse.core.launcher.Main.main(Main.java:362)
Log: Mon Mar 18 14:35:02 CET 2002
2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in:
org.eclipse.ui.
java.lang.NoSuchMethodError
at
com.ibm.lpex.alef.LpexSourceViewer.configure(LpexSourceViewe r.java:329)
at
com.ibm.lpex.alef.LpexAbstractTextEditor.createPartControl(L pexAbstractTextEditor.java:786)
at
org.eclipse.cdt.cpp.ui.internal.editor.CppEditor.createPartC ontrol(CppEditor.java:87)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:58)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.PartPane.createChildControl(PartPane .java:56)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java :98)
at
org.eclipse.ui.internal.EditorWorkbook.createPage(EditorWork book.java:214)
at
org.eclipse.ui.internal.EditorWorkbook.createControl(EditorW orkbook.java:179)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:174)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:174)
at
org.eclipse.ui.internal.PerspectivePresentation.activate(Per spectivePresentation.java:88)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:552)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:1069)
at
org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:919)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:56)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:907)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:820)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:746)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:489)
at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java :539)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:389)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:768)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:777)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
at org.eclipse.core.launcher.Main.run(Main.java:502)
at org.eclipse.core.launcher.Main.main(Main.java:362)
Log: Mon Mar 18 14:35:05 CET 2002
2 org.eclipse.ui 2 Problems occurred when invoking code from plug-in:
org.eclipse.ui.
java.lang.NullPointerException
at
com.ibm.lpex.alef.LpexContextContributor.setActiveEditor(Lpe xContextContributor.java:247)
at
org.eclipse.cdt.cpp.ui.internal.editor.contributor.CppEditor ContextContributor.setActiveEditor(CppEditorContextContribut or.java:69)
at
org.eclipse.ui.internal.EditorActionBars.partChanged(EditorA ctionBars.java:88)
at org.eclipse.ui.internal.WorkbenchPage$1.run(WorkbenchPage.ja va:121)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.WorkbenchPage.activatePart(Workbench Page.java:113)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:1073)
at
org.eclipse.ui.internal.WorkbenchWindow$5.run(WorkbenchWindo w.java:919)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:56)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:907)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:820)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:746)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:504)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:817)
at org.eclipse.core.runtime.Platform.run(Platform.java:395)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:489)
at org.eclipse.ui.internal.Workbench.openWindows(Workbench.java :539)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:389)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:768)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:777)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319)
at java.lang.reflect.Method.invoke(Native Method)
at org.eclipse.core.launcher.Main.basicRun(Main.java:151)
at org.eclipse.core.launcher.Main.run(Main.java:502)
at org.eclipse.core.launcher.Main.main(Main.java:362)
Michael
David McKnight wrote:
>
> Hi Michael,
>
> I've tried this out with the drivers you mentioned but was unable to
> reproduce.
>
> Could you provide more details? There's a file that logs errors such as
> this - you can find it in the "eclipse/workspace/.metadata" directory.
> Could you post the log output?
>
> Thanks,
> Dave
>
> Michael Wisse wrote:
>
> > Hallo!
> >
> > I try to use
> > cdt-eclipse-R2-0125-20020308
> >
> > with
> > eclipse-SDK-20020214-linux-motif .
> >
> > I created a first C/C++ project for testing with the wizard and imported
> > some files. When I try to view a .c or a .h file, I get following error:
> >
> > "An error has occurred when creating this editor".
> >
> > What can I do?
> >
> > Best regards and thanks for assistance.
> >
> > Michael
|
|
|
|
Re: An error has occurred when creating this editor [message #22274 is a reply to message #21921] |
Tue, 19 March 2002 08:01 |
Eclipse User |
|
|
|
Originally posted by: mwisse.hs-harz.de
Hello Adrian!
You are right, I used the wrong sdk. I changed to eclipse R2-0125, but I
have the same problem, that the editor can not be created.
Now I want to try a newer jdk, I use 1.3.0.
I already tried to use eclipse R1.0, but I am not able to start it:
"memory access error". Perhaps it is a problem of the jdk.
Michael
Michael Wisse wrote:
>
> Hallo!
>
> I try to use
> cdt-eclipse-R2-0125-20020308
>
> with
> eclipse-SDK-20020214-linux-motif .
>
> I created a first C/C++ project for testing with the wizard and imported
> some files. When I try to view a .c or a .h file, I get following error:
>
> "An error has occurred when creating this editor".
>
> What can I do?
>
> Best regards and thanks for assistance.
>
> Michael
|
|
|
|
Re: An error has occurred when creating this editor [message #22336 is a reply to message #22274] |
Tue, 19 March 2002 16:13 |
Jeff Turnham Messages: 67 Registered: July 2009 |
Member |
|
|
Hi Michael,
It sounds like you have installed and re-installed incompatible versions of
the CDT and Eclipse. Therefore, it is not clear what you currently have
installed and why you are getting the errors. To help us diagnose the
problem, can you do the following to make sure you have a "clean"
installation:
1. Remove your current eclipse\cdt installation (if possible).
2. Install the eclipse-SDK-20020214-linux-motif.zip Stable Eclipse Build.
3. Then install the cdt-eclipse-R2-0214-20020308.zip Stable CDT Build.
If you still get the same errors, can you let us know the following:
1. What Linux Distribution\Level you are running.
2. Provide a copy of your workspace/.metadata/.log file
3. Provide the steps that you went through to produce the problem.
Thanks alot...
Jeff Turnham
"Michael Wisse" <mwisse@hs-harz.de> wrote in message
news:3C96F043.2178FB8E@hs-harz.de...
> Hello Adrian!
>
> You are right, I used the wrong sdk. I changed to eclipse R2-0125, but I
> have the same problem, that the editor can not be created.
>
> Now I want to try a newer jdk, I use 1.3.0.
> I already tried to use eclipse R1.0, but I am not able to start it:
> "memory access error". Perhaps it is a problem of the jdk.
>
> Michael
>
>
> Michael Wisse wrote:
> >
> > Hallo!
> >
> > I try to use
> > cdt-eclipse-R2-0125-20020308
> >
> > with
> > eclipse-SDK-20020214-linux-motif .
> >
> > I created a first C/C++ project for testing with the wizard and imported
> > some files. When I try to view a .c or a .h file, I get following error:
> >
> > "An error has occurred when creating this editor".
> >
> > What can I do?
> >
> > Best regards and thanks for assistance.
> >
> > Michael
|
|
|
Re: An error has occurred when creating this editor [message #22492 is a reply to message #22274] |
Thu, 21 March 2002 07:38 |
Eclipse User |
|
|
|
Originally posted by: mwisse.hs-harz.de
Now it works, with jdk 1.3.0, too. I was confused with the versions.
Thanks for assistance.
What jdk do you recommend?
Regards
Michael
Michael Wisse wrote:
>
> Hello Adrian!
>
> You are right, I used the wrong sdk. I changed to eclipse R2-0125, but I
> have the same problem, that the editor can not be created.
>
> Now I want to try a newer jdk, I use 1.3.0.
> I already tried to use eclipse R1.0, but I am not able to start it:
> "memory access error". Perhaps it is a problem of the jdk.
>
> Michael
>
> Michael Wisse wrote:
> >
> > Hallo!
> >
> > I try to use
> > cdt-eclipse-R2-0125-20020308
> >
> > with
> > eclipse-SDK-20020214-linux-motif .
> >
> > I created a first C/C++ project for testing with the wizard and imported
> > some files. When I try to view a .c or a .h file, I get following error:
> >
> > "An error has occurred when creating this editor".
> >
> > What can I do?
> >
> > Best regards and thanks for assistance.
> >
> > Michael
|
|
|
Powered by
FUDForum. Page generated in 0.03284 seconds