You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/11/03 09:48:00 UTC

[jira] [Commented] (WW-4974) NullPointerException in DefaultStaticContentLoader#findStaticResource

    [ https://issues.apache.org/jira/browse/WW-4974?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16673989#comment-16673989 ] 

ASF subversion and git services commented on WW-4974:
-----------------------------------------------------

Commit bac0f2953c102ba1ff737a7fd35d20d38e527cea in struts's branch refs/heads/struts-2-5-x from [~yasser.zamani]
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=bac0f29 ]

monitor not-monitored loaded files on demand

See WW-4974


> NullPointerException in DefaultStaticContentLoader#findStaticResource
> ---------------------------------------------------------------------
>
>                 Key: WW-4974
>                 URL: https://issues.apache.org/jira/browse/WW-4974
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.5.18
>         Environment: Tomcat 9 on Ubuntu 18 Java 8 struts 2.5.18
>            Reporter: nikos dimitrakas
>            Priority: Major
>             Fix For: 2.6, 2.5.19
>
>
> pathPrefixes is null. The defaults that were loaded correctly in previous versions are now not loaded. The method setHostConfig does not get called like in previous versions.
> This causes all js files to not be found. For example 
> /struts/js/base/version.min.js
> /struts/js/base/jquery-2.2.4.min.js
> /struts/js/struts2/jquery.ui.struts2.min.js
> /struts/js/struts2/jquery.datatables.struts2.min.js
> /struts/js/plugins/jquery.dataTables.min.js



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)