[JBoss JIRA] (JBIDE-17470) Error when running imported cordova-cli project with CordovaSim
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17470?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-17470:
-------------------------------------
< CordovaSim also needs to compensate or use thym API to read the data.
[~gercan], could you possibly give me a hint what API should be used?
> Error when running imported cordova-cli project with CordovaSim
> ---------------------------------------------------------------
>
> Key: JBIDE-17470
> URL: https://issues.jboss.org/browse/JBIDE-17470
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: aerogear-hybrid, browsersim
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS 8.0.0.Beta2-v20140525-2146-B104
> Reporter: Vlado Pakan
> Assignee: Ilya Buziuk
> Fix For: 4.2.0.Beta3
>
>
> 1. Generate cordova project using cordova cli
> {noformat}
> cordova create hello com.example.hello HelloWorld
> {noformat}
> 2. Import created project to JBT
> 3. Run it with CordovaSim
> ERROR:
> {noformat}
> !ENTRY org.eclipse.core.jobs 4 2 2014-05-29 09:50:15.934
> !MESSAGE An internal error occurred during: "Launching HelloWorld".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getStartPageName(CordovaSimLaunchParametersUtil.java:258)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getDefaultStartPageFromConfigXml(CordovaSimLaunchParametersUtil.java:163)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getDefaultStartPage(CordovaSimLaunchParametersUtil.java:155)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLauncher.launchCordovaSim(CordovaSimLauncher.java:95)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationDelegate.launch(CordovaSimLaunchConfigurationDelegate.java:24)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:884)
> at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
> at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
> at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> {noformat}
> 4. Open Run configurations and select HelloWorld configuration
> ERROR:
> {noformat}
> !ENTRY org.eclipse.jface 4 2 2014-05-29 09:57:43.006
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getStartPageName(CordovaSimLaunchParametersUtil.java:258)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getDefaultStartPageFromConfigXml(CordovaSimLaunchParametersUtil.java:163)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchParametersUtil.getDefaultStartPage(CordovaSimLaunchParametersUtil.java:155)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationTab.setSelectedStartPage(CordovaSimLaunchConfigurationTab.java:498)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationTab.setSelectedProject(CordovaSimLaunchConfigurationTab.java:452)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationTab.initializeFrom(CordovaSimLaunchConfigurationTab.java:309)
> at org.eclipse.debug.ui.AbstractLaunchConfigurationTabGroup.initializeFrom(AbstractLaunchConfigurationTabGroup.java:90)
> at org.jboss.tools.vpe.cordovasim.eclipse.launch.internal.CordovaSimLaunchConfigurationTabGroup.initializeFrom(CordovaSimLaunchConfigurationTabGroup.java:28)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupWrapper.initializeFrom(LaunchConfigurationTabGroupWrapper.java:201)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.displayInstanceTabs(LaunchConfigurationTabGroupViewer.java:764)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer$8.run(LaunchConfigurationTabGroupViewer.java:635)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.inputChanged(LaunchConfigurationTabGroupViewer.java:652)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput0(LaunchConfigurationTabGroupViewer.java:613)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationTabGroupViewer.setInput(LaunchConfigurationTabGroupViewer.java:588)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.handleLaunchConfigurationSelectionChanged(LaunchConfigurationsDialog.java:960)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog$3.selectionChanged(LaunchConfigurationsDialog.java:573)
> at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:876)
> 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:178)
> at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:873)
> at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1217)
> at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1243)
> at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:265)
> at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:259)
> at org.eclipse.jface.util.OpenStrategy$1$2.run(OpenStrategy.java:440)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3781)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3419)
> at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
> at org.eclipse.jface.window.Window.open(Window.java:808)
> at org.eclipse.debug.internal.ui.launchConfigurations.LaunchConfigurationsDialog.open(LaunchConfigurationsDialog.java:1154)
> at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:611)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
> at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:619)
> at org.eclipse.debug.ui.DebugUITools.openLaunchConfigurationDialogOnGroup(DebugUITools.java:552)
> at org.eclipse.debug.ui.actions.OpenLaunchDialogAction.run(OpenLaunchDialogAction.java:82)
> at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
> 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:4462)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1388)
> at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3806)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3416)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1152)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1033)
> at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
> at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:635)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:578)
> 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:379)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:233)
> 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.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17460) Exception when back button on mouse is pressed
by Ilya Buziuk (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17460?page=com.atlassian.jira.plugi... ]
Ilya Buziuk commented on JBIDE-17460:
-------------------------------------
[~vpakan], I'm a bit perplexed with that issue, which I can't reproduce on windows. is it Linux specific?
<Open BrowserSim with empty page
*about:blank* - am I right?
<Click on Back button on mouse (back action is defined for back button on mouse within OS)
Сan't understand it. Back button should be blocked for the newly opened page
> Exception when back button on mouse is pressed
> ----------------------------------------------
>
> Key: JBIDE-17460
> URL: https://issues.jboss.org/browse/JBIDE-17460
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: browsersim
> Affects Versions: 4.2.0.Beta2
> Environment: JBDS 8.0.0.Beta2-v20140525-2146-B104
> Linux 64bit
> Java 1.7.0_51
> Reporter: Vlado Pakan
> Assignee: Ilya Buziuk
> Priority: Critical
> Fix For: 4.2.0.Beta3
>
>
> 1.Open BrowserSim with empty page. BrowserSim is run with JavaFX engine
> 2.Click on empty page within BrowserSim
> 3.Click on Back button on mouse (back action is defined for back button on mouse within OS)
> ERROR:
> {noformat}
> 2014-05-28 11:52:08.348:INFO:oejs.AbstractConnector:Started SelectChannelConnector@0.0.0.0:56505
> Exception in runnable
> java.lang.NullPointerException
> at javafx.scene.Scene$ClickCounter.access$7600(Scene.java:3030)
> at javafx.scene.Scene$ClickGenerator.preProcess(Scene.java:3126)
> at javafx.scene.Scene$ClickGenerator.access$8400(Scene.java:3096)
> at javafx.scene.Scene$MouseHandler.process(Scene.java:3347)
> at javafx.scene.Scene$MouseHandler.process(Scene.java:3209)
> at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3164)
> at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1582)
> at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2267)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:194)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:176)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2.run(EmbeddedScene.java:176)
> at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182)
> at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179)
> at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3414)
> at org.jboss.tools.vpe.browsersim.BrowserSimRunner.main(BrowserSimRunner.java:114)
> Exception in runnable
> java.lang.NullPointerException
> at javafx.scene.Scene$ClickCounter.access$7900(Scene.java:3030)
> at javafx.scene.Scene$ClickGenerator.postProcess(Scene.java:3157)
> at javafx.scene.Scene$ClickGenerator.access$8600(Scene.java:3096)
> at javafx.scene.Scene$MouseHandler.process(Scene.java:3378)
> at javafx.scene.Scene$MouseHandler.process(Scene.java:3209)
> at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3164)
> at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1582)
> at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2267)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:194)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2$1.run(EmbeddedScene.java:176)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.javafx.tk.quantum.EmbeddedScene$2.run(EmbeddedScene.java:176)
> at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:182)
> at com.sun.javafx.application.PlatformImpl$4$1.run(PlatformImpl.java:179)
> at java.security.AccessController.doPrivileged(Native Method)
> at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:179)
> at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:76)
> at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2473)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3414)
> at org.jboss.tools.vpe.browsersim.BrowserSimRunner.main(BrowserSimRunner.java:114)
> 2014-05-28 11:52:24.202:INFO:oejsh.ContextHandler:stopped o.e.j.s.ServletContextHandler{/,null}
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17267) Broken module factories (upstream) can break astools module deployment
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17267?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-17267.
---------------------------------
Verified with the steps Rob has provided. (JBDS 8.0.0.Beta2a B106)
> Broken module factories (upstream) can break astools module deployment
> ----------------------------------------------------------------------
>
> Key: JBIDE-17267
> URL: https://issues.jboss.org/browse/JBIDE-17267
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta2
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.2.0.Beta2
>
>
> If a call to a module's "getChild()" method throws an unexpected exception, our publish utility projects are not prepared to handle it.
> 1) Install eclipse libra
> 2) modify ASTools as.core/plugin.xml
> a) Add <moduleType types="osgi.bundle" versions="1.0"/> under each jboss runtime type to add support for libra osgi modules
> 3) Create a faceted project, add osgi.bundle facet
> 4) Create dynamic web project
> 5) Create wildfly server
> 6) right-click wildfly server, add / remove modules.
> 7) Expect to see two module types in the view
> Step 7 fails. The view is empty. No modules in the workspace are deployable.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17480) Error in validation of jboss-deployment-structure.xml
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17480?page=com.atlassian.jira.plugi... ]
Rob Stryker commented on JBIDE-17480:
-------------------------------------
There's a new jira open for keeping all the schemas in one place online, which should help minimize the confusion: https://issues.jboss.org/browse/WFLY-3434
But not sure when or how this will get done.
> Error in validation of jboss-deployment-structure.xml
> -----------------------------------------------------
>
> Key: JBIDE-17480
> URL: https://issues.jboss.org/browse/JBIDE-17480
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server, upstream
> Environment: Version: 8.0.0.Beta1
> Build id: Beta1-v20140408-2350-B93
> Build date: 20140408-2350
> Reporter: Emil Cervenan
> Assignee: Viacheslav Kabanovich
> Fix For: 4.2.0.Beta3
>
>
> Wrong validation error on jboss-deployment-structure.xml file:
> {code}
> <jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.2">
> <deployment>
> <dependencies>
> <module name="org.apache.log4j" slot="main" export="true"/>
> </dependencies>
> <exclusions>
> <module name="org.hibernate"/>
> </exclusions>
> </deployment>
> </jboss-deployment-structure>
> {code}
> Error:
> {code}
> cvc-complex-type.2.4.b: The content of element 'deployment' is not complete. One of '{"urn:jboss:deployment-structure:1.2":module-alias, "urn:jboss:deployment-structure:1.2":exports, "urn:jboss:deployment-structure:1.2":resources, "urn:jboss:deployment-structure:1.2":transformers, "urn:jboss:deployment-structure:1.2":local-last, "urn:jboss:deployment-structure:1.2":exclude-subsystems}' is expected.
> {code}
> Same for urn:jboss:deployment-structure:1.1.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17005) server editor runtime combo not functioning properly, saveable
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17005?page=com.atlassian.jira.plugi... ]
Martin Malina closed JBIDE-17005.
---------------------------------
Verified in JBDS 8.0.0.Beta2a B106
> server editor runtime combo not functioning properly, saveable
> --------------------------------------------------------------
>
> Key: JBIDE-17005
> URL: https://issues.jboss.org/browse/JBIDE-17005
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server
> Affects Versions: 4.2.0.Beta2
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.2.0.Beta2
>
>
> An upstream bug has been filed for htis issue: https://bugs.eclipse.org/bugs/show_bug.cgi?id=431973
> The server runtime combo inside the server editor does not file changes to its widgets through a command manager. The server cannot realize it is dirty, and changes cannot be persisted.
> A workaround is to change your runtime via the combo, and then change any other widget on the page (such as host) by adding and removing a character. The server will then know it is dirty, and saves to it will also persist your change in the runtime combo.
> Until the upstream issue is fixed, this issue should remain open.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (JBIDE-17078) JAX-RS Problems doesn't appears after the JAX-RS Support is activated
by Xavier Coulon (JIRA)
[ https://issues.jboss.org/browse/JBIDE-17078?page=com.atlassian.jira.plugi... ]
Xavier Coulon commented on JBIDE-17078:
---------------------------------------
[~akazakov],
do you have any idea what could be missing in my validator configuration ? I vaguely remember we already talked about it before, but I can't remember what we said :-/
Thanks !
> JAX-RS Problems doesn't appears after the JAX-RS Support is activated
> ---------------------------------------------------------------------
>
> Key: JBIDE-17078
> URL: https://issues.jboss.org/browse/JBIDE-17078
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: webservices
> Affects Versions: 4.2.0.Beta1
> Reporter: Radoslav Rábara
> Assignee: Xavier Coulon
> Fix For: 4.2.0.Beta3
>
>
> JAX-RS validation runs when there is a change in the project with JAX-RS Support. However, it doesn't run right after the JAX-RS Support is enabled.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months