Details
Description
I get a NullPointerException when trying to build projects:
Caused by: java.lang.NullPointerException
at org.apache.maven.scm.provider.starteam.command.changelog.StarteamChangeLogCommand.executeChangeLogCommand(StarteamChangeLogCommand.java:57)
at org.apache.maven.scm.command.changelog.AbstractChangeLogCommand.executeCommand(AbstractChangeLogCommand.java:101)
at org.apache.maven.scm.command.update.AbstractUpdateCommand.executeCommand(AbstractUpdateCommand.java:75)
at org.apache.maven.scm.command.AbstractCommand.execute(AbstractCommand.java:58)
... 16 more
These same projects actually built OK several times, and now I'm getting this exception for all projects. This persists across restarts of continuum.
These projects also build OK on continuum 1.0.3
Issue Links
- depends upon
-
SCM-364
NPE in StarteamChangeLogCommand
-
Playing a bit more with this...I have found out some things which may help.
The project definition was set up to use the SCM credentials cache. When I disabled that option and re-entered my password, then the build started working.
So, this bug might need to be re-worked and split into two separate issues:
1) get a better error message than NullPointerException for whatever was wrong with the SCM credential cache (minor)
2) SCM credential cache not working. (this one)