[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-7328) Renaming smooks xml configuration file extension can cause errors
Jiri Peterka (JIRA)
jira-events at lists.jboss.org
Wed Oct 13 07:23:39 EDT 2010
Renaming smooks xml configuration file extension can cause errors
-----------------------------------------------------------------
Key: JBIDE-7328
URL: https://jira.jboss.org/browse/JBIDE-7328
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.2.0.Beta1
Environment: JBDS 4.0.0.beta1 #47, Linux 64
Reporter: Jiri Peterka
Attachments: smooks-rename-exception.txt
Steps:
1. Create project
2. Create smooks configuration file
3. Try to rename smooks configuration file and remove xml extension (you can try use .x or anything else than xml - it works as well)
You'll see: An internal error occurred during:
java.lang.ClassCastException: org.eclipse.core.internal.filebuffers.SynchronizableDocument cannot be cast to org.eclipse.wst.sse.core.internal.provisional.text.IStructuredDocument
at org.eclipse.wst.sse.ui.internal.style.SemanticHighlightingReconciler.reconcile(SemanticHighlightingReconciler.java:113)
at org.eclipse.wst.sse.ui.internal.reconcile.DocumentRegionProcessor.endProcessing(DocumentRegionProcessor.java:119)
at org.eclipse.wst.sse.ui.internal.reconcile.DirtyRegionProcessor.run(DirtyRegionProcessor.java:682)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
java.lang.NullPointerException
at org.eclipse.wst.sse.ui.StructuredTextEditor.update(StructuredTextEditor.java:2967)
at org.eclipse.wst.sse.ui.StructuredTextEditor.setModel(StructuredTextEditor.java:2871)
at org.eclipse.wst.sse.ui.StructuredTextEditor.doSetInput(StructuredTextEditor.java:1874)
at org.jboss.tools.smooks.configuration.editors.SmooksXMLEditor.doSetInput(SmooksXMLEditor.java:29)
at org.jboss.tools.smooks.editor.AbstractSmooksFormEditor$2.doSetInput(AbstractSmooksFormEditor.java:461)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jbosstools-issues
mailing list