prsdgaur

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:

 

com.esri.ges.transport.file.FileInboundTransport

Dangling meta character '*' near index 0 * ^ java.util.regex.PatternSyntaxException: Dangling meta character '*' near index 0 * ^ at java.util.regex.Pattern.error(Pattern.java:1955)[:1.8.0_73] at java.util.regex.Pattern.sequence(Pattern.java:2123)[:1.8.0_73] at java.util.regex.Pattern.expr(Pattern.java:1996)[:1.8.0_73] at java.util.regex.Pattern.compile(Pattern.java:1696)[:1.8.0_73] at java.util.regex.Pattern.<init>(Pattern.java:1351)[:1.8.0_73] at java.util.regex.Pattern.compile(Pattern.java:1028)[:1.8.0_73] at java.util.regex.Pattern.matches(Pattern.java:1133)[:1.8.0_73] at java.lang.String.matches(String.java:2121)[:1.8.0_73] at com.esri.ges.transport.file.FileInboundTransport.populatePendingFiles(FileInboundTransport.java:114)[134:com.esri.ges.framework.transport.file-transport:10.4.1] at com.esri.ges.transport.file.FileInboundTransport.getNextFile(FileInboundTransport.java:246)[134:com.esri.ges.framework.transport.file-transport:10.4.1] at com.esri.ges.transport.file.FileInboundTransport.readBuffer(FileInboundTransport.java:127)[134:com.esri.ges.framework.transport.file-transport:10.4.1] at com.esri.ges.transport.file.FileInboundTransport.run(FileInboundTransport.java:352)[134:com.esri.ges.framework.transport.file-transport:10.4.1] at java.lang.Thread.run(Thread.java:745)[:1.8.0_73]

Dec 23, 2016, 3:09:24 PM

INFO

com.esri.ges.transport.file.FileInboundTransport

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

Dec 23, 2016, 3:09:24 PM

ERROR

 

 

The input created displays status as error

Kindly find attached the screenshot FYR.

 

 

Thanks for the help

Outcomes