bndtools/bndtools — Issue #349: bndtools (or bnd?) has problem with spaces in the workspace directory
Author: egoine
Created: 2012-02-27 18:42:39+00:00
State: open

I do understand it is fairly dumb to have space in the eclipse workspace directory, but that being said while I tried to setup a quick eclipse install, I ended up choosing the default for the workspace location in eclipse 3.7, and for me that had spaces.

bndtools wasn't happy with that. Eclipse log below.
Moving the workspace solved the issue.

thanks,

-mathieu

!SESSION 2012-02-27 10:07:23.328 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY bndtools.core 4 0 2012-02-27 10:19:54.687
!MESSAGE Error initialising workspace OBR index.
!STACK 0
java.lang.IllegalArgumentException: No input jar provided
at org.osgi.impl.bundle.bindex.BundleIndexerImpl.index(BundleIndexerImpl.java:42)
at bndtools.IndexerTracker.index(IndexerTracker.java:23)
at bndtools.WorkspaceObrProvider.rebuildIndex(WorkspaceObrProvider.java:126)
at bndtools.WorkspaceObrProvider.rebuildAll(WorkspaceObrProvider.java:92)
at bndtools.WorkspaceObrProvider.initialise(WorkspaceObrProvider.java:69)
at bndtools.WorkspaceObrProvider.getOBRIndexes(WorkspaceObrProvider.java:138)
at bndtools.model.repo.WrappingObrRepository.getOBRIndexes(WrappingObrRepository.java:30)
at aQute.lib.deployer.obr.AbstractBaseOBR.init(AbstractBaseOBR.java:131)
at aQute.lib.deployer.obr.AbstractBaseOBR.list(AbstractBaseOBR.java:250)
at bndtools.model.repo.RepositoryTreeContentProvider.getRepositoryBundles(RepositoryTreeContentProvider.java:175)
at bndtools.model.repo.RepositoryTreeContentProvider.getChildren(RepositoryTreeContentProvider.java:74)
at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1359)
at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:917)
at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:605)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:805)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:782)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:753)
at org.eclipse.jface.viewers.AbstractTreeViewer.handleTreeExpand(AbstractTreeViewer.java:1485)
at org.eclipse.jface.viewers.TreeViewer.handleTreeExpand(TreeViewer.java:952)
at org.eclipse.jface.viewers.AbstractTreeViewer$4.treeExpanded(AbstractTreeViewer.java:1496)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:132)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1062)
at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:7538)
at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5534)
at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1896)
at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5086)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4584)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1533)
at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:6411)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4564)
at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
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:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

!ENTRY bndtools.core 4 0 2012-02-27 10:19:55.656
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/releaserepo/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/releaserepo/repository.xml points at a non-existing file.

!ENTRY bndtools.core 4 0 2012-02-27 10:19:56.531
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/repo/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/repo/repository.xml points at a non-existing file.

!ENTRY bndtools.core 4 0 2012-02-27 10:20:12.484
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/gemini-jpa/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/gemini-jpa/repository.xml points at a non-existing file.

!ENTRY org.eclipse.osgi 2 1 2012-02-27 10:51:09.625
!MESSAGE NLS unused message: Error in: bndtools.editor.contents.messages

!ENTRY org.eclipse.osgi 2 1 2012-02-27 10:51:09.625
!MESSAGE NLS missing message: TestSuitesPart_errorJavaType in: bndtools.editor.contents.messages

!ENTRY org.eclipse.core.resources 4 2 2012-02-27 13:16:21.828
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.bndtools.core.jobs.newproject.NewProjectResourceListener.resourceChanged(NewProjectResourceListener.java:23)
at org.eclipse.core.internal.events.NotificationManager$1.run(NotificationManager.java:291)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
at org.eclipse.core.internal.events.NotificationManager.handleEvent(NotificationManager.java:249)
at org.eclipse.core.internal.resources.Workspace.broadcastEvent(Workspace.java:390)
at org.eclipse.core.internal.resources.Project.close(Project.java:199)
at org.eclipse.ui.actions.CloseResourceAction.invokeOperation(CloseResourceAction.java:129)
at org.eclipse.ui.actions.WorkspaceAction.execute(WorkspaceAction.java:164)
at org.eclipse.ui.actions.WorkspaceAction$2.runInWorkspace(WorkspaceAction.java:485)
at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
!SESSION 2012-02-27 13:19:50.312 -----------------------------------------------
eclipse.buildId=M20120208-0800
java.version=1.6.0_31
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -clean

!ENTRY bndtools.core 4 0 2012-02-27 13:20:35.046
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/releaserepo/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/releaserepo/repository.xml points at a non-existing file.

!ENTRY bndtools.core 4 0 2012-02-27 13:20:35.046
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/repo/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/repo/repository.xml points at a non-existing file.

!ENTRY bndtools.core 4 0 2012-02-27 13:20:35.234
!MESSAGE Unable to read index at URL 'file:/C:/Documents%20and%20Settings/egoine/workspace/cnf/gemini-jpa/repository.xml': java.io.FileNotFoundException: File URL file:/C:/Documents%2520and%2520Settings/egoine/workspace/cnf/gemini-jpa/repository.xml points at a non-existing file.