java.lang.NullPointerException{{ at org.jenkins.plugins.audit2db.internal.DbAuditPublisherImpl.perform(DbAuditPublisherImpl.java:110)}}{{ at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)}}{{ at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779)}}{{ at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)}}{{ at hudson.model.Build$BuildExecution.cleanUp(Build.java:195)}}{{ at hudson.model.Run.execute(Run.java:1788)}}{{ at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)}}{{ at hudson.model.ResourceController.execute(ResourceController.java:98)}}{{ at hudson.model.Executor.run(Executor.java:410)}}
Oleg Nenashev
added a comment - It is "just" a missing check in the plugin: https://github.com/jenkinsci/audit2db-plugin/blob/master/src/main/java/org/jenkins/plugins/audit2db/internal/DbAuditPublisherImpl.java#L108-L110 . getBuildDetailsForBuild(build) may return null according to Javadoc. And it's not checked
Thanks for quick response but my issue Issue was occurred because of ORA-01400: cannot insert NULL into ("XXXX"."JENKINS_BUILD_NODE"."NAME")
Narsing Ingle
added a comment - Thanks for quick response but my issue Issue was occurred because of ORA-01400: cannot insert NULL into ("XXXX"."JENKINS_BUILD_NODE"."NAME")
Unassigned
Narsing Ingle
Votes:
0Vote for this issue
Watchers:
2Start watching this issue
Created:
Updated:
{"errorMessages":["jqlTooComplex"],"errors":{}}
[{"id":-1,"name":"My open issues","jql":"assignee = currentUser() AND resolution = Unresolved order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-2,"name":"Reported by me","jql":"reporter = currentUser() order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":true},{"id":-4,"name":"All issues","jql":"order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-5,"name":"Open issues","jql":"resolution = Unresolved order by priority DESC,updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-9,"name":"Done issues","jql":"statusCategory = Done order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-3,"name":"Viewed recently","jql":"issuekey in issueHistory() order by lastViewed DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-6,"name":"Created recently","jql":"created >= -1w order by created DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-7,"name":"Resolved recently","jql":"resolutiondate >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false},{"id":-8,"name":"Updated recently","jql":"updated >= -1w order by updated DESC","isSystem":true,"sharePermissions":[],"requiresLogin":false}]
It is "just" a missing check in the plugin: https://github.com/jenkinsci/audit2db-plugin/blob/master/src/main/java/org/jenkins/plugins/audit2db/internal/DbAuditPublisherImpl.java#L108-L110. getBuildDetailsForBuild(build) may return null according to Javadoc. And it's not checked