Java & Groovy Errors after basic install; first piston


#1

1) Give a description of the problem
Basic WebCore Installation; trying to run a basic piston to subscribe to a switch on/off events.

2) What is the expected behaviour?
Expect a to log on a switch change

3) What is happening/not happening?
No logs generated (that I can tell); showing recurring java.lang.NullPointer Exception & groovy.lang.MissingMethodException

Potential installation failure? Are the exceptions expected?

**4) Post a Green Snapshot of the piston![image|45x37]

5) Attach logs after turning logging level to Full
1/14/2021, 11:31:40 AM +784ms
+1ms ╔Received event [Cornerstone Circle].test = 1610641900784 with a delay of 0ms
+31ms ║Error while getting runtime data: java.lang.NullPointerException: Cannot get property ‘v’ on null object
+33ms ║RunTime Analysis CS > 13ms > PS > 4ms > PE > 15ms > CE
+35ms ║Runtime (37523 bytes) successfully initialized in 4ms (v0.3.110.20191009) (33ms)
+36ms ║╔Execution stage started
+101ms ║║An error occurred while executing the event: groovy.lang.MissingMethodException: No signature of method: java.util.LinkedHashMap.call() is applicable for argument types: (null) values: [null] Possible solutions: wait(), any(), wait(long), take(int), any(groovy.lang.Closure), any(groovy.lang.Closure)
+103ms ║╚Execution stage complete. (67ms)
+106ms ╚Event processed successfully (106ms)


#2

The only thing it can possibly be is your const string on line 24. Are both your globals (@hueBridgeIP and @hueBridgeuser) defined and non-empty? I notice in the second ‘user’ is not capitalized which is not normal naming convention. Is that a typo? Try changing that assignment to a simple string like “test” and see if it runs properly. When you run tows this really shouldn’t do anything.