[JBoss JIRA] (JBIDE-26706) "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
by André Dietisheim (Jira)
[ https://issues.jboss.org/browse/JBIDE-26706?page=com.atlassian.jira.plugi... ]
André Dietisheim updated JBIDE-26706:
-------------------------------------
Priority: Minor (was: Major)
> "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-26706
> URL: https://issues.jboss.org/browse/JBIDE-26706
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.12.0.AM1
> Environment: OS X 10.14.5 ONLY (other platforms are without errors), issueu appears on both Java 8 and Java 11
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Minor
> Attachments: Error in the JSON file.png, Problems View.png
>
>
> Newly created *Launcher Application* Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
> * *your_project_name/.vscode/extensions.json*
> The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
> Deleting all the comments removes the error in this JSON file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 5 months
[JBoss JIRA] (JBIDE-26706) "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26706?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26706:
------------------------------------
Environment: OS X 10.14.5 ONLY (other platforms are without errors), issueu appears on both Java 8 and Java 11 (was: OS X 10.14.5 ONLY (other platforms are without errors))
> "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-26706
> URL: https://issues.jboss.org/browse/JBIDE-26706
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.12.0.AM1
> Environment: OS X 10.14.5 ONLY (other platforms are without errors), issueu appears on both Java 8 and Java 11
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: Error in the JSON file.png, Problems View.png
>
>
> Newly created *Launcher Application* Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
> * *your_project_name/.vscode/extensions.json*
> The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
> Deleting all the comments removes the error in this JSON file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 5 months
[JBoss JIRA] (JBIDE-26706) "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26706?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26706:
------------------------------------
Steps to Reproduce:
1) Create new *Launcher Application* Project using wizard by clicking on the *Launcher Application* link in Red Hat Central (enter "rest-http" as target mission and *vert.x redhat* as target runtime in the wizard before finishing the project creation)
2) See the Project view similar to the one captured on the "Problems View.png" image in the attachment
3) You can open the *project_name/.vscode/extensions.json* file to see the cause - line 2 in the JSON file is a double slash comment (see the "Error in the JSON file.png" file in the attachment)
was:
1) Create new *Launcher Application* Project using wizard by clicking on the "Launcher Application" link in Red Hat Central (enter "rest-http" as target mission and *vert.x redhat* as target runtime in the wizard before finishing the project creation)
2) See the Project view similar to the one captured on the "Problems View.png" image in the attachment
3) You can open the *project_name/.vscode/extensions.json* file to see the cause - line 2 in the JSON file is a double slash comment (see the "Error in the JSON file.png" file in the attachment)
> "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-26706
> URL: https://issues.jboss.org/browse/JBIDE-26706
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.12.0.AM1
> Environment: OS X 10.14.5 ONLY (other platforms are without errors)
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: Error in the JSON file.png, Problems View.png
>
>
> Newly created *Launcher Application* Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
> * *your_project_name/.vscode/extensions.json*
> The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
> Deleting all the comments removes the error in this JSON file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 5 months
[JBoss JIRA] (JBIDE-26706) "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
by Zbyněk Červinka (Jira)
[ https://issues.jboss.org/browse/JBIDE-26706?page=com.atlassian.jira.plugi... ]
Zbyněk Červinka updated JBIDE-26706:
------------------------------------
Description:
Newly created *Launcher Application* Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
* *your_project_name/.vscode/extensions.json*
The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
Deleting all the comments removes the error in this JSON file.
was:
Newly created "Launcher Application" Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
* *your_project_name/.vscode/extensions.json*
The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
Deleting all the comments removes the error in this JSON file.
> "Launcher Application" Project from Red Hat CodeReady Studio Central shows error after import
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-26706
> URL: https://issues.jboss.org/browse/JBIDE-26706
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: central
> Affects Versions: 4.12.0.AM1
> Environment: OS X 10.14.5 ONLY (other platforms are without errors)
> Reporter: Zbyněk Červinka
> Assignee: Jeff MAURY
> Priority: Major
> Attachments: Error in the JSON file.png, Problems View.png
>
>
> Newly created *Launcher Application* Projects (with the "{color:red}rest-http{color}" as target mission and "{color:red}vert.x redhat{color}" as target runtime in the wizard) contains error in the following JSON file:
> * *your_project_name/.vscode/extensions.json*
> The JSON file contains double slash comments which are reported as error in the Red Hat CodeReady Studio Problems view.
> Deleting all the comments removes the error in this JSON file.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 5 months
[JBoss JIRA] (JBIDE-26707) Forge: Cannot install Addon from catalog
by Josef Kopriva (Jira)
Josef Kopriva created JBIDE-26707:
-------------------------------------
Summary: Forge: Cannot install Addon from catalog
Key: JBIDE-26707
URL: https://issues.jboss.org/browse/JBIDE-26707
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: forge
Affects Versions: 4.12.0.Final
Reporter: Josef Kopriva
Assignee: George Gastaldi
{code:java}
eclipse.buildId=12.12.0.GA-v20190628-0434-B4598
java.version=11.0.2
java.vendor=Oracle Corporation
BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_GB
Framework arguments: -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
Command-line arguments: -os macosx -ws cocoa -arch x86_64 -product com.jboss.devstudio.core.product -keyring /Users/jkopriva/.eclipse_keyring
org.jboss.tools.forge.ui
Error
Mon Jul 01 09:05:38 CEST 2019
Error logged from Forge Plugin:
java.lang.RuntimeException: Error while fetching addons from main catalog
at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:70)
at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.AddonDescriptorCatalogRegistry.find(AddonDescriptorCatalogRegistry.java:46)
at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.ui.catalog.AddonInstallFromCatalogCommand.initializeUI(AddonInstallFromCatalogCommand.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.ui.catalog.AddonInstallFromCatalogCommand_$$_jvstc22_63.initializeUI(AddonInstallFromCatalogCommand_$$_jvstc22_63.java)
at org.jboss.forge.addon.ui:3.9.2.Final_02762095-bb06-4462-a4f0-fb0e06413b99//org.jboss.forge.addon.ui.impl.controller.SingleCommandControllerImpl.initialize(SingleCommandControllerImpl.java:61)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:124)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:97)
at org.jboss.forge.addon.ui.controller.CommandController_$$_jvstaf5_2a.initialize(CommandController_$$_jvstaf5_2a.java)
at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:117)
at org.jboss.tools.forge.ui.internal.ext.dialog.WizardDialogHelper.openWizard(WizardDialogHelper.java:98)
at org.jboss.tools.forge.ui.internal.ext.dialog.UICommandListDialog$1$1.handleElementSelected(UICommandListDialog.java:235)
at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.handleSelection(QuickAccessContents.java:322)
at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents.access$0(QuickAccessContents.java:312)
at org.jboss.tools.forge.ui.internal.ext.quickaccess.QuickAccessContents$6.mouseUp(QuickAccessContents.java:461)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:224)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4364)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1324)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4151)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3768)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1173)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1062)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:635)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:559)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:155)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:137)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:107)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:660)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:597)
at org.eclipse.equinox.launcher.Main.run(Main.java:1468)
Caused by: javax.json.JsonException: Cannot auto-detect encoding, not enough chars
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:131)
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:76)
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:76)
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:68)
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:131)
at org.jboss.forge.addon.javaee-spi:3.9.2.Final_bbf72651-c998-4073-bc46-62d5d29627d9//javax.json.Json.createReader(Json.java:220)
at org.jboss.forge.addon.addon-manager:3.9.2.Final_d05385b4-05fb-4e71-a8af-19649ad9a4cd//org.jboss.forge.addon.manager.impl.catalog.ForgeAddonDescriptorCatalog.getAddonDescriptors(ForgeAddonDescriptorCatalog.java:40)
... 55 more
{code}
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
5 years, 5 months