-
Bug
-
Resolution: Fixed
-
Major
-
None
When the jenkins user does not have enough privilege to create a file on the local filesystem the plugin would throw this exception:
FATAL: null
java.lang.ExceptionInInitializerError
at net.praqma.prqa.PRQACommandLineUtility.<clinit>(PRQACommandLineUtility.java:21)
at net.praqma.prqa.products.QAR.execute(QAR.java:48)
at net.praqma.prqa.reports.PRQAComplianceReport.completeTask(PRQAComplianceReport.java:40)
at net.praqma.prqa.reports.PRQAComplianceReport.completeTask(PRQAComplianceReport.java:57)
at net.praqma.jenkins.plugin.prqa.PRQARemoteComplianceReport.invoke(PRQARemoteComplianceReport.java:26)
at net.praqma.jenkins.plugin.prqa.PRQARemoteComplianceReport.invoke(PRQARemoteComplianceReport.java:15)
at hudson.FilePath.act(FilePath.java:842)
at hudson.FilePath.act(FilePath.java:824)
at net.praqma.jenkins.plugin.prqa.notifier.PRQANotifier.perform(PRQANotifier.java:207)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:717)
at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:692)
at hudson.model.Build$BuildExecution.post2(Build.java:183)
at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:639)
at hudson.model.Run.execute(Run.java:1513)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: net.praqma.util.execute.CouldNotCreateLoggerException: Failed to create logger for file: C:\Windows\system32\logger_20120814.log
at net.praqma.util.debug.Logger.initialize(Logger.java:135)
at net.praqma.util.debug.Logger.log(Logger.java:336)
at net.praqma.util.debug.Logger.debug(Logger.java:200)
at net.praqma.util.execute.CommandLine.<init>(CommandLine.java:37)
at net.praqma.util.execute.CommandLine.<clinit>(CommandLine.java:20)
... 18 more