Community
Participate
Working Groups
Max OS X 10.3 Eclipse 2.1.3 CME 0.1.1 Apple-JDK 1.4.2_03-117.1 When executing a query in the "CME Search" panel, a popup comes up and an exception is written to the logfile. That cancels the execution of the search. :-( The classes mentioned are part of the used JDK, though. Here's the stacktrace: !ENTRY org.eclipse.cme.ui 4 0 Jun 12, 2004 17:31:03.337 !MESSAGE Error encountered during query processing !STACK 0 java.lang.NoClassDefFoundError: java/util/regex/PatternSyntaxException at org.eclipse.cme.puma.queryGraph.regexpOps.MatcherType.newMatcher(MatcherType.java:22) at org.eclipse.cme.puma.queryGraph.regexpOps.MatchesOperatorImpl.<init>(MatchesOperatorImpl.java:138) at org.eclipse.cme.puma.queryGraph.regexpOps.BooleanMatchesOperatorImpl.<init>(BooleanMatchesOperatorImpl.java:34) at org.eclipse.cme.puma.util.OperatorRegistrar$13.getOperator(OperatorRegistrar.java:154) at org.eclipse.cme.puma.queryGraph.registry.OperatorRegistryImpl.getOperator(OperatorRegistryImpl.java:47) at org.eclipse.cme.puma.queryGraph.impl.QueryGraphAbstractFactory.createOperator(QueryGraphAbstractFactory.java:158) at org.eclipse.cme.puma.queryGraph.impl.QueryGraphAbstractFactory.createOperator(QueryGraphAbstractFactory.java:138) at org.eclipse.cme.panther.compiler.plugins.conman.TypeUnitSpecificationPlugin.compile(TypeUnitSpecificationPlugin.java:84) at org.eclipse.cme.panther.compiler.PantherCompiler.compile(PantherCompiler.java:126) at org.eclipse.cme.panther.compiler.PantherCompiler.compile(PantherCompiler.java:93) at org.eclipse.cme.panther.PantherPatternImpl.parse(PantherPatternImpl.java:105) at org.eclipse.cme.puma.context.impl.QueryContextImpl.evaluateQuery(QueryContextImpl.java:182) at org.eclipse.cme.ui.query.PumaQueryImpl.evaluateQuery(PumaQueryImpl.java:99) at org.eclipse.cme.ui.query.PumaQueryImpl.evaluateQuery(PumaQueryImpl.java:54) at org.eclipse.cme.ui.search.SearchView$14.run(SearchView.java:724) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:302) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:252) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:357) at org.eclipse.cme.ui.search.SearchView$15.run(SearchView.java:772) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:127) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:24) at org.eclipse.swt.widgets.Display.syncExec(Display.java:2706) at org.eclipse.cme.ui.search.SearchView.evaluate(SearchView.java:756) at org.eclipse.cme.ui.search.SearchView$7.widgetSelected(SearchView.java:322) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1012) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2249) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1965) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583) at java.lang.reflect.Method.invoke(Native Method) at apple.launcher.LaunchRunner.run(LaunchRunner.java:88) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
Created attachment 11984 [details] The screenshot of the popup window This is the screenshot of the popup window.
Juri, thanks for the bug report. We're going to have a hard time progressing this from here as we don't have a Mac. I'm assigning it to the query component, mainly to see if anyone in Watson has access to a Mac - it does look more like a Mac problem, rather than a query problem. Could you perhaps try some simple uses of Java's regexp classes in your Mac environment to see if the problem is specific to the CME?
We'll do some tests, then and if that doesn't help instrument Puma as needed to shed some light on the matter. We could reassign that bug to me if that would help.
Sorry about the late comment on this, but the immediate exception: java.lang.NoClassDefFoundError: java/util/regex/PatternSyntaxException suggests there's something wrong with your JDK. (You *are* using 1.4.2, yes?)
Yes, the JDK is Apple's 1.4.2_03-117.1