CLIF Performance Testing / 1.0.1

      1. Visit /clif/
      2. Don't provide a file
      3. Click import
      java.io.IOException: No zip file specified
      	at org.ow2.clif.jenkins.jobs.Zip.basedir(Zip.java:114)
      	at org.ow2.clif.jenkins.PreviewZipAction.diff(PreviewZipAction.java:90)
      	at org.ow2.clif.jenkins.PreviewZipAction.process(PreviewZipAction.java:177)
      	at org.ow2.clif.jenkins.ImportZipAction.doImport(ImportZipAction.java:60)
      	at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
      	at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
      	at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
      ...

          [JENKINS-56356] clif doesn't handle no jar gracefully

          Bruno Dillenseger added a comment - - edited

          This occurs when you forget to select a file in the "Import Clif archive" option.
          It may also occur when you first select a file and Jenkins' auto-refresh is activated: if auto-refresh actually happens, then the file selection is cleared and the same exception is thrown.

          This is really not graceful indeed, but the work-around is simple: just go back to the previous page in your browser and select a file. Also consider deactivating auto-refresh.

          Bruno Dillenseger added a comment - - edited This occurs when you forget to select a file in the "Import Clif archive" option. It may also occur when you first select a file and Jenkins' auto-refresh is activated: if auto-refresh actually happens, then the file selection is cleared and the same exception is thrown. This is really not graceful indeed, but the work-around is simple: just go back to the previous page in your browser and select a file. Also consider deactivating auto-refresh.

            dillense Bruno Dillenseger
            jsoref Josh Soref
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: