Skip to content

Commit

Permalink
avoid NPE
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 14, 2023
1 parent bcf87bd commit 8200d99
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/src/main/java/lucee/runtime/config/ConfigImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -1085,7 +1085,7 @@ protected void setFunctionDirectory(List<Path> listFunctionDirectory) {
FunctionLib fll = luceeFlds[luceeFlds.length - 1];

// now overwrite with new data
if (path.res.isDirectory()) {
if (path.res != null && path.res.isDirectory()) {
String[] files = path.res.list(new ExtensionResourceFilter(Constants.getTemplateExtensions()));

for (String file: files) {
Expand Down
2 changes: 1 addition & 1 deletion loader/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<project default="core" basedir="." name="Lucee"
xmlns:resolver="antlib:org.apache.maven.resolver.ant">

<property name="version" value="6.0.0.526-SNAPSHOT"/>
<property name="version" value="6.0.0.527-SNAPSHOT"/>

<taskdef uri="antlib:org.apache.maven.resolver.ant" resource="org/apache/maven/resolver/ant/antlib.xml">
<classpath>
Expand Down
2 changes: 1 addition & 1 deletion loader/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<groupId>org.lucee</groupId>
<artifactId>lucee</artifactId>
<version>6.0.0.526-SNAPSHOT</version>
<version>6.0.0.527-SNAPSHOT</version>
<packaging>jar</packaging>

<name>Lucee Loader Build</name>
Expand Down

0 comments on commit 8200d99

Please sign in to comment.