Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350919 - build path error -> cannot expand project anymore in package view
Summary: build path error -> cannot expand project anymore in package view
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.6.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2011-07-01 06:45 EDT by arne anka CLA
Modified: 2011-11-08 02:14 EST (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description arne anka CLA 2011-07-01 06:45:11 EDT
just produced a build path error in a java project (missing build path entry), indicated by a big red exclamation mark.
in the package view all of a sudden the little triangle indicating "expandable" disappeared leaving w/o the ability to expand the project.

in .metadata/.log there's a bit possibly related:


!ENTRY org.eclipse.ui.workbench 2 0 2011-07-01 11:51:24.048
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-07-01 11:51:24.048
!MESSAGE Conflict for 'org.eclipse.compare.copyAllLeftToRight':
HandlerActivation(commandId=org.eclipse.compare.copyAllLeftToRight,
	handler=ActionHandler(org.eclipse.compare.contentmergeviewer.ContentMergeViewer$8@c68740c),
	expression=AndExpression(ActivePartExpression(org.eclipse.compare.internal.CompareEditor@57488b9c),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1769c398)),sourcePriority=1064960)
HandlerActivation(commandId=org.eclipse.compare.copyAllLeftToRight,
	handler=ActionHandler(org.eclipse.compare.contentmergeviewer.ContentMergeViewer$8@1d9ac631),
	expression=AndExpression(ActivePartExpression(org.eclipse.compare.internal.CompareEditor@57488b9c),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1769c398)),sourcePriority=1064960)

!ENTRY org.eclipse.ui.workbench 2 0 2011-07-01 11:51:24.048
!MESSAGE A handler conflict occurred.  This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2011-07-01 11:51:24.048
!MESSAGE Conflict for 'org.eclipse.compare.copyAllRightToLeft':
HandlerActivation(commandId=org.eclipse.compare.copyAllRightToLeft,
	handler=ActionHandler(org.eclipse.compare.contentmergeviewer.ContentMergeViewer$9@2f6c64dd),
	expression=AndExpression(ActivePartExpression(org.eclipse.compare.internal.CompareEditor@57488b9c),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1769c398)),sourcePriority=1064960)
HandlerActivation(commandId=org.eclipse.compare.copyAllRightToLeft,
	handler=ActionHandler(org.eclipse.compare.contentmergeviewer.ContentMergeViewer$9@7552017d),
	expression=AndExpression(ActivePartExpression(org.eclipse.compare.internal.CompareEditor@57488b9c),WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@1769c398)),sourcePriority=1064960)

!ENTRY org.eclipse.jdt.ui 4 10001 2011-07-01 12:07:52.045
!MESSAGE Internal Error
!STACK 1
Java Model Exception: Java Model Status [/home/mine/EWS/Project/foldera/folderb/folderc/foo0.jar is not on its project's build path]
	at org.eclipse.jdt.internal.core.PackageFragmentRoot.getRawClasspathEntry(PackageFragmentRoot.java:553)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.getSelectedPackageFragmentRoot(LibrariesWorkbookPage.java:369)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.updateEnabledState(LibrariesWorkbookPage.java:602)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageSelectionChanged(LibrariesWorkbookPage.java:595)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$1(LibrariesWorkbookPage.java:594)
	at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.selectionChanged(LibrariesWorkbookPage.java:202)
	at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doListSelected(TreeListDialogField.java:897)
	at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$TreeViewerAdapter.selectionChanged(TreeListDialogField.java:882)
	at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:162)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
	at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
	at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:160)
	at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2162)
	at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1190)
	at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1220)
	at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:228)
	at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:222)
	at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:389)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
	at org.eclipse.jface.window.Window.open(Window.java:801)
	at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157)
	at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
	at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
	at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
	at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3540)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3161)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
	at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
	at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
	at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
	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:597)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1384)



-- Configuration Details --
Product: Eclipse 1.3.2.20110218-0812 (org.eclipse.epp.package.jee.product)
Installed Features:
 org.eclipse.platform 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
Comment 1 Dani Megert CLA 2011-07-04 09:36:40 EDT
> the package view
Do you mean the 'Package Explorer'?

Can you attach the project (or a smaller version of it)? I cannot reproduce this using R3.7.
Comment 2 Deepak Azad CLA 2011-10-19 01:05:10 EDT
(In reply to comment #1)
> Can you attach the project (or a smaller version of it)? I cannot reproduce
> this using R3.7.

Ping.
Comment 3 arne anka CLA 2011-10-22 18:59:15 EDT
yes, package explorer.

sorry, no i can't attach a project. it's not one single project but i've seen it on several - but not for a while now.

i experienced it when updating a project from svn after someone else switched libraries w/o updating the classpath, so that in the process of updating classpath errors occured.
Comment 4 Dani Megert CLA 2011-10-24 03:52:14 EDT
If it happens, does the problem persist on restart? Is there anything in the .log when you try to expand? The stack trace from comment 0 does not belong to expansion in the Package Explorer.
Comment 5 Dani Megert CLA 2011-11-08 02:14:49 EST
.