[jbosstools-issues] [JBoss JIRA] Closed: (JBIDE-7328) Renaming smooks xml configuration file extension can cause errors

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Thu Dec 2 06:27:04 EST 2010


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

Jiri Peterka closed JBIDE-7328.
-------------------------------



Verified in JBDS 4.0.0.beta2 H12, Fedora 14-64b

> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list