[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-5051) Hibernate 3.0 XML Editor - NPE -> when delete "!DOCTYPE" tag in hbm.xml and Save

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Oct 21 06:44:06 EDT 2009


     [ https://jira.jboss.org/jira/browse/JBIDE-5051?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viacheslav Kabanovich resolved JBIDE-5051.
------------------------------------------

    Resolution: Done


> Hibernate 3.0 XML Editor - NPE -> when delete "!DOCTYPE" tag in hbm.xml and Save
> --------------------------------------------------------------------------------
>
>                 Key: JBIDE-5051
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-5051
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: common, Hibernate
>    Affects Versions: 3.1.0.M4
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.1.0.CR1
>
>
> java.lang.NullPointerException
> at org.jboss.tools.common.model.filesystems.impl.AbstractExtendedXMLFileImpl.edit(AbstractExtendedXMLFileImpl.java:167)
> at org.jboss.tools.common.model.filesystems.impl.AbstractExtendedXMLFileImpl.edit(AbstractExtendedXMLFileImpl.java:155)
> at org.jboss.tools.common.model.ui.texteditors.TextEditorSupport.save(TextEditorSupport.java:88)
> at org.jboss.tools.common.model.ui.texteditors.TextEditorSupport.save(TextEditorSupport.java:80)
> at org.jboss.tools.common.model.ui.texteditors.XMLTextEditorComponent.save(XMLTextEditorComponent.java:161)
> at org.jboss.tools.common.model.ui.texteditors.xmleditor.XMLTextEditor$TextFocusListener$1.run(XMLTextEditor.java:267)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:4312)
> at org.jboss.tools.common.model.ui.texteditors.xmleditor.XMLTextEditor$TextFocusListener.focusLost(XMLTextEditor.java:259)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:137)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list