Effective October 27, 2012, online and email support for FuseSource products will move to Red Hat support channels. For more information, please see the JIRA Migration to Red Hat FAQ.
As of October 27th, please open all new issues in the Red Hat Customer Portal .
Issue Details (XML | Word | Printable)

Key: ECLIPSE-594
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: James Strachan
Reporter: Claus Ibsen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Fuse IDE

Using the filter in the Fabric Explorer view causes a NPE exception

Created: 17/Mar/12 10:52 AM   Updated: 27/Mar/12 02:44 PM
Component/s: None
Affects Version/s: None
Fix Version/s: 2.1.0

File Attachments: None
Image Attachments:

1. filter.png
(17 kB)
Environment: 2.1.351


 Description  « Hide
In the fabric explorer, I started using the filter in the top (see screenshot).

I noticed it didnt work as expected and the error log, reports an exception

java.lang.NullPointerException
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cache(QueryContribution.java:101)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cache(QueryContribution.java:113)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cache(QueryContribution.java:113)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cache(QueryContribution.java:113)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cache(QueryContribution.java:113)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution.cacheEntry(QueryContribution.java:90)
	at com.fusesource.ide.jmx.ui.internal.views.navigator.QueryContribution$1.modifyText(QueryContribution.java:76)
	at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4128)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1457)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1480)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1465)
	at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1270)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3974)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3613)
	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(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:622)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1410)


 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Claus Ibsen added a comment - 17/Mar/12 10:53 AM
eg in the screenshot, the filter should show the camel nodes.

Also on another matter. When starting up the filter says "Enter a filter" as preset text. I think that text may influence the search. But we can only test this when the filter actually works.