I've dumbed it down even more.

Current (working): 
https://github.com/jenkinsci/zap-plugin/blob/development/src/main/resources/org/jenkinsci/plugins/zap/ZAPDriver/config.jelly#L252-L255

<f:entry title="${%Title}" field="exportreportTitle">
  <f:textbox />
</f:entry>

What i want though, is the following:

<f:entry>
  <table width="100%">
    <tr>
      <td>${%Title}</td>
      <td><f:textbox field="exportreportTitle"/></td>
    </tr>
  </table>
</f:entry>

The reason is that i want multiple rows/cols like in the picture above. Yet 
when i made this SIMPLE change, i get the following error:


The data bound constructor: 
https://github.com/jenkinsci/zap-plugin/blob/development/src/main/resources/org/jenkinsci/plugins/zap/ZAPDriver/config.jelly#L252-L255

Full project: https://github.com/jenkinsci/zap-plugin/

If anyone can spare 10-15minutes to take a look, maybe you'll see what i 
missed. Thanks.


java.lang.NullPointerException
        at org.jenkinsci.plugins.zap.ZAPBuilder.<init>(ZAPBuilder.java:94)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at 
org.kohsuke.stapler.RequestImpl.invokeConstructor(RequestImpl.java:529)
        at org.kohsuke.stapler.RequestImpl.instantiate(RequestImpl.java:783)
        at org.kohsuke.stapler.RequestImpl.access$200(RequestImpl.java:83)
        at 
org.kohsuke.stapler.RequestImpl$TypePair.convertJSON(RequestImpl.java:678)
        at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:478)
        at org.kohsuke.stapler.RequestImpl.bindJSON(RequestImpl.java:474)
        at hudson.model.Descriptor.newInstance(Descriptor.java:591)

Caused: java.lang.Error: Failed to instantiate class org.jenkinsci.plugins.
zap.ZAPBuilder from {"zapHost":"127.0.0.1","zapPort":"9090","startZAPFirst":
false,"jdk":"InheritFromJob","autoInstall":"true","toolUsed":"","zapHome":
"ZAPROXY_HOME","timeout":"60","zapSettingsDir":"","autoLoadSession":"true",
"loadSession":"","sessionFilename":"","removeExternalSites":false,
"internalSites":"","contextName":"","includedURL":"","excludedURL":"",
"authMode":false,"username":"gsarenka","password":"[H'6u&Ma",
"loggedInIndicator":"","authMethod":"FORM_BASED","loginURL":"",
"usernameParameter":"","passwordParameter":"","extraPostData":"",
"authScript":"","targetURL":"","spiderScanURL":false,"spiderScanRecurse":
true,"spiderScanSubtreeOnly":false,"spiderScanMaxChildrenToCrawl":"0",
"ajaxSpiderURL":false,"ajaxSpiderInScopeOnly":false,"activeScanURL":false,
"activeScanPolicy":"","activeScanRecurse":true,"generateReports":false,
"deleteReports":false,"reportFilename":"JENKINS_ZAP_VULNERABILITY_REPORT",
"selectedReportMethod":"DEFAULT_REPORT","selectedReportFormats":[],
"selectedExportFormats":[],"exportreportTitle":"","exportreportBy":"",
"exportreportFor":"","exportreportScanDate":"","exportreportReportDate":"",
"exportreportScanVersion":"","exportreportReportVersion":"",
"exportreportReportDescription":"","exportreportAlertHigh":true,
"exportreportAlertMedium":true,"exportreportAlertLow":true,
"exportreportAlertInformational":true,"exportreportCWEID":true,
"exportreportWASCID":true,"exportreportDescription":true,
"exportreportOtherInfo":true,"exportreportSolution":true,
"exportreportReference":true,"exportreportRequestHeader":false,
"exportreportResponseHeader":false,"exportreportRequestBody":false,
"exportreportResponseBody":false,"jiraCreate":false,"jiraProjectKey":"",
"jiraAssignee":"","jiraAlertHigh":false,"jiraAlertMedium":false,
"jiraAlertLow":false,"jiraFilterIssuesByResourceType":false,"stapler-class":
"org.jenkinsci.plugins.zap.ZAPBuilder","$class":
"org.jenkinsci.plugins.zap.ZAPBuilder"}





-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/59a872a8-11af-4a8b-a028-21c08d3c878a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to