Bug 40687 - classpath file: duplicate entries prevent build and are not reported
Summary: classpath file: duplicate entries prevent build and are not reported
Status: RESOLVED INVALID
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 3.0 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-23 19:22 EDT by MG CLA
Modified: 2003-08-25 05:06 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MG CLA 2003-07-23 19:22:56 EDT
I edited my classpath file to match the classpath of my weblogic install. 
Trying to rebuild gave me this error but without any details on the specific
build errors it is impossible for me to track down.
Comment 1 MG CLA 2003-07-23 20:34:37 EDT
Problem was that I had two entries that are exactly the same.  This causes the
build to give the message above.
Comment 2 Philipe Mulet CLA 2003-07-24 05:43:04 EDT
Isn't there a marker generated for this error ?
Comment 3 MG CLA 2003-07-24 11:39:25 EDT
You are right it seems it does narrow down the problem for me now.  The only
thing I can think of is if you completely change your cp and then there are
issues with it then eclipse isn't able to place the marker.  It wasn't narrowing
down the problem for me before.
Comment 4 MG CLA 2003-07-24 11:55:00 EDT
I see this in my log file.  Perhaps this prevented the marker from working?


!ENTRY org.eclipse.ui 4 4 Jul 23, 2003 17:47:59.70
!MESSAGE Unhandled exception caught in event loop.
!ENTRY org.eclipse.ui 4 0 Jul 23, 2003 17:47:59.70
!MESSAGE Path for project must have only one segment.
!STACK 0
java.lang.IllegalArgumentException: Path for project must have only one segment.
	at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:55)
	at
org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:112)
	at
org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsLocationSelectionPage.setProjectName(CheckoutAsLocationSelectionPage.java:90)
	at
org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsWizard.getNextPage(CheckoutAsWizard.java:148)
	at org.eclipse.jface.wizard.WizardPage.getNextPage(WizardPage.java:163)
	at org.eclipse.jface.wizard.WizardPage.canFlipToNextPage(WizardPage.java:115)
	at org.eclipse.jface.wizard.WizardDialog.updateButtons(WizardDialog.java:1044)
	at org.eclipse.jface.wizard.WizardPage.setPageComplete(WizardPage.java:274)
	at
org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsMainPage.updateEnablements(CheckoutAsMainPage.java:196)
	at
org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsMainPage.access$0(CheckoutAsMainPage.java:181)
	at
org.eclipse.team.internal.ccvs.ui.wizards.CheckoutAsMainPage$1.modifyText(CheckoutAsMainPage.java:172)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:183)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:872)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:853)
	at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:1825)
	at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:3025)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2875)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:2713)
	at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
	at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1262)
	at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:127)
	at org.eclipse.swt.widgets.Control.windowProc(Control.java:2951)
	at org.eclipse.swt.widgets.Display.windowProc(Display.java:2713)
	at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
	at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1338)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1876)
	at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
	at org.eclipse.jface.window.Window.open(Window.java:563)
	at
org.eclipse.team.internal.ccvs.ui.actions.CheckoutAsAction.execute(CheckoutAsAction.java:40)
	at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run(CVSAction.java:68)
	at org.eclipse.ui.actions.ActionDelegate.runWithEvent(ActionDelegate.java:71)
	at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:253)
	at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:542)
	at
org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:496)
	at
org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:468)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2188)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1878)
	at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1680)
	at org.eclipse.ui.internal.Workbench.run(Workbench.java:1663)
	at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
	at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
	at java.lang.reflect.Method.invoke(Native Method)
	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)
Comment 5 Jerome Lanneluc CLA 2003-08-21 11:30:11 EDT
So are you seeing markers in the Problem view?

Otherwise the stack trace seems completely unrelated and you should open 
another bug (against Platform/VCM) for this.
Comment 6 Jerome Lanneluc CLA 2003-08-22 11:11:31 EDT
Please reopen when you have an answer to comment #5.
Comment 7 MG CLA 2003-08-22 13:53:23 EDT
Yes I did see markers in the problem area, should I log the stack trace as a
different bug or just ignore it?
Comment 8 Jerome Lanneluc CLA 2003-08-25 05:06:04 EDT
Yes, please another bug.
Comment 9 Jerome Lanneluc CLA 2003-08-25 05:06:32 EDT
Closing as user error.