[JBoss JIRA] (ERT-351) Can not retrieve plugin catalog [EBZ#498254]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-351?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt updated ERT-351:
---------------------------
Fix Version/s: Oxygen.3 (4.7)
(was: Neon.1 (4.6))
> Can not retrieve plugin catalog [EBZ#498254]
> --------------------------------------------
>
> Key: ERT-351
> URL: https://issues.jboss.org/browse/ERT-351
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Thym
> Reporter: Friendly Jira Robot
> Labels: 2.1.0, General, bzira
> Fix For: Oxygen.3 (4.7)
>
>
> Created attachment 263226
> screenshot.png
> 1) Open new thym project wizard
> 2) the error will pop out (happens occasionally)
> Stacktrace:
> ------------
> com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at line 2 column 1
> at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1505)
> at com.google.gson.stream.JsonReader.checkLenient(JsonReader.java:1386)
> at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:572)
> at com.google.gson.stream.JsonReader.beginObject(JsonReader.java:368)
> at org.eclipse.thym.core.plugin.registry.CordovaPluginRegistryManager.retrievePluginInfos(CordovaPluginRegistryManager.java:182)
> at org.eclipse.thym.ui.plugins.internal.CordovaPluginSelectionPage$9.run(CordovaPluginSelectionPage.java:299)
> at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years
[JBoss JIRA] (ERT-387) JSON editor "supports" comments, not supported by JSON [EBZ#499705]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-387?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt updated ERT-387:
---------------------------
Fix Version/s: Oxygen.3 (4.7)
(was: Neon.2 (4.6))
> JSON editor "supports" comments, not supported by JSON [EBZ#499705]
> -------------------------------------------------------------------
>
> Key: ERT-387
> URL: https://issues.jboss.org/browse/ERT-387
> 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: Oxygen.3 (4.7)
>
>
> I tried commenting a line in a JSON file using the common syntax "/* comment */":
> /*"jquery/jquery-min": "1.12",*/
> This caused the line to become blue, so I figured JSON must support comments. But as mentioned in https://en.wikipedia.org/w/index.php?title=JSON&oldid=734431215 this is not the case.
> Ticket #495578 explains that Angelo ZERR decided to support "JSON comments" since .jshintrc (no idea what that is) uses it. In my opinion, this should be disabled by default, but for sure, it should be possible to disable. Currently, all JSON highlights are mandatory (the checkboxes are disabled).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years