[ https://issues.apache.org/jira/browse/ASTERIXDB-2480?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16689065#comment-16689065 ]
ASF subversion and git services commented on ASTERIXDB-2480: ------------------------------------------------------------ Commit 19e9d8290d64d4a29c1de78df3eaf8ee32553eed in asterixdb's branch refs/heads/master from [~idleft] [ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=19e9d82 ] [ASTERIXDB-2480][ING] Fix http-feed compatibility with JSON parser - user model changes: no - storage format changes: no - interface changes: no Details: The generic record used in current http-feed returns length of "-1" which will cause the JSON parser to fail. For compatibility consideration, we should use CharArrayRecord instead. Change-Id: I719c98376583a3316dbc291696df65a97dd4b26e Reviewed-on: https://asterix-gerrit.ics.uci.edu/3026 Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Wail Alkowaileet <wael....@gmail.com> > JSON Parser failed at NPE > ------------------------- > > Key: ASTERIXDB-2480 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2480 > Project: Apache AsterixDB > Issue Type: Bug > Affects Versions: 0.9.4 > Reporter: Xikui Wang > Assignee: Wail Alkowaileet > Priority: Major > > {code} > drop dataverse lapd if exists; > create dataverse lapd; > use lapd; > create type WorrisomeNotificationType as { > dataverseName: string, > channelName: string > }; > create feed WorrisomeTweetsFeed with { > "adapter-name" : "http_adapter", > "addresses" : "127.0.0.1:10011", > "address-type" : "IP", > "type-name" : "WorrisomeNotificationType", > "format" : "json" > }; > create dataset WorrisomeNotifications(WorrisomeNotificationType) primary key > dataverseName; > connect feed WorrisomeTweetsFeed to dataset WorrisomeNotifications; > start feed WorrisomeTweetsFeed; > {code} > feed following json data, a NPE will be thrown. > { "dataverseName":"dhs", "channelName":"WorrisomeTweetsNearMonumentsChannel", > "channelExecutionTime":"2018-11-12T18:43:48.508Z"} -- This message was sent by Atlassian JIRA (v7.6.3#76005)