Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Welcome View Problems
Welcome View Problems [message #435302] Fri, 12 August 2005 00:36 Go to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

Within eclipse my welcome view works perfectly. It comes up only the first
time.

As soon as I export the product, then it always comes up. Interestingly,
save and restore is working for the rest of the workbench.

Does anyone have any ideas what could be wrong?

This is my intro definition:

<extension
point="org.eclipse.ui.intro">
<introProductBinding
introId="org.eclipse.platform.intro"
productId="bigblogzoo.product">
</introProductBinding>
</extension>


I don't think this is directly related but I am getting another error when
I say "Go To Workbench" (If you kill the welcome window with the x it
doesn't seem to trigger this error):

java.lang.NullPointerException
at
org.eclipse.ui.internal.WorkbenchWindow.addToTrim(WorkbenchW indow.java:3107)
at
org.eclipse.ui.internal.intro.impl.presentations.IntroLaunch Bar.createInActiveWindow(IntroLaunchBar.java:348)
at
org.eclipse.ui.internal.intro.impl.model.url.IntroURL.switch ToLaunchBar(IntroURL.java:607)
at
org.eclipse.ui.internal.intro.impl.model.url.IntroURL.doExec ute(IntroURL.java:200)
at
org.eclipse.ui.internal.intro.impl.model.url.IntroURL$1.run( IntroURL.java:137)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.intro.impl.model.url.IntroURL.execut e(IntroURL.java:134)
at
org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartLocationListener.changing(BrowserIntroPartLocationListe ner.java:130)
at org.eclipse.swt.browser.Browser$2.handleEvent(Browser.java:1 99)
at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTa ble.java:55)
at
org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEve ntSink.java:144)
at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.j ava:119)
at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink .java:96)
at org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSin k.java:70)
at
org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:117)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
at
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
at framework.BrowserApp.run(BrowserApp.java:169)
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(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
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)

In a trawl I found that someone else had this error but there doesn't seem
to be a solution.
Re: Welcome View Problems [message #435308 is a reply to message #435302] Fri, 12 August 2005 07:31 Go to previous messageGo to next message
Martín Pérez Mariñán is currently offline Martín Pérez MariñánFriend
Messages: 62
Registered: July 2009
Member
I'm getting exactly the same annoying effect!!

I asked few days ago for a solution but nobody answer :-(
Re: Welcome View Problems [message #435311 is a reply to message #435308] Fri, 12 August 2005 09:51 Go to previous messageGo to next message
Martín Pérez Mariñán is currently offline Martín Pérez MariñánFriend
Messages: 62
Registered: July 2009
Member
Today, I have been investigating something more about this strange behaviour.

I built the sample eclipse RCP application that comes with Eclipse wizards, and added the default eclipse intro (org.eclipse.platform) to the application. Then I exported the application and built it.

I executed the application several times and the intro always appear!!

It seems a bug. We should try with eclipse intro 3.0.0 package.
Re: Welcome View Problems [message #435312 is a reply to message #435311] Fri, 12 August 2005 10:19 Go to previous messageGo to next message
Martín Pérez Mariñán is currently offline Martín Pérez MariñánFriend
Messages: 62
Registered: July 2009
Member
It also fails with org.eclipse.ui.intro_3.0.2 and with org.eclipse.platform_3.0.2

Anyone could help?

I can send a simple sample project, and maybe someone could help us to understand why the eclipse intro page always appear.
Re: Welcome View Problems [message #435710 is a reply to message #435312] Mon, 22 August 2005 13:18 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

be sure to look at mpermar's latest post about this.


"Mart
Re: Welcome View Problems [message #435757 is a reply to message #435710] Tue, 23 August 2005 07:13 Go to previous messageGo to next message
Martín Pérez Mariñán is currently offline Martín Pérez MariñánFriend
Messages: 62
Registered: July 2009
Member
Thanks for the advice Kent!

But ... I am mpermar :-)
Re: Welcome View Problems [message #435777 is a reply to message #435757] Tue, 23 August 2005 19:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: kent.generatescape.com

I thought that might be the case!
"Mart
Re: Welcome View Problems [message #435981 is a reply to message #435302] Sun, 28 August 2005 10:33 Go to previous messageGo to next message
Omer Tamir is currently offline Omer TamirFriend
Messages: 4
Registered: July 2009
Junior Member
Try launching the exported product with the '-data workspace'
command-line arguments.


kent wrote:

>Within eclipse my welcome view works perfectly. It comes up only the first
>time.
>
>As soon as I export the product, then it always comes up. Interestingly,
>save and restore is working for the rest of the workbench.
>
>Does anyone have any ideas what could be wrong?
>
>This is my intro definition:
>
><extension
> point="org.eclipse.ui.intro">
> <introProductBinding
> introId="org.eclipse.platform.intro"
> productId="bigblogzoo.product">
> </introProductBinding>
></extension>
>
>
>I don't think this is directly related but I am getting another error when
>I say "Go To Workbench" (If you kill the welcome window with the x it
>doesn't seem to trigger this error):
>
>java.lang.NullPointerException
> at
> org.eclipse.ui.internal.WorkbenchWindow.addToTrim(WorkbenchW indow.java:3107)
> at
> org.eclipse.ui.internal.intro.impl.presentations.IntroLaunch Bar.createInActiveWindow(IntroLaunchBar.java:348)
> at
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.switch ToLaunchBar(IntroURL.java:607)
> at
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.doExec ute(IntroURL.java:200)
> at
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL$1.run( IntroURL.java:137)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> at
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.execut e(IntroURL.java:134)
> at
> org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartLocationListener.changing(BrowserIntroPartLocationListe ner.java:130)
> at org.eclipse.swt.browser.Browser$2.handleEvent(Browser.java:1 99)
> at org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTa ble.java:55)
> at
> org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEve ntSink.java:144)
> at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.j ava:119)
> at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink .java:96)
> at org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSin k.java:70)
> at
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:117)
> at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> at framework.BrowserApp.run(BrowserApp.java:169)
> 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(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> 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)
>
>In a trawl I found that someone else had this error but there doesn't seem
>to be a solution.
>
>
>
>
>
Re: Welcome View Problems [message #436182 is a reply to message #435981] Thu, 01 September 2005 16:44 Go to previous message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
This is a bug. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=107698.

"Omer Tamir" <omer.tamir@gmail.com> wrote in message
news:des3uu$k6s$1@news.eclipse.org...
> Try launching the exported product with the '-data workspace'
> command-line arguments.
>
>
> kent wrote:
>
> >Within eclipse my welcome view works perfectly. It comes up only the
first
> >time.
> >
> >As soon as I export the product, then it always comes up. Interestingly,
> >save and restore is working for the rest of the workbench.
> >
> >Does anyone have any ideas what could be wrong?
> >
> >This is my intro definition:
> >
> ><extension
> > point="org.eclipse.ui.intro">
> > <introProductBinding
> > introId="org.eclipse.platform.intro"
> > productId="bigblogzoo.product">
> > </introProductBinding>
> ></extension>
> >
> >
> >I don't think this is directly related but I am getting another error
when
> >I say "Go To Workbench" (If you kill the welcome window with the x it
> >doesn't seem to trigger this error):
> >
> >java.lang.NullPointerException
> > at
>
> org.eclipse.ui.internal.WorkbenchWindow.addToTrim(WorkbenchW indow.java:3107
)
> > at
>
> org.eclipse.ui.internal.intro.impl.presentations.IntroLaunch Bar.createInAct
iveWindow(IntroLaunchBar.java:348)
> > at
>
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.switch ToLaunchBar(Int
roURL.java:607)
> > at
>
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.doExec ute(IntroURL.ja
va:200)
> > at
>
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL$1.run( IntroURL.java:1
37)
> > at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
> > at
>
> org.eclipse.ui.internal.intro.impl.model.url.IntroURL.execut e(IntroURL.java
:134)
> > at
>
> org.eclipse.ui.internal.intro.impl.presentations.BrowserIntr oPartLocationLi
stener.changing(BrowserIntroPartLocationListener.java:130)
> > at org.eclipse.swt.browser.Browser$2.handleEvent(Browser.java:1 99)
> > at
org.eclipse.swt.ole.win32.OleEventTable.sendEvent(OleEventTa ble.java:55)
> > at
>
> org.eclipse.swt.ole.win32.OleEventSink.notifyListener(OleEve ntSink.java:144
)
> > at org.eclipse.swt.ole.win32.OleEventSink.Invoke(OleEventSink.j ava:119)
> > at org.eclipse.swt.ole.win32.OleEventSink.access$1(OleEventSink .java:96)
> > at
org.eclipse.swt.ole.win32.OleEventSink$1.method6(OleEventSin k.java:70)
> > at
>
> org.eclipse.swt.internal.ole.win32.COMObject.callback6(COMOb ject.java:117)
> > at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
> > at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:16 56)
> > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2711)
> > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1699)
> > at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
> > at
>
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:367)
> > at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:143)
> > at framework.BrowserApp.run(BrowserApp.java:169)
> > 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(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > 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)
> >
> >In a trawl I found that someone else had this error but there doesn't
seem
> >to be a solution.
> >
> >
> >
> >
> >
Previous Topic:howto add a second coolbar to RCP application
Next Topic:Reopening the workbench without restarting RCP platform - Kiosk mode
Goto Forum:
  


Current Time: Thu Dec 26 19:25:17 GMT 2024

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

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

Back to the top