Menu

#39 ClasspathMonitor: FileNotFoundExcepton / ignored

v1.8
closed-fixed
nobody
None
4
2017-11-09
2017-07-31
No

The following exception happened on Heroku with a spring-boot application:

2017-07-31T19:36:04.419940+00:00 app[web.1]: 19:36:04 WARN  [3-thread-1] me.monitor.ResourcepathMonitor - Classpath '{}' is ignored:
2017-07-31T19:36:04.419942+00:00 app[web.1]:  java.io.FileNotFoundException: /app/service/target/gdv-xport-service-3.0.0-SNAPSHOT.war!/WEB-INF/lib/guava-18.0.jar! (No such file or directory)
2017-07-31T19:36:04.419943+00:00 app[web.1]:    at java.util.zip.ZipFile.open(Native Method)
2017-07-31T19:36:04.419943+00:00 app[web.1]:    at java.util.zip.ZipFile.<init>(ZipFile.java:219)
2017-07-31T19:36:04.419944+00:00 app[web.1]:    at java.util.zip.ZipFile.<init>(ZipFile.java:149)
2017-07-31T19:36:04.419945+00:00 app[web.1]:    at java.util.jar.JarFile.<init>(JarFile.java:166)
2017-07-31T19:36:04.419945+00:00 app[web.1]:    at java.util.jar.JarFile.<init>(JarFile.java:130)
2017-07-31T19:36:04.419946+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResourcesFromJar(ResourcepathMonitor.java:147)
2017-07-31T19:36:04.419947+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResources(ResourcepathMonitor.java:134)
2017-07-31T19:36:04.419947+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResources(ResourcepathMonitor.java:121)
2017-07-31T19:36:04.419948+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.getResourcesArray(ResourcepathMonitor.java:112)
2017-07-31T19:36:04.419949+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.access$0(ResourcepathMonitor.java:111)
2017-07-31T19:36:04.419949+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor$1.call(ResourcepathMonitor.java:73)
2017-07-31T19:36:04.419950+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor$1.call(ResourcepathMonitor.java:1)
2017-07-31T19:36:04.419950+00:00 app[web.1]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
2017-07-31T19:36:04.419951+00:00 app[web.1]:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
2017-07-31T19:36:04.419952+00:00 app[web.1]:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
2017-07-31T19:36:04.419952+00:00 app[web.1]:    at java.lang.Thread.run(Thread.java:745)

Discussion

  • Oliver Boehm

    Oliver Boehm - 2017-08-03
    • status: open --> pending
     
  • Oliver Boehm

    Oliver Boehm - 2017-08-03

    fixed already in 1.7.2-SNAPSHOT

     
  • Oliver Boehm

    Oliver Boehm - 2017-08-12
    • status: pending --> closed-fixed
     
  • Oliver Boehm

    Oliver Boehm - 2017-08-19
    • status: closed-fixed --> open
     
  • Oliver Boehm

    Oliver Boehm - 2017-08-19

    Opened again - problem seems not to be fixed:

    2017-08-19T13:12:49.277272+00:00 app[web.1]: java.io.FileNotFoundException: /app/service/target/gdv-xport-service-3.0.0-SNAPSHOT.war!/WEB-INF/lib/jackson-databind-2.8.6.jar! (No such file or directory)
    2017-08-19T13:12:49.277272+00:00 app[web.1]:    at java.util.zip.ZipFile.open(Native Method) ~[?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277273+00:00 app[web.1]:    at java.util.zip.ZipFile.<init>(ZipFile.java:219) ~[?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277294+00:00 app[web.1]:    at java.util.zip.ZipFile.<init>(ZipFile.java:149) ~[?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277295+00:00 app[web.1]:    at java.util.jar.JarFile.<init>(JarFile.java:166) ~[?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277296+00:00 app[web.1]:    at java.util.jar.JarFile.<init>(JarFile.java:130) ~[?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277297+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResourcesFromJar(ResourcepathMonitor.java:177) ~[patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277297+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResources(ResourcepathMonitor.java:164) ~[patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277298+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.scanResources(ResourcepathMonitor.java:151) [patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277298+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.getResourcesArray(ResourcepathMonitor.java:142) [patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277299+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor.access$0(ResourcepathMonitor.java:141) [patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277300+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor$1.call(ResourcepathMonitor.java:72) [patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277300+00:00 app[web.1]:    at patterntesting.runtime.monitor.ResourcepathMonitor$1.call(ResourcepathMonitor.java:1) [patterntesting-rt-1.7.2.jar!/:1.7.2]
    2017-08-19T13:12:49.277301+00:00 app[web.1]:    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277301+00:00 app[web.1]:    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277302+00:00 app[web.1]:    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_121-cedar14]
    2017-08-19T13:12:49.277303+00:00 app[web.1]:    at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121-cedar14]
    
     
  • Oliver Boehm

    Oliver Boehm - 2017-08-19
    • status: open --> pending
     
  • Oliver Boehm

    Oliver Boehm - 2017-08-19

    faulty code removed, should work now.

     
  • Oliver Boehm

    Oliver Boehm - 2017-11-09
    • status: pending --> closed-fixed
    • Group: v1.7 --> v1.8
     
MongoDB Logo MongoDB