[JBoss JIRA] (JBIDE-13302) Entities generation is running in UI thread and causes IDE freeze when it cannot connect to DB
by Koen Aers (JIRA)
[ https://issues.jboss.org/browse/JBIDE-13302?page=com.atlassian.jira.plugi... ]
Koen Aers commented on JBIDE-13302:
-----------------------------------
Generation now runs as a workspace job that can be canceled/put in background by the user.
> Entities generation is running in UI thread and causes IDE freeze when it cannot connect to DB
> ----------------------------------------------------------------------------------------------
>
> Key: JBIDE-13302
> URL: https://issues.jboss.org/browse/JBIDE-13302
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: hibernate
> Affects Versions: 4.0.0.Final
> Reporter: Jiri Peterka
> Assignee: Koen Aers
> Fix For: 4.2.0.CR1
>
>
> Connection is executed in UI thread which is blocking IDE mainly when connection cannot be established
> Steps:
> EXE: Create JPA project
> EXE: Stop database prepared for the project
> EXE: Run JPA Tools -> Generate Entities from tables
> ASSERT: UI should be responsive and it should be possible to cancel action
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18123) Embed wizard: Deselecting embeddable cartridge does not trigger "possible data loss" dialog
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18123?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18123:
-------------------------------------
Description: In JBIDE-16890 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application). (was: In JBIDE-16980 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application).)
> Embed wizard: Deselecting embeddable cartridge does not trigger "possible data loss" dialog
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-18123
> URL: https://issues.jboss.org/browse/JBIDE-18123
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.CR1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Labels: embed_wizard
> Fix For: 4.2.0.CR1
>
>
> In JBIDE-16890 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application).
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18123) Embed wizard: Deselecting embeddable cartridge does not trigger "possible data loss" dialog
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18123?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-18123:
-------------------------------------
Description: In JBIDE-16980 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application). (was: In JBIDE-13961 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application).)
> Embed wizard: Deselecting embeddable cartridge does not trigger "possible data loss" dialog
> -------------------------------------------------------------------------------------------
>
> Key: JBIDE-18123
> URL: https://issues.jboss.org/browse/JBIDE-18123
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.CR1
> Reporter: Marián Labuda
> Assignee: Andre Dietisheim
> Labels: embed_wizard
> Fix For: 4.2.0.CR1
>
>
> In JBIDE-16980 we implemented showing a dialog informing about possible data loss after removing an embeddable cartridge. Nowadays this dialog is not shown anymore after unselecting embedded cartridge in Edit Embedded Cartridges shell (opened via context menu of an application).
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18184) Cannot run Cordova project from JBDS (AeroGear QS)
by Petr Stribny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18184?page=com.atlassian.jira.plugi... ]
Petr Stribny updated JBIDE-18184:
---------------------------------
Environment: Hybrid Mobile Tools 1.0.0.Beta3, JBDS 8.0.0.Beta3, AeroGear 1.0.0.ER1 Quickstarts (was: Hybrid Mobile Tools 1.0.0.Beta3, JBDS 8.0.0.Beta3, , AeroGear 1.0.0.ER1 Quickstars)
> Cannot run Cordova project from JBDS (AeroGear QS)
> --------------------------------------------------
>
> Key: JBIDE-18184
> URL: https://issues.jboss.org/browse/JBIDE-18184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Environment: Hybrid Mobile Tools 1.0.0.Beta3, JBDS 8.0.0.Beta3, AeroGear 1.0.0.ER1 Quickstarts
> Reporter: Petr Stribny
>
> I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts 1.0.0.ER1 (e.g. Helloworld AeroGear Cordova QS).
> IDE fails silently.
> Log:
> {noformat}
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NumberFormatException: For input string: "L"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:492)
> at java.lang.Integer.parseInt(Integer.java:527)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
> at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
> at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 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:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18184) Cannot run Cordova project from JBDS (AeroGear QS)
by Petr Stribny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18184?page=com.atlassian.jira.plugi... ]
Petr Stribny updated JBIDE-18184:
---------------------------------
Environment: Hybrid Mobile Tools 1.0.0.Beta3, JBDS 8.0.0.Beta3, , AeroGear 1.0.0.ER1 Quickstars
> Cannot run Cordova project from JBDS (AeroGear QS)
> --------------------------------------------------
>
> Key: JBIDE-18184
> URL: https://issues.jboss.org/browse/JBIDE-18184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Environment: Hybrid Mobile Tools 1.0.0.Beta3, JBDS 8.0.0.Beta3, , AeroGear 1.0.0.ER1 Quickstars
> Reporter: Petr Stribny
>
> I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts 1.0.0.ER1 (e.g. Helloworld AeroGear Cordova QS).
> IDE fails silently.
> Log:
> {noformat}
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NumberFormatException: For input string: "L"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:492)
> at java.lang.Integer.parseInt(Integer.java:527)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
> at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
> at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 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:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18184) Cannot run Cordova project from JBDS (AeroGear QS)
by Petr Stribny (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18184?page=com.atlassian.jira.plugi... ]
Petr Stribny updated JBIDE-18184:
---------------------------------
Description:
I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts 1.0.0.ER1 (e.g. Helloworld AeroGear Cordova QS).
IDE fails silently.
Log:
{noformat}
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NumberFormatException: For input string: "L"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
{noformat}
was:
I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts (e.g. Helloworld AeroGear Cordova QS).
IDE fails silently.
Log:
{noformat}
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NumberFormatException: For input string: "L"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
{noformat}
> Cannot run Cordova project from JBDS (AeroGear QS)
> --------------------------------------------------
>
> Key: JBIDE-18184
> URL: https://issues.jboss.org/browse/JBIDE-18184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid
> Reporter: Petr Stribny
>
> I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts 1.0.0.ER1 (e.g. Helloworld AeroGear Cordova QS).
> IDE fails silently.
> Log:
> {noformat}
> !MESSAGE Unhandled event loop exception
> !STACK 0
> java.lang.NumberFormatException: For input string: "L"
> at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:492)
> at java.lang.Integer.parseInt(Integer.java:527)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
> at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
> at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
> at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
> at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
> at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
> at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
> at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
> at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
> at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
> 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:382)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:606)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18184) Cannot run Cordova project from JBDS (AeroGear QS)
by Petr Stribny (JIRA)
Petr Stribny created JBIDE-18184:
------------------------------------
Summary: Cannot run Cordova project from JBDS (AeroGear QS)
Key: JBIDE-18184
URL: https://issues.jboss.org/browse/JBIDE-18184
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: aerogear-hybrid
Reporter: Petr Stribny
I can't use "Run on Android device/emulator" options in JBDS for our AeroGear Cordova quickstarts (e.g. Helloworld AeroGear Cordova QS).
IDE fails silently.
Log:
{noformat}
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NumberFormatException: For input string: "L"
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Integer.parseInt(Integer.java:492)
at java.lang.Integer.parseInt(Integer.java:527)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager$TargetListParser.getSDKList(AndroidSDKManager.java:194)
at org.jboss.tools.aerogear.hybrid.android.core.adt.AndroidSDKManager.listTargets(AndroidSDKManager.java:353)
at org.jboss.tools.aerogear.android.ui.AndroidEmulatorLaunchShortcut.validateBuildToolsReady(AndroidEmulatorLaunchShortcut.java:32)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:64)
at org.jboss.tools.aerogear.hybrid.ui.launch.HybridProjectLaunchShortcut.launch(HybridProjectLaunchShortcut.java:50)
at org.eclipse.debug.internal.ui.launchConfigurations.LaunchShortcutExtension.launch(LaunchShortcutExtension.java:431)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.run(LaunchShortcutAction.java:74)
at org.eclipse.debug.internal.ui.actions.LaunchShortcutAction.runWithEvent(LaunchShortcutAction.java:123)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1412)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1397)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1182)
at org.eclipse.jface.action.ActionContributionItem$9.handleEvent(ActionContributionItem.java:1293)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4486)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3831)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3441)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
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:382)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:236)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months
[JBoss JIRA] (JBIDE-18147) Port forwarding cause tearing down the session
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-18147?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-18147:
------------------------------------------
np, thanks for adding it! if a workaround exists we know that it's not critical.
> Port forwarding cause tearing down the session
> ----------------------------------------------
>
> Key: JBIDE-18147
> URL: https://issues.jboss.org/browse/JBIDE-18147
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.2.0.CR1
> Reporter: Marián Labuda
> Fix For: 4.2.0.CR2
>
>
> After starting and stopping port forwarding there happens something wrong with session / ssh calling. I found it in Environment variables shell after creating env. variable and clicking on Refresh button. Following error has shown in log and environment variable from table was not removed, although it should be (Refresh button update local environment variables to environment variable of an existing OpenShift application).
> {code}
> com.openshift.client.OpenShiftSSHOperationException: Failed to execute remote ssh command "eap"
> at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:871)
> at com.openshift.internal.client.ApplicationResource.loadPorts(ApplicationResource.java:840)
> at com.openshift.internal.client.ApplicationResource.refresh(ApplicationResource.java:614)
> at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EditEnvironmentVariablesWizardModel.refreshEnvironmentVariables(EditEnvironmentVariablesWizardModel.java:35)
> at org.jboss.tools.openshift.express.internal.ui.wizard.environment.EnvironmentVariablesWizardPage$RefreshEnvironmentVariablesJob.doRun(EnvironmentVariablesWizardPage.java:292)
> at org.jboss.tools.openshift.express.internal.ui.job.AbstractDelegatingMonitorJob.run(AbstractDelegatingMonitorJob.java:36)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: com.jcraft.jsch.JSchException: session is down
> at com.jcraft.jsch.Session.openChannel(Session.java:843)
> at com.openshift.internal.client.ApplicationResource.sshExecCmd(ApplicationResource.java:865)
> ... 6 more
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
11 years, 7 months