[
https://jira.jboss.org/browse/JBIDE-7328?page=com.atlassian.jira.plugin.s...
]
Brian Fitzpatrick commented on JBIDE-7328:
------------------------------------------
Thanks for creating the bugzilla entry. Obviously this won't be fixed in WTP right
away even if it is fixed, so we should push this off unless there's another way around
it.
Have you looked into any kind of workaround?
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
Assignee: DartPeng
Fix For: 3.2.0.Beta2
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