Skip to content

Instantly share code, notes, and snippets.

@hakandilek
Created January 21, 2014 23:23
Show Gist options
  • Save hakandilek/8550617 to your computer and use it in GitHub Desktop.
Save hakandilek/8550617 to your computer and use it in GitHub Desktop.
javax.imageio.IIOException: Can't create cache file!
at javax.imageio.ImageIO.createImageInputStream(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at controllers.HttpUtils.uploadFileFromUrl(HttpUtils.java:125)
at controllers.DealController.createOnlineDeal(DealController.java:164)
at controllers.App.dealOnlineCreate(App.java:199)
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$38$$anonfun$apply$112.apply(routes_routing.scala:1021)
at Routes$$anonfun$routes$1$$anonfun$applyOrElse$38$$anonfun$apply$112.apply(routes_routing.scala:1021)
at play.core.Router$HandlerInvoker$$anon$6$$anon$2.invocation(Router.scala:193)
at play.core.Router$Routes$$anon$1.invocation(Router.scala:373)
at play.core.j.JavaAction$$anon$1.call(JavaAction.scala:50)
at play.GlobalSettings$1.call(GlobalSettings.java:63)
at security.RestrictApprovedAction.applyRestriction(RestrictApprovedAction.java:22)
at be.objectify.deadbolt.java.actions.AbstractRestrictiveAction.execute(AbstractRestrictiveAction.java:44)
at be.objectify.deadbolt.java.actions.AbstractDeadboltAction.call(AbstractDeadboltAction.java:99)
at security.AuthenticatedAction.call(AuthenticatedAction.java:25)
at play.core.j.JavaAction$$anon$2.apply(JavaAction.scala:80)
at play.core.j.JavaAction$$anon$2.apply(JavaAction.scala:79)
at play.libs.F$Promise$PromiseActor.onReceive(F.java:425)
at akka.actor.UntypedActor$$anonfun$receive$1.applyOrElse(UntypedActor.scala:159)
at akka.actor.ActorCell.receiveMessage(ActorCell.scala:425)
at akka.actor.ActorCell.invoke(ActorCell.scala:386)
at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:230)
at akka.dispatch.Mailbox.run(Mailbox.scala:212)
at akka.dispatch.ForkJoinExecutorConfigurator$MailboxExecutionTask.exec(AbstractDispatcher.scala:502)
at scala.concurrent.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:262)
at scala.concurrent.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:975)
at scala.concurrent.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1478)
at scala.concurrent.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
Caused by: java.nio.file.NoSuchFileException: /var/vcap.local/dea/apps/kiyakfiyat-0-dc52e251697c4743e30dfef0ebd21227/app/tmp/imageio2597197254183231254.tmp
at sun.nio.fs.UnixException.translateToIOException(Unknown Source)
at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.UnixException.rethrowAsIOException(Unknown Source)
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(Unknown Source)
at java.nio.file.Files.newByteChannel(Unknown Source)
at java.nio.file.Files.createFile(Unknown Source)
at java.nio.file.TempFileHelper.create(Unknown Source)
at java.nio.file.TempFileHelper.createTempFile(Unknown Source)
at java.nio.file.Files.createTempFile(Unknown Source)
at javax.imageio.stream.FileCacheImageInputStream.<init>(Unknown Source)
at com.sun.imageio.spi.InputStreamImageInputStreamSpi.createInputStreamInstance(Unknown Source)
... 28 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment