From e8f8db06954566cd5819e40eed652e0eded2e012 Mon Sep 17 00:00:00 2001 From: Lyn Elisa Goltz Date: Thu, 6 Jun 2024 13:05:23 +0200 Subject: [PATCH] #1654 - removed annottaions from Config to fix NPE --- .../src/main/java/org/deegree/console/Config.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/deegree-services/deegree-webservices/src/main/java/org/deegree/console/Config.java b/deegree-services/deegree-webservices/src/main/java/org/deegree/console/Config.java index e6737416ec2..4815cfb393c 100644 --- a/deegree-services/deegree-webservices/src/main/java/org/deegree/console/Config.java +++ b/deegree-services/deegree-webservices/src/main/java/org/deegree/console/Config.java @@ -57,8 +57,8 @@ * @author Andreas Schmitz * @since 3.4 */ -@Named -@RequestScoped +//@Named +//@RequestScoped public class Config implements Comparable, Serializable { private static final long serialVersionUID = -175529275940063759L; @@ -216,7 +216,7 @@ public void setSchemaURL(URL schemaURL) { } public String getState() { - ResourceState state = getWorkspace().getStates().getState(metadata.getIdentifier()); + ResourceState state = getWorkspace().getStates().getState(metadata.getIdentifier()); return state == null ? "Deactivated" : state.toString(); }