scijava-common icon indicating copy to clipboard operation
scijava-common copied to clipboard

Search Bar error

Open cwood1967 opened this issue 7 years ago • 0 comments

Hi,

When the search bar is in the right corner ("mini") of the ImageJ window, and it is clicked into and something typed into it, we get the error below, and no results.

This is on a network drive that can be shared by many people.

Thanks, Chris

Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Duplicate key class='org.scijava.search.snippet.SnippetSearcher', priority=1000000.0, enabled=true, pluginType=Searcher
                at java.util.stream.Collectors.lambda$throwingMerger$114(Collectors.java:133)
                at java.util.HashMap.merge(HashMap.java:1245)
                at java.util.stream.Collectors.lambda$toMap$172(Collectors.java:1320)
                at java.util.stream.ReduceOps$3ReducingSink.accept(ReduceOps.java:169)
                at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1374)
                at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:481)
                at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:471)
                at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
                at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
                at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:499)
                at org.scijava.plugin.PluginService.sort(PluginService.java:274)
                at org.scijava.ui.swing.search.SwingSearchBar$SwingSearchPanel.rebuild(SwingSearchBar.java:639)
                at org.scijava.ui.swing.search.SwingSearchBar$SwingSearchPanel.update(SwingSearchBar.java:570)
                at org.scijava.ui.swing.search.SwingSearchBar$SwingSearchPanel.lambda$null$0(SwingSearchBar.java:341)
                at org.scijava.thread.DefaultThreadService$2.run(DefaultThreadService.java:221)
                at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
                at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
                at java.awt.EventQueue.access$500(EventQueue.java:97)
                at java.awt.EventQueue$3.run(EventQueue.java:709)
                at java.awt.EventQueue$3.run(EventQueue.java:703)
                at java.security.AccessController.doPrivileged(Native Method)
                at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
                at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
                at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
                at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
                at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

cwood1967 avatar Oct 29 '18 19:10 cwood1967