Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » migration issue from eclipse 3.0.1 to eclipse 3.1
migration issue from eclipse 3.0.1 to eclipse 3.1 [message #297641] Wed, 18 January 2006 06:37 Go to next message
Eclipse UserFriend
Originally posted by: yabing.crimsonlogic.com

Hi,

I encounter an error when trying to migrate my projects from eclipse 3.0.1
to eclipse 3.1. the error msg is as below: how can i solve this issue?
thanks.

ENTRY org.eclipse.ui 4 0 2006-01-18 14:33:55.841
!MESSAGE Unable to create editor ID
com.crimsonlogic.performa.studio.main.StudioDesigner: null argument;
!STACK 0
org.eclipse.ui.internal.misc.AssertionFailedException: null argument;
at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:81 )
at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:68 )
at org.eclipse.ui.internal.PartTester.testEditorInput(PartTeste r.java:56)
at org.eclipse.ui.internal.PartTester.testEditor(PartTester.jav a:42)
at
org.eclipse.ui.internal.EditorReference.createPartHelper(Edi torReference.java:595)
at
org.eclipse.ui.internal.EditorReference.createPart(EditorRef erence.java:365)
at
org.eclipse.ui.internal.WorkbenchPartReference.getPart(Workb enchPartReference.java:552)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:28 3)
at
org.eclipse.ui.internal.presentations.PresentablePart.setVis ible(PresentablePart.java:126)
at
org.eclipse.ui.internal.presentations.util.PresentablePartFo lder.select(PresentablePartFolder.java:268)
at
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrd er.select(LeftToRightTabOrder.java:65)
at
org.eclipse.ui.internal.presentations.util.TabbedStackPresen tation.selectPart(TabbedStackPresentation.java:391)
at
org.eclipse.ui.internal.PartStack.refreshPresentationSelecti on(PartStack.java:1102)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.jav a:1051)
at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:12 56)
at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:109 )
at
org.eclipse.ui.internal.EditorSashContainer.addEditor(Editor SashContainer.java:60)
at
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorA reaHelper.java:212)
at
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAre aHelper.java:202)
at
org.eclipse.ui.internal.EditorManager.createEditorTab(Editor Manager.java:753)
at
org.eclipse.ui.internal.EditorManager.openEditorFromDescript or(EditorManager.java:665)
at
org.eclipse.ui.internal.EditorManager.openEditor(EditorManag er.java:628)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched( WorkbenchPage.java:2323)
at
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(Workben chPage.java:2258)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage .java:2250)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.ja va:2236)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2231)
at
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPa ge.java:2204)
at
com.crimsonlogic.performa.studio.attribute.ui.ADPerspective. perspectiveActivated(ADPerspective.java:152)
at
org.eclipse.ui.internal.PerspectiveListenerList$1.run(Perspe ctiveListenerList.java:73)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1044)
at org.eclipse.core.runtime.Platform.run(Platform.java:783)
at
org.eclipse.ui.internal.PerspectiveListenerList.fireEvent(Pe rspectiveListenerList.java:58)
at
org.eclipse.ui.internal.PerspectiveListenerList.firePerspect iveActivated(PerspectiveListenerList.java:71)
at
org.eclipse.ui.internal.WorkbenchWindow.firePerspectiveActiv ated(WorkbenchWindow.java:1159)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:2931)
at
org.eclipse.ui.internal.WorkbenchPage.busySetPerspective(Wor kbenchPage.java:902)
at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPag e.java:887)
at org.eclipse.ui.internal.WorkbenchPage$12.run(WorkbenchPage.j ava:3051)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchPage.setPerspective(Workben chPage.java:3049)
at org.eclipse.ui.internal.Workbench.showPerspective(Workbench. java:1858)
at
com.crimsonlogic.performa.studio.main.StudioWorkbenchAdvisor .postWindowOpen(StudioWorkbenchAdvisor.java:254)
at
org.eclipse.ui.internal.application.CompatibilityWorkbenchWi ndowAdvisor.postWindowOpen(CompatibilityWorkbenchWindowAdvis or.java:65)
at
org.eclipse.ui.internal.WorkbenchWindow.fireWindowOpened(Wor kbenchWindow.java:1070)
at org.eclipse.ui.internal.WorkbenchWindow.open(WorkbenchWindow .java:701)
at
org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Wo rkbench.java:677)
at
org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Work bench.java:1282)
at
org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1223)
at
org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:190)
at
org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:706)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1034)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1636)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at
com.crimsonlogic.performa.studio.main.StudioApplication.run( StudioApplication.java:63)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.java:226)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:376)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:163)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334 )
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)
Re: migration issue from eclipse 3.0.1 to eclipse 3.1 [message #297705 is a reply to message #297641] Wed, 18 January 2006 16:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: douglas.pollock.magma.ca

yabing wrote:
> I encounter an error when trying to migrate my projects from eclipse 3.0.1
> to eclipse 3.1. the error msg is as below: how can i solve this issue?
> thanks.
>
> ENTRY org.eclipse.ui 4 0 2006-01-18 14:33:55.841
> !MESSAGE Unable to create editor ID
> com.crimsonlogic.performa.studio.main.StudioDesigner: null argument;
> !STACK 0
> org.eclipse.ui.internal.misc.AssertionFailedException: null argument;
> at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:81 )
> at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:68 )
> at org.eclipse.ui.internal.PartTester.testEditorInput(PartTeste r.java:56)
> at org.eclipse.ui.internal.PartTester.testEditor(PartTester.jav a:42)

Eclipse is now verifying that the created part meets the minimum
specifications laid out by our APIs. In this case, it seems that the
editor input is return a null name. This is not allowed. (side note: Wow.
That is a really bad error message. I'll fix that up in the 3.2 stream.)

/**
* Returns the name of this editor input for display purposes.
* <p>
* For instance, when the input is from a file, the return value would
* ordinarily be just the file name.
*
* @return the name string; never <code>null</code>;
*/
public String getName();



cheers,
d.
Re: migration issue from eclipse 3.0.1 to eclipse 3.1 [message #297737 is a reply to message #297705] Thu, 19 January 2006 08:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yabing.crimsonlogic.com

Douglas Pollock wrote:

> yabing wrote:
>> I encounter an error when trying to migrate my projects from eclipse 3.0.1
>> to eclipse 3.1. the error msg is as below: how can i solve this issue?
>> thanks.
>>
>> ENTRY org.eclipse.ui 4 0 2006-01-18 14:33:55.841
>> !MESSAGE Unable to create editor ID
>> com.crimsonlogic.performa.studio.main.StudioDesigner: null argument;
>> !STACK 0
>> org.eclipse.ui.internal.misc.AssertionFailedException: null argument;
>> at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:81 )
>> at org.eclipse.ui.internal.misc.Assert.isNotNull(Assert.java:68 )
>> at org.eclipse.ui.internal.PartTester.testEditorInput(PartTeste r.java:56)
>> at org.eclipse.ui.internal.PartTester.testEditor(PartTester.jav a:42)

> Eclipse is now verifying that the created part meets the minimum
> specifications laid out by our APIs. In this case, it seems that the
> editor input is return a null name. This is not allowed. (side note: Wow.
> That is a really bad error message. I'll fix that up in the 3.2 stream.)

> /**
> * Returns the name of this editor input for display purposes.
> * <p>
> * For instance, when the input is from a file, the return value
would
> * ordinarily be just the file name.
> *
> * @return the name string; never <code>null</code>;
> */
> public String getName();

sorry, I don't quite understand what you means. do u mean for now I need
to add in a new method getName() in the Editor (in my case
StudioDesigner)? After I tried in this way, the same error is still there.
Thanks


> cheers,
> d.
Re: migration issue from eclipse 3.0.1 to eclipse 3.1 [message #297751 is a reply to message #297737] Thu, 19 January 2006 12:18 Go to previous messageGo to next message
Paul Webster is currently offline Paul WebsterFriend
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

yabing wrote:
>
> sorry, I don't quite understand what you means. do u mean for now I need
> to add in a new method getName() in the Editor (in my case
> StudioDesigner)? After I tried in this way, the same error is still
> there. Thanks

No, the editor input (IEditorInput#getName() must never return null)

Later,
PW


Re: migration issue from eclipse 3.0.1 to eclipse 3.1 [message #297811 is a reply to message #297751] Fri, 20 January 2006 06:15 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yabing.crimsonlogic.com

Paul Webster wrote:

> yabing wrote:
>>
>> sorry, I don't quite understand what you means. do u mean for now I need
>> to add in a new method getName() in the Editor (in my case
>> StudioDesigner)? After I tried in this way, the same error is still
>> there. Thanks

> No, the editor input (IEditorInput#getName() must never return null)

> Later,
> PW

now it works! thanks so much!

I have another two problems. when I run an Eclipse Application from source
code by click on the menu Run->Run in Eclipse 3.1, the Eclipse splash
screen also comes out. but previously in Eclipse 3.0, it won't come out.
how can I solve this?
the other problem is that when I copy my workspace projects from Eclipse
3.0 to Eclipse 3.1, seems the CVS connection lost in Eclipse 3.1. does
that mean I cannot use this way to migrate my projects? or I also need to
copy some other folders? thanks!
Re: migration issue from eclipse 3.0.1 to eclipse 3.1 [message #300211 is a reply to message #297811] Sat, 04 March 2006 14:13 Go to previous message
Eclipse UserFriend
Originally posted by: varavamu.yahoo.com

when you copy the projects - they will usually also have the cvs
metadata directories inside them. so you can simply go to Team > Share
project and you will be prompted to enter your password.
If you want to bypass this step (and if you had told Eclipse to save
your password in your previous install), you can simply copy the
<eclipseConfigurationLocation>\org.eclipse.core.runtime\.keyring file
from the old location into the same place in the new location. Once you
restart eclipse - it will read this file and bypass the prompting for
cvs password.

hth,
Vijay

yabing wrote:
> Paul Webster wrote:
>
>> yabing wrote:
>>>
>>> sorry, I don't quite understand what you means. do u mean for now I
>>> need to add in a new method getName() in the Editor (in my case
>>> StudioDesigner)? After I tried in this way, the same error is still
>>> there. Thanks
>
>> No, the editor input (IEditorInput#getName() must never return null)
>
>> Later,
>> PW
>
> now it works! thanks so much!
>
> I have another two problems. when I run an Eclipse Application from
> source code by click on the menu Run->Run in Eclipse 3.1, the Eclipse
> splash screen also comes out. but previously in Eclipse 3.0, it won't
> come out. how can I solve this? the other problem is that when I copy
> my workspace projects from Eclipse 3.0 to Eclipse 3.1, seems the CVS
> connection lost in Eclipse 3.1. does that mean I cannot use this way
> to migrate my projects? or I also need to copy some other folders?
> thanks!
>
>
Previous Topic:Tracing tab overwrites .options file - and is missing org.eclipse.ui.workbench
Next Topic:How to obtain bundle ClassLoader
Goto Forum:
  


Current Time: Wed Jul 17 20:17:56 GMT 2024

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

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

Back to the top