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 48C4A200D1C for ; Sun, 15 Oct 2017 19:17:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 474BD1609EA; Sun, 15 Oct 2017 17:17:10 +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 8E3D21609D1 for ; Sun, 15 Oct 2017 19:17:09 +0200 (CEST) Received: (qmail 98799 invoked by uid 500); 15 Oct 2017 17:17:08 -0000 Mailing-List: contact dev-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 dev@nifi.apache.org Received: (qmail 98788 invoked by uid 99); 15 Oct 2017 17:17:08 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 15 Oct 2017 17:17:08 +0000 Received: from mail-ua0-f181.google.com (mail-ua0-f181.google.com [209.85.217.181]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id 912141A0015 for ; Sun, 15 Oct 2017 17:17:07 +0000 (UTC) Received: by mail-ua0-f181.google.com with SMTP id l40so8256180uah.2 for ; Sun, 15 Oct 2017 10:17:06 -0700 (PDT) X-Gm-Message-State: AMCzsaURD1s5SFaQ2XY635d4tpU4xhcbBm6nuI9c4UKE+Gu269CS+e1s Yzvwx8yDAsYsbwAkaaiqxT1v5fsrp0kAD7kajh0= X-Google-Smtp-Source: AOwi7QC/0wbHc/O30Bgj1DCnjG3Cxk4f0DqTGE/zEaDKFAiUnsqqmWbutZ7smWrqj7O2LMlu/yKzfDQsDCx9/SfceMU= X-Received: by 10.176.3.132 with SMTP id 4mr5254461uau.152.1508087825044; Sun, 15 Oct 2017 10:17:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.24.81 with HTTP; Sun, 15 Oct 2017 10:16:44 -0700 (PDT) From: Jeff Zemerick Date: Sun, 15 Oct 2017 13:16:44 -0400 X-Gmail-Original-Message-ID: Message-ID: Subject: MINIFI-403 and JsonParseException To: dev@nifi.apache.org Content-Type: multipart/alternative; boundary="94eb2c069cee1a1960055b990f47" archived-at: Sun, 15 Oct 2017 17:17:10 -0000 --94eb2c069cee1a1960055b990f47 Content-Type: text/plain; charset="UTF-8" Hi all, While working on Java MiNiFi in the master branch I ran into a NoClassDefFoundError for org.codehaus.jackson.JsonParseException (stack trace at the bottom) when MiNiFi starts. Thinking I had not seen this before I reverted MINIFI-403 since it dealt with dependencies, rebuilt, and the exception goes away and MiNiFi starts and runs as expected. Resetting to head and building and running again brings the exception back. When running MiNiFi built with MINIFI-403 I see the Jackson jars on the classpath in the log. (Looks like the jars I would expect. I don't know which one specifically has JsonParseException but I'd think it would be in one of them.) So I am wondering if this expected and I need to do something else or if this exception is unexpected and I should look into it more? If relevant, my flow is the classic test flow to tail minifi-app.log to a local NiFi. Thanks, Jeff java.lang.NoClassDefFoundError: org/codehaus/jackson/JsonParseException at org.apache.nifi.remote.StandardRemoteProcessGroup.getTargetUri(StandardRemoteProcessGroup.java:357) at org.apache.nifi.controller.serialization.StandardFlowSerializer.addRemoteProcessGroup(StandardFlowSerializer.java:271) at org.apache.nifi.controller.serialization.StandardFlowSerializer.addProcessGroup(StandardFlowSerializer.java:190) at org.apache.nifi.controller.serialization.StandardFlowSerializer.serialize(StandardFlowSerializer.java:96) at org.apache.nifi.controller.FlowController.serialize(FlowController.java:1512) at org.apache.nifi.persistence.StandardXMLFlowConfigurationDAO.save(StandardXMLFlowConfigurationDAO.java:163) at org.apache.nifi.controller.StandardFlowService.load(StandardFlowService.java:535) at org.apache.nifi.minifi.MiNiFiServer.start(MiNiFiServer.java:113) 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.codehaus.jackson.JsonParseException 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) ... 10 common frames omitted --94eb2c069cee1a1960055b990f47--