aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rwxr-xr-x[-rw-r--r--]src/main/java/io/trygvis/esper/testing/web/JerseyApplication.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/web/JerseyApplication.java b/src/main/java/io/trygvis/esper/testing/web/JerseyApplication.java
index 46964a0..a02bb5c 100644..100755
--- a/src/main/java/io/trygvis/esper/testing/web/JerseyApplication.java
+++ b/src/main/java/io/trygvis/esper/testing/web/JerseyApplication.java
@@ -86,6 +86,10 @@ public class JerseyApplication extends Application {
}
private UUID parse(String s) {
+ if(s == null) {
+ return null;
+ }
+
try {
return UUID.fromString(s);
} catch (IllegalArgumentException e) {