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

Rare FileNotFound during Data.all processing #408

Open
uw4 opened this issue Sep 16, 2024 · 0 comments
Open

Rare FileNotFound during Data.all processing #408

uw4 opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@uw4
Copy link
Contributor

uw4 commented Sep 16, 2024

Occured on a customer system (presumably while a record was deleted async).
After browser refresh it worked again (i.e. next Data.all processing was working correctly)
Running version ghcr.io/dashjoin/dev-build:5.2.10

Anonymized stacktrace:

2024-09-16 08:37:56,032 INFO [org.das.ser.ExMapper] (executor-thread-14171) REST exception: java.io.FileNotFoundException: /mnt/dashjoin/XXX/model/tenantusers/YYY.json (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(Unknown Source)
at java.base/java.io.FileInputStream.(Unknown Source)
at com.fasterxml.jackson.core.TokenStreamFactory._fileInputStream(TokenStreamFactory.java:278)
at com.fasterxml.jackson.core.JsonFactory.createParser(JsonFactory.java:1089)
at com.fasterxml.jackson.databind.ObjectMapper.readValue(ObjectMapper.java:3657)
at org.dashjoin.service.JSONFileDatabase.queryMap(JSONFileDatabase.java:100)
at org.dashjoin.service.JSONFileDatabase_ClientProxy.queryMap(Unknown Source)
at org.dashjoin.service.PasswordDatabase.queryMap(PasswordDatabase.java:72)
at org.dashjoin.service.UnionDatabase.query(UnionDatabase.java:84)
at org.dashjoin.service.PojoDatabase.query(PojoDatabase.java:346)
at org.dashjoin.service.UnionDatabase.all(UnionDatabase.java:376)
at org.dashjoin.service.Data.all(Data.java:362)
at org.dashjoin.service.Data.getall(Data.java:381)
at org.dashjoin.service.Data_ClientProxy.getall(Unknown Source)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:154)
at org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:118)
at org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:560)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:452)
at org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:413)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
at org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:415)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:378)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:356)
at org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:70)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:429)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:240)
at org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:154)
at org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:321)
at org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:157)
at org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:229)
at io.quarkus.resteasy.runtime.standalone.RequestDispatcher.service(RequestDispatcher.java:82)
at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler.dispatch(VertxRequestHandler.java:147)
at io.quarkus.resteasy.runtime.standalone.VertxRequestHandler$1.run(VertxRequestHandler.java:93)
at io.quarkus.vertx.core.runtime.VertxCoreRecorder$14.runWith(VertxCoreRecorder.java:576)
at org.jboss.threads.EnhancedQueueExecutor$Task.run(EnhancedQueueExecutor.java:2513)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1538)
at org.jboss.threads.DelegatingRunnable.run(DelegatingRunnable.java:29)
at org.jboss.threads.ThreadLocalResettingRunnable.run(ThreadLocalResettingRunnable.java:29)
at io.netty.util.concurrent.FastThreadLocalRunnable.run(FastThreadLocalRunnable.java:30)
at java.base/java.lang.Thread.run(Unknown Source)

@uw4 uw4 added the bug Something isn't working label Sep 16, 2024
@aeberhart aeberhart added this to the backlog milestone Sep 30, 2024
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

2 participants