From issues-return-37981-archive-asf-public=cust-asf.ponee.io@openwhisk.incubator.apache.org Tue Jun 25 14:40:14 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E162118062F for ; Tue, 25 Jun 2019 16:40:13 +0200 (CEST) Received: (qmail 32697 invoked by uid 500); 25 Jun 2019 14:40:13 -0000 Mailing-List: contact issues-help@openwhisk.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openwhisk.incubator.apache.org Delivered-To: mailing list issues@openwhisk.incubator.apache.org Received: (qmail 32688 invoked by uid 99); 25 Jun 2019 14:40:13 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2019 14:40:13 +0000 From: GitBox To: issues@openwhisk.apache.org Subject: [GitHub] [incubator-openwhisk] rabbah commented on issue #4516: Openwhisk in a standalone runnable jar Message-ID: <156147360830.30266.3371394726476655548.gitbox@gitbox.apache.org> Date: Tue, 25 Jun 2019 14:40:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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: users@infra.apache.org With regards, Apache Git Services