[Bro-Dev] [JIRA] (BIT-1199) Better error messages for input file errors in READER_ASCII

Johanna Amann (JIRA) jira at bro-tracker.atlassian.net
Tue Mar 17 13:48:00 PDT 2015

    [ https://bro-tracker.atlassian.net/browse/BIT-1199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20009#comment-20009 ] 

Johanna Amann commented on BIT-1199:

Addressed in topic/johanna/bit-1199 - error messages now contain the stream name:

internal error: Value not 'NoSuch::Notice' for stream 'ignored_notices' is not a valid enum.

> Better error messages for input file errors in READER_ASCII
> -----------------------------------------------------------
>                 Key: BIT-1199
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1199
>             Project: Bro Issue Tracker
>          Issue Type: Problem
>          Components: Bro
>            Reporter: grigorescu
>            Assignee: Johanna Amann
>             Fix For: 2.4
>         Attachments: test.intel
> This came up on the mailing list a few weeks ago. If one tries to load the attached file as Intelligence, Bro will error out, with:
> {code}
> internal error: Value not found in enum mappimg. Module: GLOBAL, var: , var size: 0
> {code}
> The attached file contains an extra tab after downloader.com.
> It'd be nice if Bro would tell you that this was an issue with the input reader, which file it occurred in, and a line number.
> I think generally speaking, if there's an issue with an input file, it'd be nice to know the line number.
> (Also, there's a typo in mappimg in the error message that's currently displayed).

This message was sent by Atlassian JIRA

More information about the bro-dev mailing list