[jbosstools-issues] [JBoss JIRA] (ERT-424) ClassCastException in JSONModelParser.insertValue [EBZ#502183]

Gorkem Ercan (JIRA) issues at jboss.org
Wed Nov 9 08:14:00 EST 2016


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

Gorkem Ercan updated ERT-424:
-----------------------------
    Sprint: devex #123 November 2016  (was: devex #122 October 2016)


> ClassCastException in JSONModelParser.insertValue [EBZ#502183]
> --------------------------------------------------------------
>
>                 Key: ERT-424
>                 URL: https://issues.jboss.org/browse/ERT-424
>             Project: Eclipse Release Train
>          Issue Type: Task
>          Components: WTP Source Editing
>            Reporter: Friendly Jira Robot
>            Assignee: Victor Rubezhny
>              Labels: bzira, wst.json
>
> The following problem was reported via the automated error reporting:
> Message: org.eclipse.wst.json.core.internal.document.JSONDocumentImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONPairImpl
> java.lang.ClassCastException: org.eclipse.wst.json.core.internal.document.JSONDocumentImpl cannot be cast to org.eclipse.wst.json.core.internal.document.JSONPairImpl
>     at org.eclipse.wst.json.core.internal.document.JSONModelParser.insertValue(JSONModelParser.java:904)
>     at org.eclipse.wst.json.core.internal.document.JSONModelParser.insertStructuredDocumentRegion(JSONModelParser.java:854)
>     at org.eclipse.wst.json.core.internal.document.JSONModelParser.replaceStructuredDocumentRegions(JSONModelParser.java:1706)
>     at org.eclipse.wst.json.core.internal.document.JSONModelImpl.handleRefresh(JSONModelImpl.java:411)
>     at org.eclipse.wst.json.core.internal.document.JSONModelImpl.nodesReplaced(JSONModelImpl.java:599)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:600)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1198)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1979)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2423)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replaceText(BasicStructuredDocument.java:2408)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$2(JobSafeStructuredDocument.java:1)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$3.run(JobSafeStructuredDocument.java:141)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>     at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replaceText(JobSafeStructuredDocument.java:144)
>     at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.replace(BasicStructuredDocument.java:2368)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.access$0(JobSafeStructuredDocument.java:1)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument$1.run(JobSafeStructuredDocument.java:103)
>     at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
>     at org.eclipse.wst.sse.ui.EditorExecutionContext.execute(EditorExecutionContext.java:149)
>     at org.eclipse.wst.sse.core.internal.text.JobSafeStructuredDocument.replace(JobSafeStructuredDocument.java:106)
>     at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:103)
>     at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1094)
>     at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1119)
>     at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:625)
>     at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:233)
>     at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:7374)
>     at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:8225)
>     at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2530)
>     at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:6018)
>     at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:6049)
>     at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5733)
>     at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> Bundles:
> | org.eclipse.core.runtime | 3.12.0.v20160606-1342 | 3.12.0.v20160606-1342 |
> | org.eclipse.e4.core.di | 1.6.0.v20160319-0612 | 1.6.0.v20160319-0612 |
> | org.eclipse.jface | 3.12.0.v20160518-1929 | 3.12.0.v20160518-1929 |
> | org.eclipse.jface.text | 3.11.0.v20160505-1301 | 3.11.0.v20160505-1301 |
> | org.eclipse.swt | 3.105.0.v20160603-0902 | 3.105.0.v20160603-0902 |
> | org.eclipse.ui | 3.108.0.v20160518-1929 | 3.108.0.v20160518-1929 |
> | org.eclipse.wst.json.core | 1.0.100.v201608161657 | 1.0.100.v201608161657 |
> | org.eclipse.wst.sse.core | 1.1.1000.v201608061824 | 1.1.1000.v201608061824 |
> | org.eclipse.wst.sse.ui | 1.3.500.v201605120129 | 1.3.500.v201605120129 |
> Operating Systems:
> | Windows | 6.3.0 | 6.3.0 |
> The above information is a snapshot of the collected data. Visit https://dev.eclipse.org/recommenders/committers/aeri/v2/#!/problems/57dd61e4e4b023a3c64937c6 for the latest data.
> Thank you for your assistance.
>  Your friendly error-reports-inbox.
> Created on behalf of vrubezhny at xxxxxx.xxx



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list