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

Max Andersen (JIRA) jira-events at lists.jboss.org
Thu Oct 28 04:46:55 EDT 2010


    [ https://jira.jboss.org/browse/JBIDE-7328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559934#action_12559934 ] 

Max Andersen commented on JBIDE-7328:
-------------------------------------

but lets not use much time on this - if easily doable then sure lets try, but otherwise not important IMO since its an eclipse core problem that is common for all.

> 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

        


More information about the jbosstools-issues mailing list