Geoevent SDK development error

Discussion created by prsdgaur on Dec 23, 2016
Latest reply on Jan 31, 2017 by prsdgaur

Dear Geoevent Team,


I am facing an issue while developing a custom extension using the SDK and samples provided alongwith GEP.

I have written a code to read a file from datastore and based on certain alarming conditions the location will be displayed on the map.


I have used the sample available on github for cap alerting. i tried to run the same as and it works good for the sample files attached. After that i made some changes to check for some more alerts and built it again. The newly built jar file is then placed in the .../deploy folder under "C:\Program Files\ArcGIS\Server\GeoEvent\" location. The GEP is now producing errors. when i checked in the log file it says:



Dangling meta character '*' near index 0 * ^ java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 * ^ at java.util.regex.Pattern.error([:1.8.0_73] at java.util.regex.Pattern.sequence([:1.8.0_73] at java.util.regex.Pattern.expr([:1.8.0_73] at java.util.regex.Pattern.compile([:1.8.0_73] at java.util.regex.Pattern.<init>([:1.8.0_73] at java.util.regex.Pattern.compile([:1.8.0_73] at java.util.regex.Pattern.matches([:1.8.0_73] at java.lang.String.matches([:1.8.0_73] at com.esri.ges.transport.file.FileInboundTransport.populatePendingFiles([134:com.esri.ges.framework.transport.file-transport:10.4.1] at com.esri.ges.transport.file.FileInboundTransport.getNextFile([134:com.esri.ges.framework.transport.file-transport:10.4.1] at com.esri.ges.transport.file.FileInboundTransport.readBuffer([134:com.esri.ges.framework.transport.file-transport:10.4.1] at[134:com.esri.ges.framework.transport.file-transport:10.4.1] at[:1.8.0_73]

Dec 23, 2016, 3:09:24 PM



While reading files, an unexpected error has occurred. Error: Dangling meta character '*' near index 0 * ^.

Dec 23, 2016, 3:09:24 PM




The input created displays status as error

Kindly find attached the screenshot FYR.



Thanks for the help