rabbah commented on issue #4516: Openwhisk in a standalone runnable jar
URL: 
https://github.com/apache/incubator-openwhisk/pull/4516#issuecomment-505475646
 
 
   if the runtimes file is missing, you get a stack trace instead of a nice 
error - i can open this is as a defect post merge i imagine there could be a 
number of things to improve as this is more heavily used.
   
   
   ```
   Exception in thread "main" java.lang.reflect.InvocationTargetException
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at 
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:564)
        at 
org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:47)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:86)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:50)
        at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
   Caused by: java.io.FileNotFoundException: File 'runtimes.json' does not exist
        at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:297)
        at org.apache.commons.io.FileUtils.readFileToString(FileUtils.java:1805)
        at 
org.apache.openwhisk.standalone.StandaloneOpenWhisk$.configureRuntimeManifest(StandaloneOpenWhisk.scala:162)
        at 
org.apache.openwhisk.standalone.StandaloneOpenWhisk$.initialize(StandaloneOpenWhisk.scala:123)
        at 
org.apache.openwhisk.standalone.StandaloneOpenWhisk$.main(StandaloneOpenWhisk.scala:109)
        at 
org.apache.openwhisk.standalone.StandaloneOpenWhisk.main(StandaloneOpenWhisk.scala)
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to