[JBoss JIRA] (JBDS-4228) NPE in log while executing JBDS Openshift test
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBDS-4228?page=com.atlassian.jira.plugin.... ]
Rob Stryker resolved JBDS-4228.
-------------------------------
Resolution: Done
I made the following change in 2 places basically:
- if (!PlatformUI.isWorkbenchRunning()) {
+ if (!PlatformUI.isWorkbenchRunning() || PlatformUI.getWorkbench().isClosing()) {
This will also make sure it isn't in the process of closing (since it is still running even when it is closing).
> NPE in log while executing JBDS Openshift test
> ----------------------------------------------
>
> Key: JBDS-4228
> URL: https://issues.jboss.org/browse/JBDS-4228
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: foundation, runtime
> Reporter: Aurélien Pupier
> Assignee: Rob Stryker
> Priority: Minor
> Fix For: 10.3.0.AM2
>
>
> it occurs on module org.jboss.tools.openshift.cdk.server.test
> {noformat}
> Caught unexpected exception during test framework shutdown
> org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
> at org.eclipse.swt.SWT.error(SWT.java:4533)
> at org.eclipse.swt.SWT.error(SWT.java:4448)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185)
> at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4203)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3819)
> at org.eclipse.swt.widgets.Display.release(Display.java:3873)
> at org.eclipse.swt.graphics.Device.dispose(Device.java:298)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:154)
> at org.eclipse.tycho.surefire.osgibooter.UITestApplication.runApplication(UITestApplication.java:31)
> at org.eclipse.tycho.surefire.osgibooter.AbstractUITestApplication.run(AbstractUITestApplication.java:120)
> at org.eclipse.tycho.surefire.osgibooter.UITestApplication.start(UITestApplication.java:37)
> 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:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> 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:497)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
> Caused by: java.lang.NullPointerException
> at org.jboss.tools.runtime.ui.internal.RuntimeWorkbenchUtils$1.run(RuntimeWorkbenchUtils.java:31)
> at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
> at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
> ... 21 more
> java.lang.IllegalStateException: Job manager has been shut down.
> at org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1240)
> at org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:382)
> at org.eclipse.core.runtime.jobs.Job.schedule(Job.java:641)
> at org.jboss.tools.foundation.checkup.internal.model.JVMProblemModel.scheduleDetectorJob(JVMProblemModel.java:83)
> at org.jboss.tools.foundation.checkup.internal.log.JVMProblemLogListener.logging(JVMProblemLogListener.java:49)
> at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:161)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:103)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
> at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformLogWriter.java:44)
> at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:97)
> at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java:652)
> at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:277)
> at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:57)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:253)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
> at java.lang.Thread.run(Thread.java:745)
> Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.TaskBarProgressManager$2
> java.lang.IllegalStateException: Job manager has been shut down.
> at org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1240)
> at org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:382)
> at org.eclipse.core.runtime.jobs.Job.schedule(Job.java:641)
> at org.jboss.tools.foundation.checkup.internal.model.JVMProblemModel.scheduleDetectorJob(JVMProblemModel.java:83)
> at org.jboss.tools.foundation.checkup.internal.log.JVMProblemLogListener.logging(JVMProblemLogListener.java:49)
> at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:161)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:103)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
> at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformLogWriter.java:44)
> at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:97)
> at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java:652)
> at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:277)
> at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:57)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:253)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
> at java.lang.Thread.run(Thread.java:745)
> Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.decorators.DecorationScheduler$3
> java.lang.IllegalStateException: Job manager has been shut down.
> at org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1240)
> at org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:382)
> at org.eclipse.core.runtime.jobs.Job.schedule(Job.java:641)
> at org.jboss.tools.foundation.checkup.internal.model.JVMProblemModel.scheduleDetectorJob(JVMProblemModel.java:83)
> at org.jboss.tools.foundation.checkup.internal.log.JVMProblemLogListener.logging(JVMProblemLogListener.java:49)
> at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:161)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:103)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
> at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformLogWriter.java:44)
> at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:97)
> at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java:652)
> at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:277)
> at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:57)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:253)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
> at java.lang.Thread.run(Thread.java:745)
> Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.AnimationManager$1
> java.lang.IllegalStateException: Job manager has been shut down.
> at org.eclipse.core.internal.jobs.JobManager.schedule(JobManager.java:1240)
> at org.eclipse.core.internal.jobs.InternalJob.schedule(InternalJob.java:382)
> at org.eclipse.core.runtime.jobs.Job.schedule(Job.java:641)
> at org.jboss.tools.foundation.checkup.internal.model.JVMProblemModel.scheduleDetectorJob(JVMProblemModel.java:83)
> at org.jboss.tools.foundation.checkup.internal.log.JVMProblemLogListener.logging(JVMProblemLogListener.java:49)
> at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLog.java:161)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLogWriter.java:103)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.safeLogged(ExtendedLogReaderServiceFactory.java:88)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.logPrivileged(ExtendedLogReaderServiceFactory.java:217)
> at org.eclipse.osgi.internal.log.ExtendedLogReaderServiceFactory.log(ExtendedLogReaderServiceFactory.java:189)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceFactory.log(ExtendedLogServiceFactory.java:65)
> at org.eclipse.osgi.internal.log.ExtendedLogServiceImpl.log(ExtendedLogServiceImpl.java:87)
> at org.eclipse.osgi.internal.log.LoggerImpl.log(LoggerImpl.java:54)
> at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformLogWriter.java:44)
> at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:97)
> at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java:652)
> at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:277)
> at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:57)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:830)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$4.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:823)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:946)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:314)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1661)
> at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1580)
> at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:253)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:147)
> at org.eclipse.osgi.container.Module.doStop(Module.java:636)
> at org.eclipse.osgi.container.Module.stop(Module.java:498)
> at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:191)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:165)
> at java.lang.Thread.run(Thread.java:745)
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-23018) Offline script cannot find mvn command on windows
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23018?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-23018:
---------------------------------------
[~rob.stryker], this refers to the offline support.
1. In Eclipse, go to Preferences -> JBoss Tools -> Project Examples -> Offline Support
2. Copy the groovy command to your terminal and run it
On windows, this will mean to run this in command.exe cli.
> Offline script cannot find mvn command on windows
> -------------------------------------------------
>
> Key: JBIDE-23018
> URL: https://issues.jboss.org/browse/JBIDE-23018
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: project-examples
> Affects Versions: 4.4.1.AM3
> Environment: Red Hat JBoss Developer Studio
> Version: 10.1.0.AM3
> Build id: AM3-v20160812-1839-B5760
> Build date: 20160812-1839
> C:\test_offline>groovy -v
> Groovy Version: 2.4.6 JVM: 1.8.0_91-2-redhat Vendor: Oracle Corporation OS: Windows 10
> C:\test_offline>mvn -v
> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00)
> Maven home: C:\apache-maven-3.3.9
> Java version: 1.8.0_91-2-redhat, vendor: Oracle Corporation
> Java home: C:\java-1.8.0-openjdk-1.8.0.91-2.b14.windows.x86_64\jre
> Default locale: en_US, platform encoding: Cp1252
> OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"
> Reporter: Josef Kopriva
> Fix For: 4.5.0.AM1
>
>
> The groovy cannot find mvn command, even if the command is set in PATH system variable on windows.
> {code:java}
> C:\test_offline>groovy -Dgrape.config="C:\Users\jboss-qa\devstudio_B5760_new\workspace\.metadata\.plugins\org.jboss.tools.project.examples\offline\jbossToolsGrapeConfig_3.1.1.v20160812_0234.xml" "C:\Users\jboss-qa\devstudio_B5760_new\workspace\.metadata\.plugins\org.jboss.tools.project.examples\offline\go_offline_3.1.1.v20160812_0234.groovy" http://download.jboss.org/jbosstools/examples/4/4/project-examples-catego... http://download.jboss.org/jbosstools/examples/4/4/project-examples-devstu... http://download.jboss.org/jbosstools/examples/4/4/project-examples-shared... http://download.jboss.org/gatein/quickstarts/jboss-portal-6.2/project-exa... -u "http://dcp2.jboss.org/v2/rest/search?size=500\u0026content_provider=jboss..." -q -e
> Quiet mode : true
> Descriptors : [http://download.jboss.org/jbosstools/examples/4/4/project-examples-catego..., http://download.jboss.org/jbosstools/examples/4/4/project-examples-devstu..., http://download.jboss.org/jbosstools/examples/4/4/project-examples-shared..., http://download.jboss.org/gatein/quickstarts/jboss-portal-6.2/project-exa...]
> creating offline\.jbosstools\cache
> parsing http://download.jboss.org/jbosstools/examples/4/4/project-examples-catego...
> parsing http://download.jboss.org/jbosstools/examples/4/4/project-examples-devstu...
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\jbosstools\examples\contacts-mobile-basic\0.0.2\contacts-mobile.zip into C:\test_offline\offline\workDir\contacts-mobile.zip
> parsing http://download.jboss.org/jbosstools/examples/4/4/project-examples-shared...
> parsing http://download.jboss.org/gatein/quickstarts/jboss-portal-6.2/project-exa...
> [unzip] [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\cdi-generic-portlet.zip into C:\test_offline\offline\workDir\cdi-generic-portlet.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\simplest-hello-world-portlet.zip into C:\test_offline\offline\workDir\simplest-hello-world-portlet.zip
> [unzip] [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\jsf2-rf4-hello-world-portlet.zip into C:\test_offline\offline\workDir\jsf2-rf4-hello-world-portlet.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\navigation-api-portlet.zip into C:\test_offline\offline\workDir\navigation-api-portlet.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\cdi-jsf-portlet.zip into C:\test_offline\offline\workDir\cdi-jsf-portlet.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\jsf2-hello-world-portlet.zip into C:\test_offline\offline\workDir\jsf2-hello-world-portlet.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\social-portlets.zip into C:\test_offline\offline\workDir\social-portlets.zip
> [unzip] Expanding: C:\test_offline\offline\.jbosstools\cache\gatein\quickstarts\jpp-6.1\cdi-scopes-portlet.zip into C:\test_offline\offline\workDir\cdi-scopes-portlet.zip
> : Execute failed: java.io.IOException: Cannot run program "mvn" (in directory "C:\test_offline\offline\workDir\7.0.0.GA.zip\thread-racing"): CreateProcess error=2, The system cannot find the file specified
> at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)
> at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:495)
> at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
> 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 org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
> at groovy.util.AntBuilder.performTask(AntBuilder.java:327)
> at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:272)
> at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:154)
> at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:207)
> at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:67)
> at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:48)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:133)
> at GoOfflineScript.addMavenWrapper(go_offline_3.1.1.v20160812_0234.groovy:523)
> at GoOfflineScript$addMavenWrapper$1.callCurrent(Unknown Source)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
> at GoOfflineScript.execMavenGoOffline(go_offline_3.1.1.v20160812_0234.groovy:379)
> 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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
> at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
> at GoOfflineScript$_buildUnzippedExamples_closure5.doCall(go_offline_3.1.1.v20160812_0234.groovy:247)
> 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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
> at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1021)
> at groovy.lang.Closure.call(Closure.java:426)
> at groovy.lang.Closure.call(Closure.java:442)
> at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
> at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
> at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2056)
> at org.codehaus.groovy.runtime.dgm$162.invoke(Unknown Source)
> at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
> at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
> at GoOfflineScript.buildUnzippedExamples(go_offline_3.1.1.v20160812_0234.groovy:246)
> at GoOfflineScript$buildUnzippedExamples$0.callCurrent(Unknown Source)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174)
> at GoOfflineScript.goOffline(go_offline_3.1.1.v20160812_0234.groovy:158)
> 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 org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSite.invoke(PogoMetaMethodSite.java:169)
> at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.call(PogoMetaMethodSite.java:71)
> at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
> at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
> at GoOfflineScript.main(go_offline_3.1.1.v20160812_0234.groovy:113)
> 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 org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
> at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
> at groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1445)
> at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:897)
> at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:287)
> at groovy.lang.GroovyShell.run(GroovyShell.java:518)
> at groovy.lang.GroovyShell.run(GroovyShell.java:507)
> at groovy.ui.GroovyMain.processOnce(GroovyMain.java:652)
> at groovy.ui.GroovyMain.run(GroovyMain.java:384)
> at groovy.ui.GroovyMain.process(GroovyMain.java:370)
> at groovy.ui.GroovyMain.processArgs(GroovyMain.java:129)
> at groovy.ui.GroovyMain.main(GroovyMain.java:109)
> 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 org.codehaus.groovy.tools.GroovyStarter.rootLoader(GroovyStarter.java:109)
> at org.codehaus.groovy.tools.GroovyStarter.main(GroovyStarter.java:131)
> Caused by: java.io.IOException: Cannot run program "mvn" (in directory "C:\test_offline\offline\workDir\7.0.0.GA.zip\thread-racing"): CreateProcess error=2, The system cannot find the file specified
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
> at java.lang.Runtime.exec(Runtime.java:620)
> at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:58)
> at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
> at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
> at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:628)
> at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:669)
> ... 92 more
> Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
> at java.lang.ProcessImpl.create(Native Method)
> at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
> at java.lang.ProcessImpl.start(ProcessImpl.java:137)
> at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
> ... 98 more
> Script executed in 0 min, 2 sec with 1 error(s)
> Caught: ScriptProblems: Some build errors occured
> ScriptProblems: Errors:
> Error running the script
> Details:
> Error running the script
> Execute failed: java.io.IOException: Cannot run program "mvn" (in directory "C:\test_offline\offline\workDir\7.0.0.GA.zip\thread-racing"): CreateProcess error=2, The system cannot find the file specified
> {code}
> (This could help(very similar issue): http://stackoverflow.com/questions/29757511/mvn-command-not-recognized-on... )
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-22750) Auto-insert name after </# and </@
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22750?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-22750:
------------------------------------------
[~ddekany] we'd be very glad to get your contribution to fix this, is this possible to you? We badly lack resources to work on this on a timely manner.
> Auto-insert name after </# and </@
> ----------------------------------
>
> Key: JBIDE-22750
> URL: https://issues.jboss.org/browse/JBIDE-22750
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: freemarker
> Reporter: Daniel Dekany
> Assignee: Daniel Dekany
> Fix For: 4.5.0.AM1
>
>
> It would be very handy if {{<#/}} auto-inserts the name of directive that it closes. It's tricky to do though, because it has to be synchronous (and fast) and so it certainly can't wait for the result from the reconciler thread. Without that, finding out what tag needs closing isn't trivial because most but not all {{#}} directives are implicitly closed (worse, in case of assignments that depends on the expression after the directive name).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-23505) CDK v3 server adapter based on minishift
by Martin Malina (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23505?page=com.atlassian.jira.plugi... ]
Martin Malina commented on JBIDE-23505:
---------------------------------------
I tried this on Mac and I have similar observations to Jeff's:
1. When setting up the adapter, the field is called Minishift file - perhaps better to call it "Minishift binary"?
2. Perhaps you should offer some UI to select which vm provider you want to use? Otherwise I have to change the launch config to add --vm-driver=virtualbox.
3. I was only asked for password once as expected even though I didn't save the password, so this works fine for me
4. There is no Show in Docker or OpenShift console for the adapter - add it?
5. Both Openshift and Docker connections were established properly
6. When I started the adapter, for a long time (a minute?) I only saw the first line, i.e.
Starting local OpenShift cluster using 'virtualbox' hypervisor...
And nothing else. And then suddenly all the rest started happening pretty quickly. But it seems the same happens from cli also, so it's not your fault.
7. When I first started minishift in cli and then tried in Eclipse, it worked properly
> CDK v3 server adapter based on minishift
> ----------------------------------------
>
> Key: JBIDE-23505
> URL: https://issues.jboss.org/browse/JBIDE-23505
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: cdk, server
> Affects Versions: 4.4.2.Final
> Reporter: Rob Stryker
> Assignee: Rob Stryker
> Fix For: 4.4.3.AM2
>
>
> We need to be pro-active in getting a minishift-based server adapter available for testing, or for tech-preview, which can be fixed or modified as underlying commands / api change.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-22750) Auto-insert name after </# and </@
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22750?page=com.atlassian.jira.plugi... ]
Jeff MAURY reassigned JBIDE-22750:
----------------------------------
Assignee: Daniel Dekany
> Auto-insert name after </# and </@
> ----------------------------------
>
> Key: JBIDE-22750
> URL: https://issues.jboss.org/browse/JBIDE-22750
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: freemarker
> Reporter: Daniel Dekany
> Assignee: Daniel Dekany
> Fix For: 4.5.0.AM1
>
>
> It would be very handy if {{<#/}} auto-inserts the name of directive that it closes. It's tricky to do though, because it has to be synchronous (and fast) and so it certainly can't wait for the result from the reconciler thread. Without that, finding out what tag needs closing isn't trivial because most but not all {{#}} directives are implicitly closed (worse, in case of assignments that depends on the expression after the directive name).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-22750) Auto-insert name after </# and </@
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22750?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-22750:
-------------------------------
Fix Version/s: 4.5.0.AM1
> Auto-insert name after </# and </@
> ----------------------------------
>
> Key: JBIDE-22750
> URL: https://issues.jboss.org/browse/JBIDE-22750
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: freemarker
> Reporter: Daniel Dekany
> Assignee: Daniel Dekany
> Fix For: 4.5.0.AM1
>
>
> It would be very handy if {{<#/}} auto-inserts the name of directive that it closes. It's tricky to do though, because it has to be synchronous (and fast) and so it certainly can't wait for the result from the reconciler thread. Without that, finding out what tag needs closing isn't trivial because most but not all {{#}} directives are implicitly closed (worse, in case of assignments that depends on the expression after the directive name).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months
[JBoss JIRA] (JBIDE-22638) Cant start remote server on Win10
by Rob Stryker (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22638?page=com.atlassian.jira.plugi... ]
Rob Stryker updated JBIDE-22638:
--------------------------------
Component/s: upstream
> Cant start remote server on Win10
> ---------------------------------
>
> Key: JBIDE-22638
> URL: https://issues.jboss.org/browse/JBIDE-22638
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: server, upstream
> Affects Versions: 4.4.0.Final
> Reporter: Jeff MAURY
> Assignee: Rob Stryker
> Fix For: 4.5.0.AM1
>
>
> ASSERT: create a local Wildfly server
> ASSERT: create a remote (filesystem and shell operations controlled) using the same runtime and will local path
> EXEC: start the remote server
> ASSERT: the remote server won't start, the following lines are displayed in the console:
> 'cmd' is not recognized as an internal or external command, operable program or batch file
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years, 2 months