Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Views listeners
Views listeners [message #178619] Mon, 12 January 2004 17:04
Eclipse UserFriend
Originally posted by: angeles_sorano.yahoo.com.ar

Hello!!

I have the following problems:
1. Depending the execution of an action, I want to show, throws 2 views,
some information from 2 different files . But when I want to show the
second view I have this error (An error has occurred when creating this
view) and the .log is the following:

!SESSION Jan 12, 2004 10:33:35.950
---------------------------------------------
java.version=1.4.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -pdelaunch -dev bin -feature org.eclipse.platform
-data C:\eclipse\runtime-workspace -os win32 -ws win32 -arch x86 -nl en_US
-configuration
file:C:/eclipse/workspace/.metadata/.plugins/org.eclipse.pde .core/C__eclipse_runtime-workspace/platform.cfg
-install file:C:/eclipse/
!ENTRY org.eclipse.ui.workbench 4 2 Jan 12, 2004 10:33:35.990
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
at
com.ibm.liniotest.views.LiniotestOutView.createPartControl(L iniotestOutView.java:116)
at org.eclipse.ui.internal.PartPane$4.run(PartPane.java:141)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane .java:137)
at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane .java:211)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java :186)
at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java :190)
at
org.eclipse.ui.internal.PartTabFolder.createPartTab(PartTabF older.java:252)
at
org.eclipse.ui.internal.PartTabFolder.createControl(PartTabF older.java:224)
at
org.eclipse.ui.internal.PartSashContainer.createControl(Part SashContainer.java:192)
at
org.eclipse.ui.internal.PerspectivePresentation.activate(Per spectivePresentation.java:96)
at org.eclipse.ui.internal.Perspective.onActivate(Perspective.j ava:725)
at
org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPa ge.java:1799)
at
org.eclipse.ui.internal.WorkbenchWindow$7.run(WorkbenchWindo w.java:1496)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:69)
at
org.eclipse.ui.internal.WorkbenchWindow.setActivePage(Workbe nchWindow.java:1483)
at
org.eclipse.ui.internal.WorkbenchWindow.restoreState(Workben chWindow.java:1363)
at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1263)
at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1 223)
at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141 )
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1006)
at org.eclipse.core.runtime.Platform.run(Platform.java:413)
at
org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState (Workbench.java:1093)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:870)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(Intern alBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
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.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)

In 166 line, 2nd. view is making reference to the same file again, because
first it is referenced in the 1st. view.
For me It is like the second view can't get the listener of the Resource
Navigator because the first view has it. But I don't know how to fix this
problem.

Thanks for advice.....

Regards,
Ma. de los Angeles Sorano
mailto:soranom@ar.ibm.com
Previous Topic:MyEclipse with 3.0 M4 or higher
Next Topic:output informatin to the console view of ec;ipse
Goto Forum:
  


Current Time: Sat Jul 13 17:24:06 GMT 2024

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

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

Back to the top