[JBoss JIRA] (JBIDE-22892) TernException in NodejsTernHelper.makeRequest
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22892?page=com.atlassian.jira.plugi... ]
Ilya Buziuk updated JBIDE-22892:
--------------------------------
Sprint: (was: devex #121 October 2016)
> TernException in NodejsTernHelper.makeRequest
> ---------------------------------------------
>
> Key: JBIDE-22892
> URL: https://issues.jboss.org/browse/JBIDE-22892
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: javascript, jsp/jsf/xml/html-source-editing, upstream
> Affects Versions: 4.3.0.Final
> Reporter: Automated Error Reporting Bot
> Assignee: Victor Rubezhny
> Fix For: 4.4.x
>
>
> The following problem was reported via the automated error reporting:
> Message: TernError: No type found at the given position.
> {noformat}
> tern.TernException: TernError: No type found at the given position.
> at tern.server.nodejs.NodejsTernHelper.makeRequest(NodejsTernHelper.java:86)
> at tern.server.nodejs.NodejsTernServer.makeRequest(NodejsTernServer.java:163)
> at tern.server.nodejs.NodejsTernServer.request(NodejsTernServer.java:127)
> at tern.server.protocol.TernResultsProcessorsFactory.makeRequestAndProcess(TernResultsProcessorsFactory.java:42)
> at tern.eclipse.ide.internal.core.resources.IDETernServerAsyncReqProcessor.run(IDETernServerAsyncReqProcessor.java:104)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {noformat}
> The reporter(s) left the following comment(s):
> --- André Moriya wrote on [00a0|https://redhat.ctrlflow.com/reviewers/#!/incidents/5798f3bbe4b0fe642...]: ---
> I opened a xhtml using a CTRL + click inside another xhtml.
> Bundles:
> | org.eclipse.angularjs.core | 1.1.0.201511091212 | 1.1.0.201511091212 |
> | org.eclipse.angularjs.jsp.core | 1.1.0.201511091212 | 1.1.0.201511091212 |
> | org.eclipse.angularjs.ui | 1.1.0.201511091212 | 1.1.0.201511091212 |
> | org.eclipse.core.jobs | 3.7.0.v20150330-2103 | 3.8.0.v20160509-0411 |
> | org.eclipse.core.resources | 3.10.1.v20150725-1910 | 3.11.0.v20160503-1608 |
> | org.eclipse.core.runtime | 3.11.1.v20150903-1804 | 3.11.1.v20150903-1804 |
> | org.eclipse.jface.text | 3.10.0.v20150603-1752 | 3.11.0.v20160505-1301 |
> | org.eclipse.swt | 3.104.2.v20160212-1350 | 3.104.2.v20160212-1350 |
> | org.eclipse.wst.sse.ui | 1.3.401.v201510130005 | 1.3.500.v201605120129 |
> | org.eclipse.wst.validation | 1.2.700.v201508251749 | 1.2.700.v201508251749 |
> | org.eclipse.wst.validation.ui | 1.2.500.v201310231452 | 1.2.500.v201310231452 |
> | org.eclipse.wst.xml.ui | 1.1.501.v201501212057 | 1.1.501.v201501212057 |
> | tern.eclipse.ide.core | 1.1.0.201511082254 | 1.1.0.201511082254 |
> | tern.eclipse.ide.ui | 1.1.0.201511082254 | 1.1.0.201511082254 |
> | tern.server.nodejs | 1.1.0.201511082254 | 1.1.0.201511082254 |
> Operating Systems:
> | Linux | 2.6.32.1 | 4.7.0 |
> | MacOSX | 10.10.5 | 10.11.6 |
> | Windows | 5.1.0 | 10.0.0 |
> The above information is a snapshot of the collected data. Visit [this page|https://redhat.ctrlflow.com/reviewers/#!/problems/576152b0e4b075777d...] for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-383) JSONEditor: NPE when working with an array of objects [EBZ#497261]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-383?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk reassigned ERT-383:
-------------------------------
Assignee: Victor Rubezhny (was: Snjezana Peco)
> JSONEditor: NPE when working with an array of objects [EBZ#497261]
> ------------------------------------------------------------------
>
> Key: ERT-383
> URL: https://issues.jboss.org/browse/ERT-383
> Project: Eclipse Release Train
> Issue Type: Task
> Components: WTP Source Editing
> Reporter: Friendly Jira Robot
> Assignee: Victor Rubezhny
> Labels: bzira, wst.json
> Fix For: Neon.2 (4.6)
>
>
> I have not been able to reproduce this consistently, but here it goes:
> Create a JSON file with following content:
> {
> "thirdaddition": true,
> "name": "JSONEditorTest2",
> "secondaddition": 2,
> "description": "JSONEditorTest description2",
> "version": "1.0.1",
> "main": "app.js",
> "scripts": {
> "start": "node app.js"
> },
> "array_of_objects": [{"abc": 1234}, {"value": 1234 }]]}}}}}}]}],
> "value": "test",
> "anothervalue": "1234"
> }
> When adding and removing (invalid) closing brackets, then modifying the value of the second array element (value), I tend to see this exception:
> java.lang.NullPointerException
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeAttrValue(JSONModelParser.java:89)
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:131)
> at org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:654)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
> 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.doBackspace(StyledText.java:2334)
> at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7164)
> at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:6022)
> 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)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4248)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1538)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1534)
> at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:515)
> at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1090)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5817)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
> at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:610)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5727)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2140)
> at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2402)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5789)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5218)
> at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5367)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-383) JSONEditor: NPE when working with an array of objects [EBZ#497261]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-383?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk updated ERT-383:
----------------------------
Sprint: devex #122 October 2016 (was: devex #121 October 2016)
> JSONEditor: NPE when working with an array of objects [EBZ#497261]
> ------------------------------------------------------------------
>
> Key: ERT-383
> URL: https://issues.jboss.org/browse/ERT-383
> Project: Eclipse Release Train
> Issue Type: Task
> Components: WTP Source Editing
> Reporter: Friendly Jira Robot
> Assignee: Victor Rubezhny
> Labels: bzira, wst.json
> Fix For: Neon.2 (4.6)
>
>
> I have not been able to reproduce this consistently, but here it goes:
> Create a JSON file with following content:
> {
> "thirdaddition": true,
> "name": "JSONEditorTest2",
> "secondaddition": 2,
> "description": "JSONEditorTest description2",
> "version": "1.0.1",
> "main": "app.js",
> "scripts": {
> "start": "node app.js"
> },
> "array_of_objects": [{"abc": 1234}, {"value": 1234 }]]}}}}}}]}],
> "value": "test",
> "anothervalue": "1234"
> }
> When adding and removing (invalid) closing brackets, then modifying the value of the second array element (value), I tend to see this exception:
> java.lang.NullPointerException
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeAttrValue(JSONModelParser.java:89)
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:131)
> at org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:654)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
> 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.doBackspace(StyledText.java:2334)
> at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7164)
> at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:6022)
> 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)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4248)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1538)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1534)
> at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:515)
> at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1090)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5817)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
> at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:610)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5727)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2140)
> at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2402)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5789)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5218)
> at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5367)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-383) JSONEditor: NPE when working with an array of objects [EBZ#497261]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-383?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk updated ERT-383:
----------------------------
Story Points: 5 (was: 2)
> JSONEditor: NPE when working with an array of objects [EBZ#497261]
> ------------------------------------------------------------------
>
> Key: ERT-383
> URL: https://issues.jboss.org/browse/ERT-383
> Project: Eclipse Release Train
> Issue Type: Task
> Components: WTP Source Editing
> Reporter: Friendly Jira Robot
> Assignee: Victor Rubezhny
> Labels: bzira, wst.json
> Fix For: Neon.2 (4.6)
>
>
> I have not been able to reproduce this consistently, but here it goes:
> Create a JSON file with following content:
> {
> "thirdaddition": true,
> "name": "JSONEditorTest2",
> "secondaddition": 2,
> "description": "JSONEditorTest description2",
> "version": "1.0.1",
> "main": "app.js",
> "scripts": {
> "start": "node app.js"
> },
> "array_of_objects": [{"abc": 1234}, {"value": 1234 }]]}}}}}}]}],
> "value": "test",
> "anothervalue": "1234"
> }
> When adding and removing (invalid) closing brackets, then modifying the value of the second array element (value), I tend to see this exception:
> java.lang.NullPointerException
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeAttrValue(JSONModelParser.java:89)
> at org.eclipse.wst.json.core.internal.document.JSONModelParser.changeRegion(JSONModelParser.java:131)
> at org.eclipse.wst.json.core.internal.document.JSONModelImpl.regionChanged(JSONModelImpl.java:654)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument._fireEvent(BasicStructuredDocument.java:542)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.fireStructuredDocumentEvent(BasicStructuredDocument.java:1180)
> at org.eclipse.wst.sse.core.internal.text.BasicStructuredDocument.internalReplaceText(BasicStructuredDocument.java:1964)
> 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.doBackspace(StyledText.java:2334)
> at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:7164)
> at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:6022)
> 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)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4248)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1538)
> at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1534)
> at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:515)
> at org.eclipse.swt.widgets.Control.doCommandBySelector(Control.java:1090)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5817)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSResponder.interpretKeyEvents(NSResponder.java:68)
> at org.eclipse.swt.widgets.Composite.keyDown(Composite.java:610)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5727)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:227)
> at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:2140)
> at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2402)
> at org.eclipse.swt.widgets.Display.windowProc(Display.java:5789)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
> at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:5218)
> at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5367)
> at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
> at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:128)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3695)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:687)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:604)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-358) Replace traces of old parser in Search/Indexing code. [EBZ#498371]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-358?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk updated ERT-358:
----------------------------
Sprint: devex #118 July 2016 (was: devex #118 July 2016, devex #121 October 2016)
> Replace traces of old parser in Search/Indexing code. [EBZ#498371]
> ------------------------------------------------------------------
>
> Key: ERT-358
> URL: https://issues.jboss.org/browse/ERT-358
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Angel Misevski
> Priority: Trivial
> Labels: General, bzira
>
> Search and Indexing should be changed to use the newer dom ASTParser, instead of the old parser (e.g. in org.eclipse.wst.jsdt.internal.core.search.indexing.SourceIndexer).
> This needs to happen before any other improvements/refinements to JSDT Search.
> Looking at org.eclipse.wst.jsdt.internal.compiler.SourceElementParser, most of the class is using deprecated code.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-214) Validate JSON file with JSON Schema [EBZ#494111]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-214?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk updated ERT-214:
----------------------------
Story Points: 5 (was: 25)
> Validate JSON file with JSON Schema [EBZ#494111]
> ------------------------------------------------
>
> Key: ERT-214
> URL: https://issues.jboss.org/browse/ERT-214
> Project: Eclipse Release Train
> Issue Type: Task
> Components: WTP Source Editing
> Reporter: Friendly Jira Robot
> Assignee: Snjezana Peco
> Priority: Trivial
> Labels: bzira, wst.json
> Fix For: Neon.2 (4.6)
>
>
> It's a very big task, but it should be fantastic if WTP Validator could validate JSON file by using JSON Schema.
> To do that:
> * JSONSchemaDocument should support the full specification of JSON Schema.
> * minimal-json should be improved to collect line, column or perhaps we could use IJSONDocument to validate it with JSON Schema.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-214) Validate JSON file with JSON Schema [EBZ#494111]
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/ERT-214?page=com.atlassian.jira.plugin.sy... ]
Ilya Buziuk updated ERT-214:
----------------------------
Story Points: 10 (was: 5)
Sprint: devex #116 June 2016, devex #118 July 2016, devex #122 October 2016 (was: devex #116 June 2016, devex #118 July 2016, devex #121 October 2016)
> Validate JSON file with JSON Schema [EBZ#494111]
> ------------------------------------------------
>
> Key: ERT-214
> URL: https://issues.jboss.org/browse/ERT-214
> Project: Eclipse Release Train
> Issue Type: Task
> Components: WTP Source Editing
> Reporter: Friendly Jira Robot
> Assignee: Snjezana Peco
> Priority: Trivial
> Labels: bzira, wst.json
> Fix For: Neon.2 (4.6)
>
>
> It's a very big task, but it should be fantastic if WTP Validator could validate JSON file by using JSON Schema.
> To do that:
> * JSONSchemaDocument should support the full specification of JSON Schema.
> * minimal-json should be improved to collect line, column or perhaps we could use IJSONDocument to validate it with JSON Schema.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months
[JBoss JIRA] (ERT-415) Errors when selecting some JS modules in project properties [EBZ#501209]
by Victor Rubezhny (JIRA)
[ https://issues.jboss.org/browse/ERT-415?page=com.atlassian.jira.plugin.sy... ]
Victor Rubezhny reassigned ERT-415:
-----------------------------------
Assignee: Victor Rubezhny
> Errors when selecting some JS modules in project properties [EBZ#501209]
> ------------------------------------------------------------------------
>
> Key: ERT-415
> URL: https://issues.jboss.org/browse/ERT-415
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Victor Rubezhny
> Labels: General, bzira
>
> AERI Report: https://redhat.ctrlflow.com/reviewers#!/problems/577453c2e4b03c6ed09af1d6
> Environment:
> Devstudio 10.1.0.GA
> Steps to reproduce:
> I was able to reliably reproduce it using these steps:
> 1. Have JS project in workspace.
> 2. Open its preferences -> JavaScript -> Modules
> 3. Select Lint (no error)
> 4. Select some other module (no error)
> 5. Select Lint again (error)
> The same steps could be used to reproduce it with AngularJS module, Closure module and maybe some others (haven't tried them all).
> Stacktrace:
> Bundle: org.eclipse.jface 3.12.0.v20160518-1929
> Message: Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> Exception:
> java.lang.IllegalArgumentException: Argument not valid
> at org.eclipse.swt.widgets.TabItem.setControl(TabItem.java:291)
> at tern.eclipse.ide.ui.controls.TernModulesBlock.refreshModule(TernModulesBlock.java:312)
> at tern.eclipse.ide.ui.controls.TernModulesBlock.access$7(TernModulesBlock.java:307)
> at tern.eclipse.ide.ui.controls.TernModulesBlock$4.selectionChanged(TernModulesBlock.java:268)
> at org.eclipse.jface.viewers.Viewer$1.run(Viewer.java:158)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
> at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer.java:155)
> at org.eclipse.jface.viewers.StructuredViewer.updateSelection(StructuredViewer.java:2191)
> at org.eclipse.jface.viewers.StructuredViewer.handleSelect(StructuredViewer.java:1229)
> at org.eclipse.jface.viewers.CheckboxTableViewer.handleSelect(CheckboxTableViewer.java:308)
> at org.eclipse.jface.viewers.StructuredViewer$4.widgetSelected(StructuredViewer.java:1258)
> at org.eclipse.jface.util.OpenStrategy.fireSelectionEvent(OpenStrategy.java:242)
> at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:236)
> at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:405)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 5 months