It's all about the answers!

Ask a question

Jazz Build Engine fails in printToBuildLog and crashes when receiving build request

Frederic Mora (13811518) | asked Jul 03 '13, 3:44 p.m.
We upgraded from RTC 3 to RTC 4 a few months ago. Today, we took a machine formerly configured as an RTC3 Jazz Build Engine and installed the RTC  4 build system toolkit on it.

When started, the build engine comes up and shows up in the RTC build engine list. However, when we submit a build request to this engine, the JBE java process crashes with the following exception in its log:

Exception in thread "Thread-7" java.lang.NullPointerException at at at at at$ at

This is a new one, apparently nobody saw that failure before.
Developers, any idea?

One answer

permanent link
Frederic Mora (13811518) | answered Jul 03 '13, 4:51 p.m.
I found the problem. It turns out that since we migrated from RTC 3, the previous version of the JBE used to run on this machine. This JBE v3 left behind a .metadata directory in the location specified by the -data JBE option.

Obviously, JBE v4 found it and promptly crashed.

Solution: remove the .metadata directory and start JBE again.

This is NOT an expected or acceptable behavior. Updating RTC 3 to RTC 4 is both supported and recommended, so why does the JBE upgrade have this kind of pitfalls?

1.  Put out a technote with the exception quoted so search engines can find the technote by looking up the exception text, explaining what precautions to take when migrating JBE
2. Supply a jbe-migration-checker program to run as part of the migration. The program will verify that the old metadata dir has been removed, and whatever other pitfall checks are required.

Heather Fraser-Dube commented Jul 04 '13, 9:40 a.m.

Which release did you upgrade to? 4.0 ifix1 4.0.1? a different release?

Frederic Mora commented Jul 04 '13, 2:01 p.m.

Our version is 4.0.1.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.