<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
org.eclipse.core.runtime.CoreException: Text editor does not have a document provider
</h3>
<span style="margin-bottom: 10px;">
created by <a href="http://community.jboss.org/people/nimo22">nimo stephan</a> in <i>JBoss Tools</i> - <a href="http://community.jboss.org/message/636633#636633">View the full discussion</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>when opening the hql-editor, I get the following stacktrace:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><span style="font-size: 8pt;">org.eclipse.core.runtime.CoreException: Text editor does not have a document provider</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.AbstractTextEditor.doSetInput(AbstractTextEditor.java:4210)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.StatusTextEditor.doSetInput(StatusTextEditor.java:237)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.doSetInput(AbstractDecoratedTextEditor.java:1451)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.editors.text.TextEditor.doSetInput(TextEditor.java:169)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.console.AbstractQueryEditor.doSetInput(AbstractQueryEditor.java:175)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.hqleditor.HQLEditor.doSetInput(HQLEditor.java:244)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.AbstractTextEditor$19.run(AbstractTextEditor.java:3200)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.window.ApplicationWindow$1.run(ApplicationWindow.java:759)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.window.ApplicationWindow.run(ApplicationWindow.java:756)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchWindow.run(WorkbenchWindow.java:2642)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit(AbstractTextEditor.java:3218)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.texteditor.AbstractTextEditor.init(AbstractTextEditor.java:3245)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.EditorManager.createSite(EditorManager.java:828)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:647)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:465)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:289)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2945)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2850)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.access$11(WorkbenchPage.java:2842)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2793)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2789)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2773)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2764)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.console.HibernateConsolePlugin.openScratchHQLEditor(HibernateConsolePlugin.java:483)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.console.actions.HQLScratchpadAction.openQueryEditor(HQLScratchpadAction.java:47)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.console.actions.OpenQueryEditorAction.doRun(OpenQueryEditorAction.java:37)</span></p><p><span style="font-size: 8pt;">    at org.hibernate.eclipse.console.actions.OpenQueryEditorAction.runWithEvent(OpenQueryEditorAction.java:24)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)</span></p><p><span style="font-size: 8pt;">    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)</span></p><p><span style="font-size: 8pt;">    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)</span></p><p><span style="font-size: 8pt;">    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)</span></p><p><span style="font-size: 8pt;">    at java.lang.reflect.Method.invoke(Unknown Source)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)</span></p><p><span style="font-size: 8pt;">    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)</span></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>It this a known bug?</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>I am using JBT 3.4 m4. Eclipse 64bit, Win7, Java7.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p>Hibernate Tools for Eclipse</p><p>Version: 3.4.0.v20111022-0922-H35-M4</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Reply to this message by <a href="http://community.jboss.org/message/636633#636633">going to Community</a></p>
        <p style="margin: 0;">Start a new discussion in JBoss Tools at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2128">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>