|
Greg Moncreaff created JENKINS-12861:
---------------------------------------- Summary: klocwork - update to recognize 9.5.x xml schema Key: JENKINS-12861 URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 Project: Jenkins Issue Type: Improvement Components: klocwork Affects Versions: current Environment: rhel 5.5 Reporter: Greg Moncreaff Assignee: gbois schema changed. current plugin can digest <errorList version="9.2.2"> ... <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> but new owner field appears in 9.5 <errorList version="9.5.2"> <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> that causes publisher to be less than graceful: 22:08:53 Processing 2 files with the pattern 'kw*.xml'. 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
[ https://issues.jenkins-ci.org/browse/JENKINS-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159442#comment-159442 ] Greg Moncreaff commented on JENKINS-12861: ------------------------------------------ This brute force sed script seems to help ${KWS}/kwinspectreport --build build_${BUILD} --url ${KWDB}/${PROJECT} -xml ${FILE}.raw # try and filter out some of the 9.5.x new tags that make the Jenkins publisher unhappy cat ${FILE}.raw | egrep -v "(<trace|<taxonom|<.taxonomies|<.trace|<owner)" > ${FILE} > klocwork - update to recognize 9.5.x xml schema > ----------------------------------------------- > > Key: JENKINS-12861 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 > Project: Jenkins > Issue Type: Improvement > Components: klocwork > Affects Versions: current > Environment: rhel 5.5 > Reporter: Greg Moncreaff > Assignee: gbois > > schema changed. current plugin can digest > <errorList version="9.2.2"> > ... > <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> > but new owner field appears in 9.5 > <errorList version="9.5.2"> > <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> > that causes publisher to be less than graceful: > 22:08:53 Processing 2 files with the pattern 'kw*.xml'. > 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : > 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159962#comment-159962 ] Krzysztof Malinowski commented on JENKINS-12861: ------------------------------------------------ Info for maintainer: current output is: {code:xml|title=kwreport.xml} <?xml version="1.0" encoding="UTF-8"?> <errorList xmlns="http://www.klocwork.com/inForce/report/1.0" version="9.5.2"> <problem> <problemID>1</problemID> <file>/path/to/hello.c</file> <method>main</method> <line>8</line> <column>5</column> <code>UNINIT.STACK.MUST</code> <message>'p' is used uninitialized in this function.</message> <anchor>112</anchor> <prefix>ain(intargc,char*argv[]){char*p;</prefix> <postfix>return0;}</postfix> <trace> <traceBlock file="/path/to/hello.c" method="main" id="0"> <traceLine line="7" text="'p' is declared" type="E"/> <traceLine line="8" text="'p' is used, but is uninitialized." type="E"/> </traceBlock> </trace> <citingStatus>Analyze</citingStatus> <state>New</state> <owner>unowned</owner> <severity>Critical</severity> <severitylevel>1</severitylevel> <displayAs>Error</displayAs> <taxonomies> <taxonomy name="C and C++" metaInf=""/> </taxonomies> <dateOriginated>1331140856962</dateOriginated> <url>http://klocworkserver:8074/review/insight-review.html#goto:project=test,pid=1</url> </problem> </errorList> {code} > klocwork - update to recognize 9.5.x xml schema > ----------------------------------------------- > > Key: JENKINS-12861 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 > Project: Jenkins > Issue Type: Improvement > Components: klocwork > Affects Versions: current > Environment: rhel 5.5 > Reporter: Greg Moncreaff > Assignee: gbois > > schema changed. current plugin can digest > <errorList version="9.2.2"> > ... > <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> > but new owner field appears in 9.5 > <errorList version="9.5.2"> > <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> > that causes publisher to be less than graceful: > 22:08:53 Processing 2 files with the pattern 'kw*.xml'. > 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : > 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159971#comment-159971 ] Greg Moncreaff commented on JENKINS-12861: ------------------------------------------ Also, is there any way the KW issues data grid can include the URL to the issue on the KW project server as some form of shortcut, so they full highlighting and trace can be accessed there in? > klocwork - update to recognize 9.5.x xml schema > ----------------------------------------------- > > Key: JENKINS-12861 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 > Project: Jenkins > Issue Type: Improvement > Components: klocwork > Affects Versions: current > Environment: rhel 5.5 > Reporter: Greg Moncreaff > Assignee: gbois > > schema changed. current plugin can digest > <errorList version="9.2.2"> > ... > <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> > but new owner field appears in 9.5 > <errorList version="9.5.2"> > <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> > that causes publisher to be less than graceful: > 22:08:53 Processing 2 files with the pattern 'kw*.xml'. > 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : > 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=159976#comment-159976 ] gbois commented on JENKINS-12861: --------------------------------- Would you like a release? > klocwork - update to recognize 9.5.x xml schema > ----------------------------------------------- > > Key: JENKINS-12861 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 > Project: Jenkins > Issue Type: Improvement > Components: klocwork > Affects Versions: current > Environment: rhel 5.5 > Reporter: Greg Moncreaff > Assignee: gbois > > schema changed. current plugin can digest > <errorList version="9.2.2"> > ... > <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> > but new owner field appears in 9.5 > <errorList version="9.5.2"> > <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> > that causes publisher to be less than graceful: > 22:08:53 Processing 2 files with the pattern 'kw*.xml'. > 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : > 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
[ https://issues.jenkins-ci.org/browse/JENKINS-12861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160022#comment-160022 ] Greg Moncreaff commented on JENKINS-12861: ------------------------------------------ I think yes? > klocwork - update to recognize 9.5.x xml schema > ----------------------------------------------- > > Key: JENKINS-12861 > URL: https://issues.jenkins-ci.org/browse/JENKINS-12861 > Project: Jenkins > Issue Type: Improvement > Components: klocwork > Affects Versions: current > Environment: rhel 5.5 > Reporter: Greg Moncreaff > Assignee: gbois > > schema changed. current plugin can digest > <errorList version="9.2.2"> > ... > <citingStatus>Analyze</citingStatus><state>Existing</state><severity>Error</severity><severitylevel>3</severitylevel><displayAs>Error</displayAs><dateOriginated>1327694645000</dateOriginated> > but new owner field appears in 9.5 > <errorList version="9.5.2"> > <citingStatus>Analyze</citingStatus><state>New</state><owner>unowned</owner><severity>Critical</severity><severitylevel>1</severitylevel><displayAs>Error</displayAs> > that causes publisher to be less than graceful: > 22:08:53 Processing 2 files with the pattern 'kw*.xml'. > 22:08:53 Parsing has been canceled. XML Validation failed. See errors below : > 22:08:53 At line 47 of file:/view/mafi_int_kw/vobs/csci33/csc11/kw.xml:cvc-complex-type.2.4.a: Invalid content was found starting with element 'owner'. One of '{"http://www.klocwork.com/inForce/report/1.0":severity, "http://www.klocwork.com/inForce/report/1.0":severitylevel, "http://www.klocwork.com/inForce/report/1.0":displayAs, "http://www.klocwork.com/inForce/report/1.0":dateOriginated, "http://www.klocwork.com/inForce/report/1.0":url, "http://www.klocwork.com/inForce/report/1.0":comment, "http://www.klocwork.com/inForce/report/1.0":history, "http://www.klocwork.com/inForce/report/1.0":lastCommitter, "http://www.klocwork.com/inForce/report/1.0":dateFixed, "http://www.klocwork.com/inForce/report/1.0":category, "http://www.klocwork.com/inForce/report/1.0":lastCommit}' is expected. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
|
In reply to this post by JIRA noreply@jenkins-ci.org
|
|||||||||||
| Powered by Nabble | Edit this page |

Well, I'd like a release for sure
I'm using plugin 1.10 with KW 9.5.3 and the following stack trace appears (see below). Is it perhaps this issue?
ERROR: Publisher com.thalesgroup.hudson.plugins.klocwork.KloPublisher aborted due to exception
java.lang.NullPointerException
at com.thalesgroup.hudson.plugins.klocwork.KloPublisher.perform(KloPublisher.java:101)
at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
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:1527)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
[xUnit] [INFO] - Starting to record.