Skip to content

Minimal setup to reproduce a failing file upload in vertx

Notifications You must be signed in to change notification settings

cburnicki/vertx-file-upload-test

Repository files navigation

Reproduce ClassCastException during file upload:

Execute codegen.sh and have a look at the wrong cast to class File in app/src/main/java/test/fileupload/PetApiVerticle.java. This refers to the (fixed?) bug in phiz71/vertx-swagger#93

Reproduce the vertx NPE during fileUpload

Minimal setup to reproduce a failing file upload in vertx

  • Run gradle task run to deploy the verticle
  • Execute ./upload.sh

--> NPE thrown in BodyHandlerImpl (@ context.vertx().fileSystem() since context.vertx() returns null)

PROBLEM SOLVED: https://stackoverflow.com/questions/48805529/routingcontext-vertx-is-null-in-vertxs-bodyhandler-nullpointerexception-duri

About

Minimal setup to reproduce a failing file upload in vertx

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published