Unhandled event loop exception java.lang.NullPointerException at org.eclipse.jface.text.rules.FastPartitioner.initialize(FastPartitioner.java:163) at org.eclipse.jface.text.rules.FastPartitioner.checkInitialization(FastPartitioner.java:151) at org.eclipse.jface.text.rules.FastPartitioner.computePartitioning(FastPartitioner.java:613) at org.eclipse.jface.text.AbstractDocument.computePartitioning(AbstractDocument.java:1302) at org.eclipse.jface.text.TextUtilities.computePartitioning(TextUtilities.java:428) at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448) at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:567) at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:565) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.documentPartitioningChanged(PresentationReconciler.java:139) at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.documentPartitioningChanged(PresentationReconciler.java:153) at org.eclipse.jface.text.AbstractDocument.fireDocumentPartitioningChanged(AbstractDocument.java:565) at org.eclipse.jface.text.AbstractDocument.setDocumentPartitioner(AbstractDocument.java:1407) at org.eclipse.jdt.ui.text.JavaTextTools.setupJavaDocumentPartitioner(JavaTextTools.java:366) at org.hibernate.eclipse.criteriaeditor.CriteriaEditorDocumentSetupParticipant.setup(CriteriaEditorDocumentSetupParticipant.java:38) at org.hibernate.eclipse.criteriaeditor.CriteriaEditor.doSetInput(CriteriaEditor.java:106) at org.hibernate.eclipse.console.AbstractQueryEditor.showEditorInput(AbstractQueryEditor.java:82) at org.hibernate.eclipse.criteriaeditor.CriteriaEditor.showEditorInput(CriteriaEditor.java:175) at org.hibernate.eclipse.console.AbstractQueryEditor.setConsoleConfigurationName(AbstractQueryEditor.java:76) at org.hibernate.eclipse.console.ConfigurationCombo$1.widgetSelected(ConfigurationCombo.java:34) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:227) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) 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:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) at org.eclipse.equinox.launcher.Main.main(Main.java:1148)