Hi Biplob, The message you mention should not be a problem here. It just says you can't use your events as POJOs (e.g. you can't use keyBy("chargedAccount") ). Your code seems fine and without some example data I think it will be hard to help you.
As for the PART 2 of your first email. In 1.3 we introduced NOT pattern but right now it does not support time ranges in which a pattern should not occur. The thing you can do though is to specify a positive Pattern like: ("a" -> "b" within 1s) and select the timeouted patterns, which in fact are the ones that you want to trigger alerts for.