Skip to content

Bug report, NEsper.Compiler #47

@TimeWanderer

Description

@TimeWanderer

Hello NEsper,

In com.espertech.esper.compiler.@internal.util.ImportDecl's CompareTo method, the following line causes a null exception when that.Namespace is null and none of the previous if conditions are stepped into.

else if (that.Namespace.StartsWith("System.")) {

I am not sure, but I think this code should be added at line 201 to fix the issue:

else if (that.Namespace == null) { nameComparison = 1; }

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions