Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F219E200D1C for ; Sun, 15 Oct 2017 22:33:04 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F09931609EA; Sun, 15 Oct 2017 20:33:04 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 416C31609D1 for ; Sun, 15 Oct 2017 22:33:04 +0200 (CEST) Received: (qmail 91832 invoked by uid 500); 15 Oct 2017 20:33:03 -0000 Mailing-List: contact commits-help@nifi.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@nifi.apache.org Delivered-To: mailing list commits@nifi.apache.org Received: (qmail 91823 invoked by uid 99); 15 Oct 2017 20:33:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2017 20:33:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 9EDA01A1B97 for ; Sun, 15 Oct 2017 20:33:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id wP1IKTuWsVE6 for ; Sun, 15 Oct 2017 20:33:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 250395F47D for ; Sun, 15 Oct 2017 20:33:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 8C34EE0D4E for ; Sun, 15 Oct 2017 20:33:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 3AEB72438C for ; Sun, 15 Oct 2017 20:33:00 +0000 (UTC) Date: Sun, 15 Oct 2017 20:33:00 +0000 (UTC) From: "Jeff Zemerick (JIRA)" To: commits@nifi.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (MINIFI-405) java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils when MiNiFi starts MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 15 Oct 2017 20:33:05 -0000 [ https://issues.apache.org/jira/browse/MINIFI-405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16205287#comment-16205287 ] Jeff Zemerick edited comment on MINIFI-405 at 10/15/17 8:32 PM: ---------------------------------------------------------------- The JsonParseException-config.yml attachment is the config mentioned on the mailing list that generates a java.lang.ClassNotFoundException: org.codehaus.jackson.JsonParseException when MiNiFi starts. This config probably does not complain about KeyStoreUtils because SSL is not used. was (Author: jzemerick): The JsonParseException-config.yml attachment is the config mentioned on the mailing list that generates a java.lang.ClassNotFoundException: org.codehaus.jackson.JsonParseException when MiNiFi starts. > java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils when MiNiFi starts > ---------------------------------------------------------------------------------------------- > > Key: MINIFI-405 > URL: https://issues.apache.org/jira/browse/MINIFI-405 > Project: Apache NiFi MiNiFi > Issue Type: Bug > Components: Core Framework > Reporter: Arpit Gupta > Assignee: Aldrin Piri > Priority: Blocker > Attachments: JsonParseException-config.yml, config.yml > > > Running MiNiFi from master leads to a CNF error on startup > {code} > 2017-10-13 20:00:24,348 INFO [main] org.apache.nifi.minifi.MiNiFiServer Loading Flow... > 2017-10-13 20:00:24,417 INFO [main] o.a.nifi.util.FileBasedVariableRegistry Loaded 96 properties from system properties and environment variables > 2017-10-13 20:00:24,417 INFO [main] o.a.nifi.util.FileBasedVariableRegistry Loaded a total of 96 properties. Including precedence overrides effective accessible registry key size is 96 > 2017-10-13 20:00:24,445 ERROR [main] org.apache.nifi.minifi.MiNiFi Failure to launch MiNiFi due to java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils > java.lang.NoClassDefFoundError: org/apache/nifi/security/util/KeyStoreUtils > at org.apache.nifi.framework.security.util.SslContextFactory.createSslContext(SslContextFactory.java:73) > at org.apache.nifi.controller.FlowController.(FlowController.java:453) > at org.apache.nifi.controller.FlowController.createStandaloneInstance(FlowController.java:388) > at org.apache.nifi.minifi.MiNiFiServer.start(MiNiFiServer.java:94) > at org.apache.nifi.minifi.MiNiFi.(MiNiFi.java:140) > at org.apache.nifi.minifi.MiNiFi.main(MiNiFi.java:239) > Caused by: java.lang.ClassNotFoundException: org.apache.nifi.security.util.KeyStoreUtils > at java.net.URLClassLoader.findClass(URLClassLoader.java:381) > at java.lang.ClassLoader.loadClass(ClassLoader.java:424) > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335) > at java.lang.ClassLoader.loadClass(ClassLoader.java:357) > ... 6 common frames omitted > 2017-10-13 20:00:24,447 INFO [Thread-1] org.apache.nifi.minifi.MiNiFi Initiating shutdown of MiNiFi server... > 2017-10-13 20:00:24,447 WARN [Thread-1] org.apache.nifi.minifi.MiNiFiServer Problem occurred ensuring flow controller or repository was properly terminated due to java.lang.NullPointerException > 2017-10-13 20:00:24,448 ERROR [Thread-1] org.apache.nifi.BootstrapListener Failed to communicate with Bootstrap. Bootstrap may be unable to issue or receive commands from MiNiFi > 2017-10-13 20:00:24,448 INFO [Thread-1] org.apache.nifi.minifi.MiNiFi MiNiFi server shutdown completed (nicely or otherwise). > {code} -- This message was sent by Atlassian JIRA (v6.4.14#64029)