From issues-return-27506-apmail-struts-issues-archive=struts.apache.org@struts.apache.org Thu Apr 7 04:55:26 2016 Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2771518EBE for ; Thu, 7 Apr 2016 04:55:26 +0000 (UTC) Received: (qmail 19634 invoked by uid 500); 7 Apr 2016 04:55:26 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 19612 invoked by uid 500); 7 Apr 2016 04:55:25 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 19578 invoked by uid 99); 7 Apr 2016 04:55:25 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Apr 2016 04:55:25 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 70FFF2C1F58 for ; Thu, 7 Apr 2016 04:55:25 +0000 (UTC) Date: Thu, 7 Apr 2016 04:55:25 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (WW-4622) [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229691#comment-15229691 ] Lukasz Lenart commented on WW-4622: ----------------------------------- Looks like it does :) > [struts2-tiles-plugin] [2.3.28] [StrutsWildcardServletTilesApplicationContext] getRealPath > ------------------------------------------------------------------------------------------ > > Key: WW-4622 > URL: https://issues.apache.org/jira/browse/WW-4622 > Project: Struts 2 > Issue Type: Bug > Components: Plugin - Tiles > Affects Versions: 2.3.28 > Reporter: Sebastien Leboucher > Priority: Blocker > Fix For: 2.5, 2.3.29 > > > Hi, > Since version 2.3.28, the "struts2-tiles-plugin" API introduce a new listener (StrutsWildcardServletTilesApplicationContext). > This listener make a call to ServletContext.getRealPath method. > However this method can't be used with a tomcat "unpackWARs=false" deployment scheme (https://wiki.apache.org/tomcat/RemoveUnpackWARs). > Cause when war file is not exploded, this method return always "null". > So i get a NullPointerException during context loading ! > Could you restore a classpath context loading ? As in the previous version ? > thanks -- This message was sent by Atlassian JIRA (v6.3.4#6332)