SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-867

ArrayIndexOutOfBoundsException when running analysis

    Details

    • Number of attachments :
      0

      Description

      [u313846@btab20 surf]$ mvn -f sonar-web-pom.xml sonar:sonar
      [INFO] Scanning for projects...
      [INFO]
      [INFO] ------------------------------------------------------------------------
      [INFO] Building Surf Web 1.0
      [INFO] ------------------------------------------------------------------------
      [INFO]
      [INFO] — sonar-maven-plugin:2.0-beta-1:sonar (default-cli) @ surf-web —
      [INFO] Sonar version: 2.4.1
      [INFO] Database dialect class org.sonar.jpa.dialect.MySql
      [INFO] ------------- Analyzing Surf Web
      [INFO] Selected quality profile : [name=Default Web Profile,language=web]
      [INFO] Configure maven plugins...
      [INFO] Sensor AsynchronousMeasuresSensor...
      [INFO] Sensor AsynchronousMeasuresSensor done: 104 ms
      [INFO] Sensor WebSourceImporter...
      [INFO] Sensor WebSourceImporter done: 428 ms
      [INFO] Sensor CpdSensor...
      [INFO] Sensor CpdSensor done: 144 ms
      [INFO] Sensor ProfileSensor...
      [INFO] Sensor ProfileSensor done: 30 ms
      [INFO] Sensor ProjectLinksSensor...
      [INFO] Sensor ProjectLinksSensor done: 5 ms
      [INFO] Sensor VersionEventsSensor...
      [INFO] Sensor VersionEventsSensor done: 18 ms
      [INFO] Sensor Maven dependencies...
      [INFO] Sensor Maven dependencies done: 7 ms
      [INFO] Sensor WebSensor...
      [INFO] Loading checks for profile Default Web Profile
      [ERROR] Could not analyze the file /home/u313846/projects/surf/surf-webapp/surf-web-webapp/src/main/webapp/WEB-INF/jsp/maintainSamplingParametersPart.jsp
      java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.get(ArrayList.java:324) [na:1.6.0_20]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:193) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:155) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.PageLexer.nestedParse(PageLexer.java:69) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseNestedTag(ElementTokenizer.java:166) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:139) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.PageLexer.nestedParse(PageLexer.java:69) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseNestedTag(ElementTokenizer.java:166) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:139) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.PageLexer.nestedParse(PageLexer.java:69) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseNestedTag(ElementTokenizer.java:166) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:139) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:35) [na:na]
      at org.sonar.channel.ChannelDispatcher.consume(ChannelDispatcher.java:52) [sonar-channel-2.4.1.jar:na]
      at org.sonar.plugins.web.lex.PageLexer.parse(PageLexer.java:89) [na:na]
      at org.sonar.plugins.web.WebSensor.analyse(WebSensor.java:85) [na:na]
      at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProject(Batch.java:120) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProjects(Batch.java:83) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.execute(Batch.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.executeBatch(SonarMojo.java:136) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:127) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:89) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:134) [maven-embedder-3.0.1.jar:3.0.1]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_20]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_20]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_20]
      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [plexus-classworlds-2.4.jar:na]
      [ERROR] Could not analyze the file /home/u313846/projects/surf/surf-webapp/surf-web-webapp/src/main/webapp/WEB-INF/jsp/createReviews.jsp
      java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.get(ArrayList.java:324) [na:1.6.0_20]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:193) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:155) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:35) [na:na]
      at org.sonar.channel.ChannelDispatcher.consume(ChannelDispatcher.java:52) [sonar-channel-2.4.1.jar:na]
      at org.sonar.plugins.web.lex.PageLexer.parse(PageLexer.java:89) [na:na]
      at org.sonar.plugins.web.WebSensor.analyse(WebSensor.java:85) [na:na]
      at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProject(Batch.java:120) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProjects(Batch.java:83) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.execute(Batch.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.executeBatch(SonarMojo.java:136) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:127) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:89) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:134) [maven-embedder-3.0.1.jar:3.0.1]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_20]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_20]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_20]
      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [plexus-classworlds-2.4.jar:na]
      [ERROR] Could not analyze the file /home/u313846/projects/surf/surf-webapp/surf-web-webapp/src/main/webapp/WEB-INF/jsp/searchReviews.jsp
      java.lang.ArrayIndexOutOfBoundsException: -1
      at java.util.ArrayList.get(ArrayList.java:324) [na:1.6.0_20]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:193) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.parseToken(ElementTokenizer.java:155) [na:na]
      at org.sonar.plugins.web.lex.ElementTokenizer.addNode(ElementTokenizer.java:107) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:94) [na:na]
      at org.sonar.plugins.web.lex.AbstractTokenizer.consume(AbstractTokenizer.java:35) [na:na]
      at org.sonar.channel.ChannelDispatcher.consume(ChannelDispatcher.java:52) [sonar-channel-2.4.1.jar:na]
      at org.sonar.plugins.web.lex.PageLexer.parse(PageLexer.java:89) [na:na]
      at org.sonar.plugins.web.WebSensor.analyse(WebSensor.java:85) [na:na]
      at org.sonar.batch.SensorsExecutor.execute(SensorsExecutor.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.ProjectBatch.execute(ProjectBatch.java:59) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProject(Batch.java:120) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.analyzeProjects(Batch.java:83) [sonar-batch-2.4.1.jar:na]
      at org.sonar.batch.Batch.execute(Batch.java:58) [sonar-batch-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.executeBatch(SonarMojo.java:136) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.sonar.maven3.SonarMojo.execute(SonarMojo.java:127) [sonar-maven3-plugin-2.4.1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:113) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:89) [sonar-maven-plugin-2.0-beta-1.jar:na]
      at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:107) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:195) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:148) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:140) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:153) [maven-core-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.execute(MavenCli.java:451) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:188) [maven-embedder-3.0.1.jar:3.0.1]
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:134) [maven-embedder-3.0.1.jar:3.0.1]
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_20]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_20]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_20]
      at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_20]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409) [plexus-classworlds-2.4.jar:na]
      at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352) [plexus-classworlds-2.4.jar:na]
      [INFO] Sensor WebSensor done: 856 ms
      [INFO] Execute decorators...
      [INFO] ANALYSIS SUCCESSFUL, you can browse http://btab20.int.corp.sun:9000
      [INFO] Database optimization...
      [INFO] Deleting files data before Tue Dec 07 19:26:50 EST 2010
      [INFO] Deleting unprocessed data before Tue Dec 07 19:26:50 EST 2010
      [INFO] Database optimization done: 830 ms
      [INFO] ------------------------------------------------------------------------
      [INFO] BUILD SUCCESS
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 8.621s
      [INFO] Finished at: Wed Dec 08 07:26:51 EST 2010
      [INFO] Final Memory: 23M/613M
      [INFO] ------------------------------------------------------------------------
      [u313846@btab20 surf]$

      Here is the offending file:

      <%@ include file="/WEB-INF/jsp/include/taglibs.jspf" %>

      <script type="text/javascript">
      function validateForm() {
      var errStr = "";

      var errorBox = document.getElementById("errorBox");
      var riskAssessment = document.getElementById("riskAssessment").value;
      var samplePercentage = document.getElementById("samplePercentage").value;
      var minimumSampleSize = document.getElementById("minimumSampleSize").value;
      var maximumSampleSize = document.getElementById("maximumSampleSize").value;

      if (riskAssessment == "")

      { errStr += "<spring:message code="error.samplingParameters.riskAssessment.mandatory" /><br />"; }

      if (samplePercentage == "" || samplePercentage < 0 || samplePercentage > 100 || !isInteger(samplePercentage))

      { errStr += "<spring:message code="error.samplingParameters.invalidField" arguments="Review Sample Size %" /><br />"; }

      if (minimumSampleSize == "" || minimumSampleSize < 0 || !isInteger(minimumSampleSize))

      { errStr += "<spring:message code="error.samplingParameters.invalidField" arguments="Minimum Sample Size" /><br />"; }

      if (maximumSampleSize == "" || maximumSampleSize < 0 || !isInteger(maximumSampleSize))

      { errStr += "<spring:message code="error.samplingParameters.invalidField" arguments="Maximum Sample Size" /><br />"; }

      if (isInteger(minimumSampleSize) && isInteger(maximumSampleSize) && parseInt(maximumSampleSize) < parseInt(minimumSampleSize))

      { errStr += "<spring:message code="error.samplingParameters.invalidField" arguments="Minimum/Maximum Sample Size" /><br />"; }

      if (errStr != "")

      { jQuery('#samplingParametersError').html(errStr); jQuery("#errorBox").dialog('open'); return false; }

      return true;
      }

      function isInteger(val)
      {
      var i;

      if (val == null || val.length == 0)

      { return false; }

      for (i = 0; i < val.length; i++)
      {
      var c = val.charAt;
      if (!((c >= "0") && (c <= "9")))

      { return false; }

      }
      return true;
      }

      jQuery(document).ready(function($) {
      $('#errorBox').dialog({ autoOpen: false, bgiframe: true, resizable: false, modal: true, buttons: { "Ok": function() {$(this).dialog("close"); } } });
      });

      </script>

      <form:form id="samplingParametersForm" modelAttribute="command" onsubmit="return validateForm()" method="POST">
      <c:choose>
      <c:when test="$

      {command.hierarchy.hierarchyDepth != 2}

      ">
      <div id="depthError" align="center" style="font-style: italic; font-size: xx-small;">
      <spring:message code="maintainSamplingParameters.depth.error"/>
      </div>
      </c:when>
      <c:otherwise>
      <div style="padding-left: 10px;" id="breadcrumbs">$

      {command.hierarchy.path}

      </div>
      <br/>
      <table id="samplingParametersForHierarchy">
      <tr>
      <td width="40%"><spring:message code="maintainSamplingParameters.label.riskAssessment"/></td>
      <td>
      <form:select path="riskAssessment" id="riskAssessment">
      <form:option value=""><spring:message code="maintainSamplingParameters.select.defaultRisk"/></form:option>
      <form:options items="$

      {riskAssessments}

      " itemLabel="riskAssessment"/>
      </form:select>
      <form:hidden path="version" id="version"/>
      <form:hidden path="hierarchy" id="hierarchy"/>
      </td>
      </tr>
      <tr>
      <td><spring:message code="maintainSamplingParameters.label.samplePercentage"/></td>
      <td><form:input size="16" path="samplePercentage" id="samplePercentage" maxlength="3"/></td>
      </tr>
      <tr>
      <td><spring:message code="maintainSamplingParameters.label.minimumSampleSize"/></td>
      <td><form:input size="16" path="minimumSampleSize" id="minimumSampleSize"/></td>
      </tr>
      <tr>
      <td><spring:message code="maintainSamplingParameters.label.maximumSampleSize"/></td>
      <td><form:input size="16" path="maximumSampleSize" id="maximumSampleSize"/></td>
      </tr>
      <tr>
      <td colspan="2">
      <input type="submit" class="greenPositive" onmouseover="this.className='greenPositive greenHover'"
      onmouseout="this.className='greenPositive'" id="create"
      value="<spring:message code="maintainSamplingParameters.label.saveButton"/>"/>
      </td>
      </tr>
      </table>
      </c:otherwise>
      </c:choose>
      </form:form>

      <div id="errorBox" title="Errors">
      <div id="samplingParametersError"></div>
      </div>

        Activity

        Hide
        Matthijs Galesloot added a comment -

        The issue was caused by the <script> block that was not parsed correctly. This has been fixed in the parser by skipping the code in the script block. The parser skips the script block until a </script> end tag is found.

        Show
        Matthijs Galesloot added a comment - The issue was caused by the <script> block that was not parsed correctly. This has been fixed in the parser by skipping the code in the script block. The parser skips the script block until a </script> end tag is found.
        Hide
        Kevin Weisser added a comment -

        I'm still experiencing this issue on version 1.1

        Show
        Kevin Weisser added a comment - I'm still experiencing this issue on version 1.1

          People

          • Assignee:
            Matthijs Galesloot
            Reporter:
            Olivier Gaudin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: