Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-2480

JSON Parser failed at NPE

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.9.4
    • 0.9.5
    • None
    • None

    Description

      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;
      

      feed following json data, a NPE will be thrown.

      { "dataverseName":"dhs", "channelName":"WorrisomeTweetsNearMonumentsChannel", "channelExecutionTime":"2018-11-12T18:43:48.508Z"}

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            wyk Wail Y. Alkowaileet
            idleft Xikui Wang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment