Skip to content

Commit

Permalink
fix regression
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeloffner committed Aug 26, 2024
1 parent b7fd87e commit 4821ff8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions core/src/main/java/lucee/runtime/ComponentPageImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,6 @@
import lucee.runtime.type.util.UDFUtil;
import lucee.runtime.util.PageContextUtil;



/**
* A Page that can produce Components
*/
Expand Down Expand Up @@ -1173,7 +1171,7 @@ public JavaSettings getJavaSettings(PageContext pc, ComponentProperties properti
synchronized (properties) {
if (!initJS) {
// TODO cache
String json = Caster.toString(properties.meta.get(KeyConstants._javasettings, null), null);
String json = properties.meta == null ? null : Caster.toString(properties.meta.get(KeyConstants._javasettings, null), null);
if (!StringUtil.isEmpty(json, true)) {
json = json.trim();
try {
Expand Down

0 comments on commit 4821ff8

Please sign in to comment.