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 24A9A200BC6 for ; Sun, 20 Nov 2016 10:51:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 23401160B07; Sun, 20 Nov 2016 09:51:16 +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 6CD42160AF1 for ; Sun, 20 Nov 2016 10:51:15 +0100 (CET) Received: (qmail 73386 invoked by uid 500); 20 Nov 2016 09:51:14 -0000 Mailing-List: contact user-help@struts.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list user@struts.apache.org Received: (qmail 73369 invoked by uid 99); 20 Nov 2016 09:51:13 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Nov 2016 09:51:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D9273C0E26 for ; Sun, 20 Nov 2016 09:51:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.198 X-Spam-Level: * X-Spam-Status: No, score=1.198 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id Eu0qmPsx1kQK for ; Sun, 20 Nov 2016 09:51:12 +0000 (UTC) Received: from mail-io0-f171.google.com (mail-io0-f171.google.com [209.85.223.171]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id DFDE15FC4A for ; Sun, 20 Nov 2016 09:51:11 +0000 (UTC) Received: by mail-io0-f171.google.com with SMTP id c21so18530074ioj.1 for ; Sun, 20 Nov 2016 01:51:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=6JkT9QOk9dxtGkhQDukfd7IWW4uw79Iz2GtsrAht6U4=; b=HtFDKoTyzglt5UFMlmuA7agkl+cI/J2bVgB1704QLhY/t8s9rOLg+PkHSUPU6E7DoP QdkPW6y4i1CyC7uzJ/LkS3WkFB7KgbQlIoUKxjQ/9m8V3P5T5dtTNWG9tfX+gfItyqXN Q9hOlHFSEL9d0mpUuqkpY9SBieUupQWpHaMQrov17LnhsV6Mxr6jLL5lqKzfljhFgV8y vrU1yhquHOKFw++beLxrLG3IxBVVd3GUN4TutmOT5tCxsaRSRJjahO5hfDuyXd8YQ+Kq cpUg/Wd9iBC4BxB57H8i/VYBDaKUyuy/puJZQgrcU5yhsd2J14q00HuiE13MfRNgBRhE 8FNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=6JkT9QOk9dxtGkhQDukfd7IWW4uw79Iz2GtsrAht6U4=; b=EIkqP/HMCTlXLCMHht/69l1XaiBv4nV3lvTCzi5pQ2cYsstJ0MDChQwChbBilSUhNy mSxLP03TNpMik0SPNdnI5p3mrfmTbclESbeqp7Um708XcsPawQR1ixFG7VbkroauQPNk Zk2wK7E8zJN8fANnc+Xqw9bVuSIwgcI6JKJNGh392Z7FhgnI6ygAvRKH0ChqRdw94TU1 iRFSbiOYs//BeflIWsQNwIx4PWAkA77C8v6oAtJv3nIXUs2EiWZIDLKvsYTU/tiPcxLb DkmbDswvPDLvtq8ZILTgt8yAsgBlBYVuUOkV0VdGdGIgAGmhGJX1ERPPVCeYUTV6z5sC S+Qg== X-Gm-Message-State: AKaTC01Z6Lq83ltwJP1tllBkyCYMjk8rl0gs0yZgSDIwz2gegjiLZ6dxqHH8Q3qbucEevsud0E5yi7nRoStbjg== X-Received: by 10.107.84.2 with SMTP id i2mr5873707iob.225.1479635471102; Sun, 20 Nov 2016 01:51:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.36.146 with HTTP; Sun, 20 Nov 2016 01:51:10 -0800 (PST) From: Java House Date: Sun, 20 Nov 2016 11:51:10 +0200 Message-ID: Subject: Blank app fails to build To: user@struts.apache.org Content-Type: text/plain; charset=UTF-8 archived-at: Sun, 20 Nov 2016 09:51:16 -0000 Hello this is my first attempt with Struts. I am trying to run the Blank App sample application. I tried first by creating it using the maven archetype and also tried it through the struts-examples-master. I am using JDK 1.8.0_111, mvn 3.3.9 Struts 2.5.5 when doing mvn clean install test fails on the getText() method, I am getting null pointer exception ------------------------------------------------------- T E S T S ------------------------------------------------------- Running example.ConfigTest Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.886 sec - in example.ConfigTest Running example.HelloWorldTest Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.083 sec <<< FAILURE! - in example.HelloWorldTest testHelloWorld(example.HelloWorldTest) Time elapsed: 0.082 sec <<< ERROR! java.lang.NullPointerException at example.HelloWorldTest.testHelloWorld(HelloWorldTest.java:31) I also tried a few older versions of struts but I am always getting this error. Does anyone has any idea what am I doing wrong? I am guessing that the getText method fails because it does not find the properties files. In the example the properties is under struts-examples-master\blank\src\main\resources\example\package.properties I even tried to place the file under the java and rename it the same as the class struts-examples-master\blank\src\main\java\example\HelloWorld.properties but it didn't help thank you for your support --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org