[jbosstools-issues] [JBoss JIRA] (JBDS-3531) versionwatch install not working with JBDS 10 - os detection fails
Nick Boldt (JIRA)
issues at jboss.org
Fri Sep 25 11:31:00 EDT 2015
[ https://issues.jboss.org/browse/JBDS-3531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13112624#comment-13112624 ]
Nick Boldt commented on JBDS-3531:
----------------------------------
When running locally, the OS check fails too but the install proceeds.
[~dgolovin] is this something new in JBDS 10 Alpha1?
{code}
checking if os constraints [Os family unix name null version null arch null jre null ] match current OS
matched current OS.
checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
checking if os constraints [Os family null name null version null arch x86 jre null ] match current OS
no match with current OS!
Custom langpack for eng available.
Initializing RulesEngine
RulesEngine.init()
Initializing builtin conditions for packs.
Pack.getCondition(): null for pack jbds-installer
Pack.getCondition(): null for pack jbds.update
Pack.getCondition(): null for pack jbds.generate
Pack.getCondition(): null for pack jbosseap
[ Starting automated installation ]
/home/nboldt/tmp/jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar
/opt/jdk1.8.0_60/bin/java -Djava.awt.headless=true
executeCommand
params: /opt/jdk1.8.0_60/bin/java
params: -Djava.awt.headless=true
params: -showversion
params: -classpath
params: /home/nboldt/tmp/jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar:jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar
params: com.jboss.devstudio.core.installer.JREPathValidatorMain
stdout:
java.vendor = Oracle Corporation
java.version = 1.8.0_60
sun.arch.data.model = 64
stderr:
java version "1.8.0_60"
Java(TM) SE Runtime Environment (build 1.8.0_60-b27)
Java HotSpot(TM) 64-Bit Server VM (build 25.60-b23, mixed mode)
exit status: 0
java.vendor = Oracle Corporation
java.version = 1.8.0_60
sun.arch.data.model = 64
[INFO] Selected JVM Information
[INFO] Location : /opt/jdk1.8.0_60
[INFO] Vendor : Oracle Corporation
[INFO] Version : 1.8.0_60
[INFO] Arch : 64-bit
[ Starting to unpack ]
[ Processing package: P2 Director Application (1/3) ]
checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
no match with current OS!
checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
no match with current OS!
checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
no match with current OS!
[ Command ] "/opt/jdk1.8.0_60/bin/java" -Djava.awt.headless=true -jar "/tmp/jbdevstudio10a/studio/p2/director/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar" -l -r 'jar:file:///home/nboldt/tmp/jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar!/jbds' -d "/tmp/jbdevstudio10a/studio" ;echo REQUEST_FINISHED_$?;echo ERROUTPUT_FINISHED >&2
...
{code}
> versionwatch install not working with JBDS 10 - os detection fails
> ------------------------------------------------------------------
>
> Key: JBDS-3531
> URL: https://issues.jboss.org/browse/JBDS-3531
> Project: Developer Studio (JBoss Developer Studio)
> Issue Type: Bug
> Components: build, installer
> Affects Versions: 10.0.0.Alpha1
> Reporter: Nick Boldt
> Assignee: Nick Boldt
> Attachments: jbds-10.0.0.Alpha1.install.xml
>
>
> http://jenkins.mw.lab.eng.bos.redhat.com/hudson/view/DevStudio/view/DevStudio_9.0.mars/job/devstudio.versionwatch_master/2869/console
> {code}
> /qa/tools/opt/amd64/jdk1.8.0_last/bin/java -DTRACE=true -DSTREAM_NAME=10.0 -jar /qa/services/http/binaries/RHDS/10.0/snapshots/builds/devstudio.product_master/latest/all/jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar /home/hudson/static_build_env/jbds/versionwatch/installations/jbds-10.0.0.Alpha1.install.xml
> 10:48:07 TRACE enabled.
> 10:48:07 checking if os constraints [Os family unix name null version null arch null jre null ] match current OS
> 10:48:07 matched current OS.
> 10:48:07 checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
> 10:48:07 checking if os constraints [Os family null name null version null arch x86 jre null ] match current OS
> 10:48:07 no match with current OS!
> 10:48:08 Custom langpack for eng available.
> 10:48:08 Initializing RulesEngine
> 10:48:08 RulesEngine.init()
> 10:48:08 Initializing builtin conditions for packs.
> 10:48:08 Pack.getCondition(): null for pack jbds-installer
> 10:48:08 Pack.getCondition(): null for pack jbds.update
> 10:48:08 Pack.getCondition(): null for pack jbds.generate
> 10:48:08 Pack.getCondition(): null for pack jbosseap
> 10:48:08 [ Starting automated installation ]
> 10:48:08 java.lang.NullPointerException
> 10:48:08 java.lang.NullPointerException
> 10:48:08 at com.jboss.devstudio.core.installer.PathInputPanelAutomationHelper.runAutomated(PathInputPanelAutomationHelper.java:48)
> 10:48:08 at com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:432)
> 10:48:08 at com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:388)
> 10:48:08 at com.izforge.izpack.installer.Installer.main(Unknown Source)
> 10:48:08 [ Automated installation FAILED! ]
> {code}
> Tested locally on dev01:
> {code} /qa/tools/opt/jdk1.8.0_last/bin/java -DTRACE=true -DSTREAM_NAME=10.0 -jar jboss-devstudio-10.0.0.Alpha1-v20150918-1953-B3976-installer-standalone.jar /tmp/jbds-10.0.0.Alpha1.install.xml
> TRACE enabled.
> checking if os constraints [Os family unix name null version null arch null jre null ] match current OS
> matched current OS.
> checking if os constraints [Os family windows name null version null arch null jre null ] match current OS
> checking if os constraints [Os family null name null version null arch x86 jre null ] match current OS
> no match with current OS!
> Custom langpack for eng available.
> Initializing RulesEngine
> RulesEngine.init()
> Initializing builtin conditions for packs.
> Pack.getCondition(): null for pack jbds-installer
> Pack.getCondition(): null for pack jbds.update
> Pack.getCondition(): null for pack jbds.generate
> Pack.getCondition(): null for pack jbosseap
> [ Starting automated installation ]
> java.lang.NullPointerException
> java.lang.NullPointerException
> at com.jboss.devstudio.core.installer.PathInputPanelAutomationHelper.runAutomated(PathInputPanelAutomationHelper.java:48)
> at com.izforge.izpack.installer.AutomatedInstaller.installPanel(AutomatedInstaller.java:432)
> at com.izforge.izpack.installer.AutomatedInstaller.doInstall(AutomatedInstaller.java:388)
> at com.izforge.izpack.installer.Installer.main(Unknown Source)
> [ Automated installation FAILED! ]
> {code}
> So, we might have to tweak the XML file - [^jbds-10.0.0.Alpha1.install.xml] as I suspect something is missing, or else maybe the OS detection is faulty.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
More information about the jbosstools-issues
mailing list