[2.1.0] "The device is not ready"

863 views
Skip to first unread message

Chris Chike

unread,
Jul 18, 2013, 4:12:41 PM7/18/13
to play-fr...@googlegroups.com
I opened up an existing project, but when I tried to run it on my localhost, I kept getting this error (pictured below). However, there is someone else who is running this project just fine. We are both using JDK 1.6.0_41 and Play 2.1.0. The only difference between our setups seems to be that his computer is 64-bit, while my computer is 32-bit. Does anyone know the circumstances in which this error comes up? We are completely stumped, so any push in the right direction would be greatly appreciated. Thanks!

-Chris

Unexpected exception

IOException: The device is not ready

No source available, here is the exception stack trace:

->java.io.IOException: The device is not ready
     java.io.WinNTFileSystem.canonicalize0(Native Method)
     java.io.Win32FileSystem.canonicalize(Win32FileSystem.java:396)
     java.io.File.getCanonicalPath(File.java:559)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2$$anonfun$apply$3.apply(Incremental.scala:225)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2$$anonfun$apply$3.apply(Incremental.scala:222)
     scala.Option.map(Option.scala:133)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2.apply(Incremental.scala:222)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1$$anonfun$apply$2.apply(Incremental.scala:221)
     scala.Option.flatMap(Option.scala:146)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1.apply(Incremental.scala:221)
     sbt.inc.Incremental$$anonfun$externalBinaryModified$1.apply(Incremental.scala:217)
     scala.collection.TraversableLike$$anonfun$filter$1.apply(TraversableLike.scala:252)
     scala.collection.MapLike$DefaultKeySet$$anonfun$foreach$2.apply(MapLike.scala:171)
     scala.collection.MapLike$DefaultKeySet$$anonfun$foreach$2.apply(MapLike.scala:171)
     scala.collection.immutable.HashMap$HashMap1.foreach(HashMap.scala:178)
     scala.collection.immutable.HashMap$HashTrieMap.foreach(HashMap.scala:347)
     scala.collection.MapLike$DefaultKeySet.foreach(MapLike.scala:171)
     scala.collection.TraversableLike$class.filter(TraversableLike.scala:251)
     scala.collection.MapLike$DefaultKeySet.filter(MapLike.scala:165)
     sbt.inc.Incremental$.changedInitial(Incremental.scala:99)
     sbt.inc.Incremental$.compile(Incremental.scala:21)
     sbt.inc.IncrementalCompile$.apply(Compile.scala:20)
     sbt.compiler.AggressiveCompile.compile2(AggressiveCompile.scala:96)
     sbt.compiler.AggressiveCompile.compile1(AggressiveCompile.scala:44)
     sbt.compiler.AggressiveCompile.apply(AggressiveCompile.scala:31)
     sbt.Compiler$.apply(Compiler.scala:79)
     sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:572)
     sbt.Defaults$$anonfun$compileTask$1.apply(Defaults.scala:572)
     sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
     sbt.Scoped$$anonfun$hf2$1.apply(Structure.scala:578)
     scala.Function1$$anonfun$compose$1.apply(Function1.scala:49)
     sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
     sbt.Scoped$Reduced$$anonfun$combine$1$$anonfun$apply$12.apply(Structure.scala:311)
     sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:41)
     sbt.std.Transform$$anon$5.work(System.scala:71)
     sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
     sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:232)
     sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:18)
     sbt.Execute.work(Execute.scala:238)
     sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
     sbt.Execute$$anonfun$submit$1.apply(Execute.scala:232)
     sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:160)
     sbt.CompletionService$$anon$2.call(CompletionService.scala:30)
     java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     java.util.concurrent.FutureTask.run(FutureTask.java:138)
     java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
     java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
     java.util.concurrent.FutureTask.run(FutureTask.java:138)
     java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
     java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
     java.lang.Thread.run(Thread.java:662)

chahinez benabid

unread,
Nov 12, 2013, 4:52:21 AM11/12/13
to play-fr...@googlegroups.com
Hi,

I have the same problem,  I copied the projet in the localhost but it dosn't work and give me the same error.

Did you fix the problem?

Roxana Robotin

unread,
Nov 27, 2013, 5:21:29 PM11/27/13
to play-fr...@googlegroups.com
Does anyone has a solution to this problem? It will be very helpful.
Thanks.



James Roper

unread,
Nov 27, 2013, 10:05:07 PM11/27/13
to play-framework
This is a generic error message that Windows throws in many many many different situations, it's likely that everyone on this thread that is encountering it has a completely different problem.

Here are some possible causes:

* Don't have permission to create the file
* The file name is longer than the system supports
* It's a network filesystem and something went wrong
* It's an encrypted filesystem and something went wrong
* It's a compressed filesystem and something went wrong

If you want to help yourself here, you'll need to provide more information about your system, what filesystem you're using, etc etc.


On Thu, Nov 28, 2013 at 9:21 AM, Roxana Robotin <roxanar...@gmail.com> wrote:
Does anyone has a solution to this problem? It will be very helpful.
Thanks.



--
You received this message because you are subscribed to the Google Groups "play-framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



--
James Roper
Software Engineer

Typesafe – Build reactive apps!
Twitter: @jroper

thuy thanh

unread,
May 12, 2016, 10:38:11 PM5/12/16
to play-framework
I fixed this error.
 
   First, use command :

       activator clean

  Then, use command:

       activator compile


dung pt

unread,
May 12, 2016, 10:51:21 PM5/12/16
to play-framework
Thank you, I fixed it success
Reply all
Reply to author
Forward
0 new messages