java.lang.IllegalArgumentException

Path for project must have only one segment.

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web11535

  • via Google Groups by subhiDaffo, 1 year ago
    Path for project must have only one segment.
  • via Eclipse Bugzilla by moritz.eysholdt, 1 year ago
    Path for project must have only one segment.
  • Path for project must have only one segment.
  • Stack trace

    • java.lang.IllegalArgumentException: Path for project must have only one segment. at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)[org.eclipse.equinox.common_3.6.0.v20100503.jar:na] at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:183)[org.eclipse.core.resources_3.6.1.R36x_v20110131-1630.jar:na] at it.eng.spagobi.meta.generator.jpamapping.JpaMappingCodeGenerator.hideTechnicalResources(JpaMappingCodeGenerator.java:552)[it.eng.spagobi.meta.generator_5.0.0.jar:na] at it.eng.spagobi.meta.generator.jpamapping.JpaMappingJarGenerator.hideTechnicalResources(JpaMappingJarGenerator.java:81)[it.eng.spagobi.meta.generator_5.0.0.jar:na] at it.eng.spagobi.meta.querybuilder.model.ModelManager.generateMapping(ModelManager.java:139)[it.eng.spagobi.meta.querybuilder_5.0.0.jar:na] at it.eng.spagobi.meta.querybuilder.model.ModelManager.generateMapping(ModelManager.java:115)[it.eng.spagobi.meta.querybuilder_5.0.0.jar:na] at it.eng.spagobi.studio.core.services.datamartTemplate.UploadDatamartTemplateService.datamartUpload(UploadDatamartTemplateService.java:133)[it.eng.spagobi.studio.core_5.0.0.jar:na] at it.eng.spagobi.studio.core.views.actionProvider.ResourceNavigatorActionProvider$19.run(ResourceNavigatorActionProvider.java:534)[it.eng.spagobi.studio.core_5.0.0.jar:na] at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)[org.eclipse.jface_3.6.2.M20110210-1200.jar:na] at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)[org.eclipse.jface_3.6.2.M20110210-1200.jar:na] at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)[org.eclipse.jface_3.6.2.M20110210-1200.jar:na] at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)[org.eclipse.jface_3.6.2.M20110210-1200.jar:na] at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)[org.eclipse.swt.win32.win32.x86_64_3.6.2.v3659c.jar:na] at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)[org.eclipse.swt.win32.win32.x86_64_3.6.2.v3659c.jar:na] at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)[org.eclipse.swt.win32.win32.x86_64_3.6.2.v3659c.jar:na] at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)[org.eclipse.swt.win32.win32.x86_64_3.6.2.v3659c.jar:na] at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)[org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar:na] at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)[org.eclipse.ui.workbench_3.6.2.M20110210-1200.jar:na] at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)[org.eclipse.ui.ide.application_1.0.201.M20100707-0800.jar:na] at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)[org.eclipse.equinox.app_1.3.1.R36x_v20100803.jar:na] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)[org.eclipse.osgi_3.6.2.R36x_v20110210.jar:na] at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)[org.eclipse.osgi_3.6.2.R36x_v20110210.jar:na] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)[org.eclipse.osgi_3.6.2.R36x_v20110210.jar:na] at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)[org.eclipse.osgi_3.6.2.R36x_v20110210.jar:na] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)[na:1.8.0_25] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)[na:1.8.0_25] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)[na:1.8.0_25] at java.lang.reflect.Method.invoke(Method.java:483)[na:1.8.0_25] at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)[org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar:na] at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)[org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar:na] at org.eclipse.equinox.launcher.Main.run(Main.java:1408)[org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar:na] at org.eclipse.equinox.launcher.Main.main(Main.java:1384)[org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar:na]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    2 more bugmates