[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, 3 months
[JBoss JIRA] (ERT-379) Exceptions while expanding Variables view [EBZ#499600]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-379?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt updated ERT-379:
---------------------------
Fix Version/s: Oxygen.3 (4.7)
(was: Neon.2 (4.6))
> Exceptions while expanding Variables view [EBZ#499600]
> ------------------------------------------------------
>
> Key: ERT-379
> URL: https://issues.jboss.org/browse/ERT-379
> Project: Eclipse Release Train
> Issue Type: Task
> Components: JSDT
> Reporter: Friendly Jira Robot
> Assignee: Ilya Buziuk
> Labels: 3.8.2, Debug, bzira
> Fix For: Oxygen.3 (4.7)
>
>
> Steps to reproduce:
> -------------------
> 1) import: https://github.com/ibuziuk/myRESTApp
> 2) server.js -> Debug As -> Node.js Application
> 3) Expand various items variables view.
> Stack trace:
> ================================================
> org.eclipse.wst.jsdt.chromium.internal.protocolparser.implutil.CommonImpl$ParseRuntimeException: On demand parsing failed for {"ref":118,"propertyType":2,"attributes":7}
> at org.eclipse.wst.jsdt.chromium.internal.protocolparser.dynamicimpl.DynamicParserImpl$LazyParseFieldMethodHandler.handle(DynamicParserImpl.java:696)
> at org.eclipse.wst.jsdt.chromium.internal.protocolparser.dynamicimpl.JsonInvocationHandler.invoke(JsonInvocationHandler.java:35)
> at com.sun.proxy.$Proxy88.name(Unknown Source)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.V8ProtocolUtil$PropertyNameGetter$SubpropertyNameGetter.getName(V8ProtocolUtil.java:216)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.V8ProtocolUtil$PropertyNameGetter$SubpropertyNameGetter.getName(V8ProtocolUtil.java:1)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.V8ProtocolUtil.extractProperty(V8ProtocolUtil.java:150)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.V8ProtocolUtil.putMirror(V8ProtocolUtil.java:134)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.V8ProtocolUtil.extractObjectProperties(V8ProtocolUtil.java:94)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.SubpropertiesMirror$JsonBased.getProperties(SubpropertiesMirror.java:69)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsObjectBase$1.runSync(JsObjectBase.java:176)
> at org.eclipse.wst.jsdt.chromium.util.AsyncFuture$SyncOperation.execute(AsyncFuture.java:171)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsObjectBase.startPropertyLoadOperation(JsObjectBase.java:199)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsObjectBase.getPropertyData(JsObjectBase.java:138)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsObjectBase.getBasicPropertyData(JsObjectBase.java:159)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.getAdditionalPropertyData(JsFunctionImpl.java:82)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.getVariableScopes(JsFunctionImpl.java:47)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.access$2(JsFunctionImpl.java:46)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl$1.getScopes(JsFunctionImpl.java:127)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.Value.calculateFunctionScopesVariable(Value.java:95)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.Value.calculateVariables(Value.java:74)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.ValueBase$ValueWithLazyVariables.getVariables(ValueBase.java:77)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getValueChildren(VariableContentProvider.java:170)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getAllChildren(VariableContentProvider.java:87)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getChildCount(VariableContentProvider.java:49)
> at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildCount(ElementContentProvider.java:118)
> at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$2.run(ElementContentProvider.java:67)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: org.eclipse.wst.jsdt.chromium.internal.protocolparser.JsonProtocolParseException: Field is not optional: name (in type org.eclipse.wst.jsdt.chromium.internal.v8native.protocol.input.data.PropertyObject)
> at org.eclipse.wst.jsdt.chromium.internal.protocolparser.dynamicimpl.DynamicParserImpl$LazyParseFieldMethodHandler.parse(DynamicParserImpl.java:729)
> at org.eclipse.wst.jsdt.chromium.internal.protocolparser.dynamicimpl.DynamicParserImpl$LazyParseFieldMethodHandler.parse(DynamicParserImpl.java:715)
> at org.eclipse.wst.jsdt.chromium.internal.protocolparser.dynamicimpl.DynamicParserImpl$LazyParseFieldMethodHandler.handle(DynamicParserImpl.java:694)
> ... 26 more
> ================================================
> java.lang.NullPointerException
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.getAdditionalPropertyData(JsFunctionImpl.java:82)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.getVariableScopes(JsFunctionImpl.java:47)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl.access$2(JsFunctionImpl.java:46)
> at org.eclipse.wst.jsdt.chromium.internal.v8native.value.JsFunctionImpl$1.getScopes(JsFunctionImpl.java:127)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.Value.calculateFunctionScopesVariable(Value.java:95)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.Value.calculateVariables(Value.java:74)
> at org.eclipse.wst.jsdt.chromium.debug.core.model.ValueBase$ValueWithLazyVariables.getVariables(ValueBase.java:77)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getValueChildren(VariableContentProvider.java:170)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getAllChildren(VariableContentProvider.java:87)
> at org.eclipse.debug.internal.ui.model.elements.VariableContentProvider.getChildren(VariableContentProvider.java:57)
> at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider.retrieveChildren(ElementContentProvider.java:91)
> at org.eclipse.debug.internal.ui.model.elements.ElementContentProvider$1.run(ElementContentProvider.java:44)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ERT-513) App does not run in iOS simulator with ios cordova 4.3.1 [EBZ#517918]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-513?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt updated ERT-513:
---------------------------
Fix Version/s: Oxygen.3 (4.7)
(was: Neon (4.6))
> App does not run in iOS simulator with ios cordova 4.3.1 [EBZ#517918]
> ---------------------------------------------------------------------
>
> Key: ERT-513
> URL: https://issues.jboss.org/browse/ERT-513
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Thym
> Reporter: Friendly Jira Robot
> Priority: Critical
> Labels: 2.0.0, bzira, iOS
> Fix For: Oxygen.3 (4.7)
>
>
> Created attachment 268781
> simulator_system_log.txt
> 1) Create hybrid application with ios cordova 4.3.1 engine.
> 2) Run As -> Run on iOS Simulator
> The app opens and quits/crashes immediately.
> This scenario works fine with lower cordova versions e.g (4.2.0, 4.1.1)
> If I open xcodeproject in XCode and run from there it works.
> iOS Simulator system log is attached.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (ERT-504) Selecting plugin throws exception [EBZ#515710]
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/ERT-504?page=com.atlassian.jira.plugin.sy... ]
Nick Boldt updated ERT-504:
---------------------------
Fix Version/s: Oxygen.3 (4.7)
(was: Neon (4.6))
> Selecting plugin throws exception [EBZ#515710]
> ----------------------------------------------
>
> Key: ERT-504
> URL: https://issues.jboss.org/browse/ERT-504
> Project: Eclipse Release Train
> Issue Type: Task
> Components: Thym
> Reporter: Friendly Jira Robot
> Labels: 2.0.0, General, bzira
> Fix For: Oxygen.3 (4.7)
>
>
> Created attachment 267952
> screenshot.png
> Steps to reproduce:
> 1) create thym app
> 2) install cordova plugin (run wizard)
> 3) from the list of plugins, select e.g. cordova-plugin-device
> 4) exception in error log
> stack trace:
> --------------
> java.lang.ClassNotFoundException: org.apache.http.util.CharArrayBuffer cannot be found by org.eclipse.thym.core_2.1.0.201703221647
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:348)
> at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:628)
> at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1620)
> at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1521)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1781)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
> at java.util.ArrayList.readObject(ArrayList.java:791)
> 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 java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:1058)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1909)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
> at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:2018)
> at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1942)
> at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1808)
> at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1353)
> at java.io.ObjectInputStream.readObject(ObjectInputStream.java:373)
> at org.eclipse.thym.core.internal.util.BundleHttpCacheStorage.getEntry(BundleHttpCacheStorage.java:87)
> at org.eclipse.thym.core.internal.util.BundleHttpCacheStorage.updateEntry(BundleHttpCacheStorage.java:111)
> at org.apache.http.impl.client.cache.BasicHttpCache.storeVariantEntry(BasicHttpCache.java:166)
> at org.apache.http.impl.client.cache.BasicHttpCache.storeInCache(BasicHttpCache.java:133)
> at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:327)
> at org.apache.http.impl.client.cache.BasicHttpCache.cacheAndReturnResponse(BasicHttpCache.java:292)
> at org.apache.http.impl.client.cache.CachingHttpClient.handleBackendResponse(CachingHttpClient.java:948)
> at org.apache.http.impl.client.cache.CachingHttpClient.callBackend(CachingHttpClient.java:755)
> at org.apache.http.impl.client.cache.CachingHttpClient.handleCacheMiss(CachingHttpClient.java:525)
> at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:456)
> at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:365)
> at org.apache.http.impl.client.cache.CachingHttpClient.execute(CachingHttpClient.java:359)
> at org.eclipse.thym.core.plugin.registry.CordovaPluginRegistryManager.getCordovaPluginInfo(CordovaPluginRegistryManager.java:79)
> at org.eclipse.thym.ui.plugins.internal.RegistryConfirmPage$DetailedPluginInfoRetrieveJob.run(RegistryConfirmPage.java:59)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months