Menu

#1 NullPointerException Opening Project in Clone Tree View

open
nobody
None
5
2003-12-12
2003-12-12
No

Please reply to ian_d_stewart@bankone.com

Selecting a Java Project in Eclipse, then selecting CBR |
Open in Clone Tree View, displays a blank view with the
text "An error has occurred when creating this view".

Examining the PDE Error Log, reveals the following detail:

java.lang.NullPointerException
at de.ol.uni.se.simon.cbr.ui.views.CloneTreeView.setInput
(CloneTreeView.java:436)
at
de.ol.uni.se.simon.cbr.ui.views.CloneTreeView.editorActiv
ated(CloneTreeView.java:500)
at
de.ol.uni.se.simon.cbr.ui.views.CloneTreeView.setLinkingE
nabled(CloneTreeView.java:484)
at
de.ol.uni.se.simon.cbr.ui.views.CloneTreeView.createPart
Control(CloneTreeView.java:267)
at org.eclipse.ui.internal.PartPane$4.run
(PartPane.java:141)
at org.eclipse.core.internal.runtime.InternalPlatform.run
(InternalPlatform.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
(PartTabFolder.java:252)
at org.eclipse.ui.internal.PartTabFolder.replaceChild
(PartTabFolder.java:684)
at org.eclipse.ui.internal.PartTabFolder.replace
(PartTabFolder.java:624)
at org.eclipse.ui.internal.PerspectivePresentation.addPart
(PerspectivePresentation.java:189)
at org.eclipse.ui.internal.Perspective.showView
(Perspective.java:1481)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView
(WorkbenchPage.java:655)
at org.eclipse.ui.internal.WorkbenchPage.access$9
(WorkbenchPage.java:634)
at org.eclipse.ui.internal.WorkbenchPage$13.run
(WorkbenchPage.java:2777)
at org.eclipse.swt.custom.BusyIndicator.showWhile
(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView
(WorkbenchPage.java:2774)
at org.eclipse.ui.internal.WorkbenchPage.showView
(WorkbenchPage.java:2764)
at
de.ol.uni.se.simon.cbr.ui.views.ShowCloneSetsAction.run
(ShowCloneSetsAction.java:57)
at org.eclipse.ui.internal.PluginAction.runWithEvent
(PluginAction.java:251)
at
org.eclipse.jface.action.ActionContributionItem.handleWid
getSelection(ActionContributionItem.java:456)
at
org.eclipse.jface.action.ActionContributionItem.handleWid
getEvent(ActionContributionItem.java:403)
at
org.eclipse.jface.action.ActionContributionItem.access$0
(ActionContributionItem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$ActionList
ener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent
(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent
(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents
(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch
(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop
(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run
(Workbench.java:1385)
at org.eclipse.core.internal.boot.InternalBootLoader.run
(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run
(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.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)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.