java.lang.IllegalArgumentException: Path for project must have only one segment.

Google Groups | forgems | 1 decade ago
  1. 0

    Problem launching app in eclipse

    Google Groups | 1 decade ago | forgems
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  2. 0

    problem in adding new Application in an existing project

    Google Groups | 1 decade ago | subhiDaffo
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  3. 0

    problem in adding new Application in an existing project

    Google Groups | 1 decade ago | subhiDaffo
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I get a popup containing: {code} Errors during build. Errors running builder "Spring Project Builder" on project bbt.liquidityarbitrage. An error occurred while traversing resources. {code} The entry in the log contains: {code} java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60) at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModel.getProject(BeansModel.java:125) at org.springframework.ide.eclipse.beans.core.internal.model.BeansModelUtils.getConfig(BeansModelUtils.java:55) at org.springframework.ide.eclipse.beans.core.internal.model.BeansConfigValidator.validate(BeansConfigValidator.java:96) at org.springframework.ide.eclipse.beans.core.internal.project.BeansProjectValidator.build(BeansProjectValidator.java:69) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:154) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.access####0(SpringProjectBuilder.java:150) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder####Visitor.visit(SpringProjectBuilder.java:109) at org.eclipse.core.internal.resources.Resource####2.visit(Resource.java:103) at org.eclipse.core.internal.resources.Resource####1.visitElement(Resource.java:50) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:81) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:85) at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:126) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:60) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:101) at org.eclipse.core.internal.resources.Resource.accept(Resource.java:80) at org.springframework.ide.eclipse.core.internal.project.SpringProjectBuilder.build(SpringProjectBuilder.java:91) at org.eclipse.core.internal.events.BuildManager####2.run(BuildManager.java:585) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:168) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:202) at org.eclipse.core.internal.events.BuildManager####1.run(BuildManager.java:231) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1029) at org.eclipse.core.runtime.Platform.run(Platform.java:775) at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:234) at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:253) at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:282) at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:139) at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:200) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67) {code} The error only occurs with spring-nature enabled -- remove the spring-nature and the error is not issued. Barry Kaplan

    Spring JIRA | 1 decade ago | Imported
    java.lang.IllegalArgumentException: Path for project must have only one segment.
  6. 0

    Canceling the ear project wizard launched from the ear selection panel throws exception

    Eclipse Bugzilla | 1 decade ago | konstantin.komissarchik
    java.lang.IllegalArgumentException: Path for project must have only one segment.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Path for project must have only one segment.

      at org.eclipse.core.internal.utils.Assert.isLegal()
    2. Core Resource Management
      WorkspaceRoot.getProject
      1. org.eclipse.core.internal.utils.Assert.isLegal(Assert.java:60)
      2. org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:134)
      2 frames
    3. JDT Core
      JavaModel.getJavaProject
      1. org.eclipse.jdt.internal.core.JavaModel.getJavaProject(JavaModel.java:204)
      1 frame
    4. Java Development Tools Launching Support
      JavaRuntime.getJavaProject
      1. org.eclipse.jdt.launching.JavaRuntime.getJavaProject(JavaRuntime.java:1164)
      1 frame
    5. JDI Debug UI
      JavaArgumentsTab.initializeFrom
      1. org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock.setDefaultWorkingDir(WorkingDirectoryBlock.java:253)
      2. org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock.handleUseDefaultWorkingDirButtonSelected(WorkingDirectoryBlock.java:225)
      3. org.eclipse.jdt.internal.debug.ui.launcher.WorkingDirectoryBlock.initializeFrom(WorkingDirectoryBlock.java:319)
      4. org.eclipse.jdt.debug.ui.launchConfigurations.JavaArgumentsTab.initializeFrom(JavaArgumentsTab.java:177)
      4 frames
    6. org.eclipse.debug
      LaunchConfigurationTabGroupViewer$5.run
      1. org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom(AbstractLaunchConfigurationTabGroup.java:86)
      2. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:543)
      3. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$5.run(LaunchConfigurationTabGroupViewer.java:471)
      3 frames
    7. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      1 frame
    8. org.eclipse.debug
      LaunchConfigurationsDialog$3.selectionChanged
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:488)
      2. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:452)
      3. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:789)
      4. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:601)
      4 frames
    9. JFace
      StructuredViewer$3.run
      1. org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:763)
      1 frame
    10. Eclipse Core
      Platform.run
      1. org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044)
      2. org.eclipse.core.runtime.Platform.run(Platform.java:783)
      2 frames
    11. Eclipse UI
      JFaceUtil$1.run
      1. org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
      1 frame
    12. JFace
      OpenStrategy$3.run
      1. org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:148)
      2. org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:761)
      3. org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1042)
      4. org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1062)
      5. org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
      6. org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
      7. org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
      7 frames
    13. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
      2. org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
      3. org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2844)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2575)
      4 frames
    14. JFace
      Window.open
      1. org.eclipse.jface.window.Window.runEventLoop(Window.java:809)
      2. org.eclipse.jface.window.Window.open(Window.java:787)
      2 frames
    15. org.eclipse.debug
      DebugUITools$1.run
      1. org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:439)
      2. org.eclipse.debug.ui.DebugUITools$1.run(DebugUITools.java:356)
      2 frames
    16. RWT
      BusyIndicator.showWhile
      1. org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
      1 frame
    17. org.eclipse.debug
      OpenLaunchDialogAction.run
      1. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:360)
      2. org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:302)
      3. org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:80)
      3 frames
    18. JFace
      ActionContributionItem$5.handleEvent
      1. org.eclipse.jface.action.Action.runWithEvent(Action.java:996)
      2. org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:538)
      3. org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
      4. org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:400)
      4 frames
    19. RWT
      Display.readAndDispatch
      1. org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
      2. org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021)
      3. org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867)
      4. org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572)
      4 frames
    20. Eclipse UI
      Workbench.createAndRunWorkbench
      1. org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699)
      2. org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663)
      3. org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367)
      3 frames
    21. Eclipse UI
      IDEApplication.run
      1. org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143)
      2. org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103)
      2 frames
    22. Eclipse Core
      PlatformActivator$1.run
      1. org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226)
      1 frame
    23. Eclipse OSGi
      EclipseStarter.run
      1. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376)
      2. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163)
      2 frames
    24. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:585)
      4 frames
    25. Equinox
      Main.main
      1. org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
      2. org.eclipse.core.launcher.Main.basicRun(Main.java:278)
      3. org.eclipse.core.launcher.Main.run(Main.java:973)
      4. org.eclipse.core.launcher.Main.main(Main.java:948)
      4 frames