Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileNotFoundException if input file is too large. #19

Open
willgraf opened this issue Nov 9, 2020 · 1 comment
Open

FileNotFoundException if input file is too large. #19

willgraf opened this issue Nov 9, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@willgraf
Copy link
Contributor

willgraf commented Nov 9, 2020

The following error was encountered when trying to process a multiplex image of size (2000, 2600). While this job should fail, it should fail with the consumer's image size error, not the error found below:

java.io.FileNotFoundException: nullStack.tif (The system cannot find the file specified)
	at java.io.FileInputStream.open0(Native Method)
	at java.io.FileInputStream.open(FileInputStream.java:195)
	at java.io.FileInputStream.<init>(FileInputStream.java:138)
	at okio.Okio__JvmOkioKt.source(JvmOkio.kt:178)
	at okio.Okio.source(Unknown Source)
	at okhttp3.RequestBody$Companion$asRequestBody$1.writeTo(RequestBody.kt:167)
	at okhttp3.MultipartBody.writeOrCountBytes(MultipartBody.kt:157)
	at okhttp3.MultipartBody.writeTo(MultipartBody.kt:93)
	at okhttp3.internal.http.CallServerInterceptor.intercept(CallServerInterceptor.kt:59)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
	at okhttp3.internal.connection.ConnectInterceptor.intercept(ConnectInterceptor.kt:34)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
	at okhttp3.internal.cache.CacheInterceptor.intercept(CacheInterceptor.kt:96)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
	at okhttp3.internal.http.BridgeInterceptor.intercept(BridgeInterceptor.kt:83)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
	at okhttp3.internal.http.RetryAndFollowUpInterceptor.intercept(RetryAndFollowUpInterceptor.kt:76)
	at okhttp3.internal.http.RealInterceptorChain.proceed(RealInterceptorChain.kt:100)
	at okhttp3.internal.connection.RealCall.getResponseWithInterceptorChain$okhttp(RealCall.kt:197)
	at okhttp3.internal.connection.RealCall.execute(RealCall.kt:148)
	at org.vanvalenlab.KioskHttpClient.sendHttpRequest(KioskHttpClient.java:35)
	at org.vanvalenlab.KioskHttpClient.uploadFile(KioskHttpClient.java:87)
	at org.vanvalenlab.KioskJob.create(KioskJob.java:89)
	at org.vanvalenlab.KioskJobManager.runJob(KioskJobManager.java:112)
	at org.vanvalenlab.ImageJobManager.run(ImageJobManager.java:35)
	at ij.IJ.runUserPlugIn(IJ.java:235)
	at ij.IJ.runPlugIn(IJ.java:198)
	at ij.Executer.runCommand(Executer.java:150)
	at ij.Executer.run(Executer.java:68)
	at java.lang.Thread.run(Thread.java:748)

The original image was then cropped and uploaded/processed successfully.

@willgraf willgraf added the bug Something isn't working label Nov 9, 2020
@willgraf
Copy link
Contributor Author

willgraf commented Mar 8, 2021

I'm looking into this error now and cannot reproduce it exactly. Instead, I get the following error: java.net.SocketException: Broken pipe (Write failed). However, the cluster DOES process the job, but the broken pipe prevents any updates from the server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant