It's all about the answers!

Ask a question

How JazzUserProperties modification are managed by build engine?


Michele Pegoraro (1.8k12112101) | asked Jul 19 '12, 5:22 a.m.
 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.

Comments
1
Nick Edgar commented Aug 31 '12, 3:25 p.m. | edited Aug 31 '12, 3:26 p.m.
JAZZ DEVELOPER

 If you haven't already, I suggest filing a work item for this.  It should not fail with an NPE.


Michele Pegoraro commented Sep 03 '12, 5:34 a.m.

Thank you Nick, I've opened defect 229850

One answer



permanent link
Michele Pegoraro (1.8k12112101) | answered Aug 29 '12, 8:03 a.m.
edited Aug 29 '12, 8:03 a.m.
 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
1
Kevin Doyle commented Sep 04 '12, 10:57 a.m.
JAZZ DEVELOPER

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 )


Michele Pegoraro commented Sep 17 '12, 4:40 a.m.

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.

Your answer


Register or to post your answer.