Opened 2 weeks ago

Last modified 2 weeks ago

#2670 new defect

Error 500: java.lang.RuntimeException

Reported by: Danrobi Owned by: zzz
Priority: minor Milestone: undecided
Component: apps/i2psnark Version: 0.9.43
Keywords: Cc:
Parent Tickets: Sensitive: no

Description (last modified by zzz)

Hello
I let the PC run all night. Came back to snark this morning with this error.
I download torrent and seed from my media usb device.

Error Details

Error 500: /i2psnark/_post java.lang.RuntimeException: Could not reopen storage: java.io.IOException: No such file or directory

java.lang.RuntimeException: Could not reopen storage: java.io.IOException: No such file or directory
     at i2psnark/org.klomp.snark.Snark.fatal(Unknown Source)
     at i2psnark/org.klomp.snark.Snark.x_startTorrent(Unknown Source)
     at i2psnark/org.klomp.snark.Snark.startTorrent(Unknown Source)
     at i2psnark/org.klomp.snark.SnarkManager.startTorrent(Unknown Source)
     at i2psnark/org.klomp.snark.SnarkManager.startTorrent(Unknown Source)
     at org.klomp.snark.web.I2PSnarkServlet.processRequest(I2PSnarkServlet.java:1095)
     at org.klomp.snark.web.I2PSnarkServlet.doGetAndPost(I2PSnarkServlet.java:269)
     at org.klomp.snark.web.I2PSnarkServlet.doPost(I2PSnarkServlet.java:159)
     at javax.servlet/javax.servlet.http.HttpServlet.service(Unknown Source)
     at javax.servlet/javax.servlet.http.HttpServlet.service(Unknown Source)
     at jetty.servlet/org.eclipse.jetty.servlet.ServletHolder.handle(Unknown Source)
     at jetty.servlet/org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
     at jetty.i2p/net.i2p.servlet.filters.XSSFilter.doFilter(Unknown Source)
     at jetty.servlet/org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(Unknown Source)
     at jetty.servlet/org.eclipse.jetty.servlet.ServletHandler.doHandle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
     at jetty.security/org.eclipse.jetty.security.SecurityHandler.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.session.SessionHandler.doHandle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.ContextHandler.doHandle(Unknown Source)
     at jetty.servlet/org.eclipse.jetty.servlet.ServletHandler.doScope(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.session.SessionHandler.doScope(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.ContextHandler.doScope(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.ScopedHandler.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(Unknown Source)
     at jetty.servlets/org.eclipse.jetty.servlets.gzip.GzipHandler.handle(Unknown Source)
     at routerconsole/net.i2p.router.web.HostCheckHandler.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.HandlerCollection.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.handler.HandlerWrapper.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.Server.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.HttpChannel.handle(Unknown Source)
     at org.mortbay.jetty/org.eclipse.jetty.server.HttpConnection.onFillable(Unknown Source)
     at jetty.io/org.eclipse.jetty.io.AbstractConnection$2.run(Unknown Source)
     at jetty.util/org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(Unknown Source)
     at jetty.util/org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(Unknown Source)
     at java.base/java.lang.Thread.run(Unknown Source)
     Caused by: java.io.IOException: No such file or directory
     at java.base/java.io.UnixFileSystem.createFileExclusively(Native Method)
     at java.base/java.io.File.createNewFile(Unknown Source)
     at i2p/net.i2p.util.SecureFile.createNewFile(Unknown Source)
     at i2psnark/org.klomp.snark.Storage.createFileFromNames(Unknown Source)
     at i2psnark/org.klomp.snark.Storage.reopen(Unknown Source)
     ... 34 more

I2P Version and Running Environment

I2P version: 0.9.43-0
Java version: AdoptOpenJDK 11.0.4 (OpenJDK Runtime Environment 11.0.4+11)
Wrapper version: none
Server version: 9.2.z-SNAPSHOT
Platform: Linux amd64 4.9.182-antix.1-amd64-smp
Processor: uninitialized (none)
Jbigi: Native BigInteger library jbigi not loaded - using pure Java - poor performance may result - see http://i2p-projekt.i2p/jbigi for help
Encoding: UTF-8
Charset: UTF-8 

Subtickets

Change History (1)

comment:1 Changed 2 weeks ago by zzz

Component: unspecifiedapps/i2psnark
Description: modified (diff)
Owner: set to zzz

As seen in the stack trace, this happened when you clicked the 'start torrent' button, not later. As you say you store the files on a USB device, perhaps the device was not plugged in at the time?

Note: See TracTickets for help on using tickets.