How JazzUserProperties modification are managed by build engine?
Hi,
I've a problem in some RTC builds because of JazzUserProperties. When I modify or add a property to an element (iProject) I've obtain this error when a build is started on that repository workspace:
2012-07-19 11:14:18 [motore di build Jazz]
2012-07-19 11:14:18 [motore di build Jazz] in esecuzione sull'host: neostest.neosbanca.com
2012-07-19 11:14:18 [motore di build Jazz] Eseguire la build?
2012-07-19 11:14:18 [motore di build Jazz] Sì: effettuare sempre la build di una richiesta avviata dall'utente.
2012-07-19 11:14:19 [motore di build Jazz] Richiamo del partecipante alla pre-build "com.ibm.teami.build.jazzscm" in corso
2012-07-19 11:14:19 [Partecipante alla build di controllo origine IBM i Jazz] CRCQP3502I: Accettazione modifiche nello spazio di lavoro "testStream_WS" ...
2012-07-19 11:14:20 [Partecipante alla build di controllo origine IBM i Jazz] CRCQP3503I: Serie di modifiche accettate: 1. Serie di modifiche eliminate: 0. Componenti aggiunti: 0. Componenti rimossi: 0.
2012-07-19 11:14:20 [Partecipante alla build di controllo origine IBM i Jazz] CRCQP3537I: I comandi sono assegnati per l'esecuzione nel lavoro "967002/QUSER/QZRCSRVS" nell'host "neostest.neosbanca.com".
2012-07-19 11:14:20 [Agent file system IBM i] CRCQP5101I: Elaborazione della modifica di tipo MODIFY
2012-07-19 11:14:20 [Partecipante alla build di controllo origine IBM i Jazz] CRCQP3515E: Si è verificato il seguente errore durante il caricamento di risorse utente dallo spazio di lavoro repository:
.
com.ibm.teami.build.internal.scm.IBMISourceControlUtility$1: Status ERROR: com.ibm.teami.filesystem.client code=3 java.lang.NullPointerException
at com.ibm.teami.build.internal.scm.IBMISourceControlUtility.updateFileCopyArea(IBMISourceControlUtility.java:98)
at com.ibm.teami.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:173)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:844)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:650)
at java.lang.Thread.run(Thread.java:811)
Caused by: java.lang.NullPointerException
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.isMember(LoadICmd.java:1181)
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.isMember(LoadICmd.java:1175)
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.loadWorkspace(LoadICmd.java:201)
at com.ibm.teami.filesystem.client.internal.operations.LoadIOperation.run(LoadIOperation.java:128)
at com.ibm.teami.build.internal.scm.IBMISourceControlUtility.updateFileCopyArea(IBMISourceControlUtility.java:92)
... 4 more
com.ibm.teami.build.internal.scm.IBMISourceControlUtility$1[3]: java.lang.NullPointerException
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.isMember(LoadICmd.java:1181)
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.isMember(LoadICmd.java:1175)
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.loadWorkspace(LoadICmd.java:201)
at com.ibm.teami.filesystem.client.internal.operations.LoadIOperation.run(LoadIOperation.java:128)
at com.ibm.teami.build.internal.scm.IBMISourceControlUtility.updateFileCopyArea(IBMISourceControlUtility.java:92)
at com.ibm.teami.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:173)
at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:844)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:650)
at java.lang.Thread.run(Thread.java:811)
Do you know how avoid this behaviour?
I'm running in RTC 3.0.1 with an iCommand build definition.
Thanks,
Michele.
One answer
I've got something similar if I add a .jazzignore file:
2012-08-27 17:11:03 [Agent file system IBM i] CRCQP5100I: Esecuzione del comando CHGPFM FILE(RTC0051201/QTPSRC) MBR() TEXT('') SRCTYPE(jazzignore)
2012-08-27 17:11:03 [Agent file system IBM i] È necessario il parametro MBR.
2012-08-27 17:11:03 [Agent file system IBM i] Nel comando CHGPFM è stato trovato un errore.
com.ibm.team.filesystem.client.FileSystemStatusException: Status ERROR: com.ibm.teami.filesystem.client code=76 CRCQP5010E: Non è stato possibile aggiungere o modificare il membro "RTC0051201/QTPSRC()" null
at com.ibm.teami.filesystem.client.internal.operations.LoadICmd.createFailureException(LoadICmd.java:3894)
It seems that build engine try to push .jazzignore as an iSeries member...
Any suggestion?
Thanks,
Michele.
Comments
Issues with the .jazzignore file have been fixed in 3.0.1.3. See Defect 190494: RTC ON IBM I 3.0.1 DOES NOT SUPPORT .JAZZIGNORE ( https://jazz.net/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/190494 )
1 vote
Thank you Kevin, I'm not shure this is the same problem (we don't want to use jazzignore in order to not load something, but in client side in order to not check-in them) but we are plainning to update to the last maintenance version. I've find out that this specific problem (the iSeries that try to load .jazzignore file) has been resolved after we've restarted the build engine.
Comments
Nick Edgar
JAZZ DEVELOPER Aug 31 '12, 3:26 p.m.If you haven't already, I suggest filing a work item for this. It should not fail with an NPE.
1 vote
Michele Pegoraro
Sep 03 '12, 5:34 a.m.Thank you Nick, I've opened defect 229850