Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1053632

Summary: No repository is added to the settings.xml (NPE in MavenSettingsTransformer)
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Pavol Srna <psrna>
Component: InstallerAssignee: Thomas Hauser <thauser>
Status: CLOSED CURRENTRELEASE QA Contact: Pavol Srna <psrna>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0 GACC: atangrin, dlesage, jsedlace, psrna, soa-p-jira
Target Milestone: CR2Keywords: Regression
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
No repository is added to the settings.xml configuration file. As a result of this, a NullPointerException is recorded in the installation log.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-06 15:25:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
settings.xml
none
InstallationLog.txt none

Description Pavol Srna 2014-01-15 14:28:14 UTC
Description of problem:

No repository is added to the original settings.xml file. And there is a NullPointerException in the Installation log.


java.lang.NullPointerException
 154         at com.redhat.installer.settings.MavenSettingsTransformer.findMissingUrls(MavenSettingsTransformer.java:571)
 155         at com.redhat.installer.settings.MavenSettingsTransformer.readAndModifySettingsXml(MavenSettingsTransformer.java:120)
 156         at com.redhat.installer.settings.MavenSettingsTransformer.run(MavenSettingsTransformer.java:83)
 157         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 158         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 159         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 160         at java.lang.reflect.Method.invoke(Method.java:606)
 161         at com.izforge.izpack.installer.ProcessPanelWorker$ExecutableClass.run(ProcessPanelWorker.java:765)
 162         at com.izforge.izpack.installer.ProcessPanelWorker$ProcessingJob.run(ProcessPanelWorker.java:516)
 163         at com.izforge.izpack.installer.ProcessPanelWorker.runJob(ProcessPanelWorker.java:462)
 164         at com.izforge.izpack.installer.ProcessPanelWorker.run(ProcessPanelWorker.java:388)
 165         at java.lang.Thread.run(Thread.java:744)




How reproducible:
100% with the attached settings.xml file.

Steps to Reproduce:
1. replace your settings.xml with the attached one
2. run the installer

Comment 1 Pavol Srna 2014-01-15 14:29:32 UTC
Created attachment 850538 [details]
settings.xml

Comment 2 Pavol Srna 2014-01-15 14:30:20 UTC
Created attachment 850539 [details]
InstallationLog.txt

Comment 4 Thomas Hauser 2014-01-15 17:40:39 UTC
This is fixed for CR2.

Comment 5 Pavol Srna 2014-01-24 12:03:09 UTC
Verified in CR2.