java.lang.IllegalArgumentException: [SHRINKWRAP-93] Cannot use this JDK-based implementation to export as ZIP an archive with no content: e069cc47-c83d-4f74-bea1-3173b69b31d9.war: 0 assets

Google Groups | Ian | 2 months ago
  1. 0

    Logging won't work even with swarm.io generator example

    Google Groups | 2 months ago | Ian
    java.lang.IllegalArgumentException: [SHRINKWRAP-93] Cannot use this JDK-based implementation to export as ZIP an archive with no content: e069cc47-c83d-4f74-bea1-3173b69b31d9.war: 0 assets
  2. 0

    Unittest problem

    Google Groups | 3 months ago | PCB
    java.lang.reflect.InvocationTargetException
  3. 0

    Bug when exporting ECH, DTA and SEQ

    GitHub | 3 weeks ago | nomont
    java.lang.IllegalArgumentException: [SHRINKWRAP-93] Cannot use this JDK-based implementation to export as ZIP an archive with no content: ed069f97-cbad-4124-a882-485d54c13147.jar: 0 assets
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    deployed WAR file to tomcat: **java.lang.IllegalArgumentException: No implementation of method: :on-close of protocol: #'org.httpkit.server/Channel found for class: nil

    GitHub | 10 months ago | shaulid
    java.lang.IllegalArgumentException: No implementation of method: :on-close of protocol: #'org.httpkit.server/Channel found for class: nil ** I am using http-kit with sente. I am deploying a WAR file to openshift tomcat cartridge, which I created using lein-ring: using the command: lein uberwar. I copy it to /webapps dir as ROOT.war and the WAR file is loaded OK and my webapp is loaded OK. The exception occurs at this line: (GET "/chsk" req (ring-ajax-get-or-ws-handshake req)) - as in the Sente examples. The exception does NOT happen when I don't use a WAR file and just run it locally using: lein run The line at sente.clj where the exception occurs:
  6. 0

    GitHub comment 730#235647981

    GitHub | 4 months ago | Anishohri
    java.lang.IllegalArgumentException: Don't know how to encode {"file": "Users/Downloads/Testing_file_automation.zip" } as a byte stream. Please use EncoderConfig (EncoderConfig#encodeContentTypeAs) to specify how to serialize data for this content-type. For example: "given().config(RestAssured.config().encoderConfig(encoderConfig().encodeContentTypeAs("application/zip", ContentType.TEXT))). .."

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      [SHRINKWRAP-93] Cannot use this JDK-based implementation to export as ZIP an archive with no content: e069cc47-c83d-4f74-bea1-3173b69b31d9.war: 0 assets

      at org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterDelegate.<init>()
    2. ShrinkWrap Implementation Base
      ZipExporterImpl.exportAsInputStream
      1. org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterDelegate.<init>(ZipExporterDelegate.java:46)
      2. org.jboss.shrinkwrap.impl.base.exporter.zip.ZipExporterImpl.exportAsInputStream(ZipExporterImpl.java:48)
      2 frames
    3. org.wildfly.swarm
      Swarm.main
      1. org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:165)
      2. org.wildfly.swarm.container.runtime.RuntimeDeployer.deploy(RuntimeDeployer.java:77)
      3. org.wildfly.swarm.Swarm.deploy(Swarm.java:374)
      4. org.wildfly.swarm.Swarm.main(Swarm.java:498)
      4 frames