Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect PLUGIN_ERROR issue ID with appended exception name #245

Closed
mpaluchowski opened this issue Mar 6, 2017 · 0 comments
Closed

Incorrect PLUGIN_ERROR issue ID with appended exception name #245

mpaluchowski opened this issue Mar 6, 2017 · 0 comments

Comments

@mpaluchowski
Copy link
Contributor

The following code:

component {
  public void function foo() {
    var aA = 1;
  }
}

will produce the issue:

  <issue severity="WARNING" id="PLUGIN_ERRORclass java.lang.NullPointerException" message="PLUGIN_ERRORclass java.lang.NullPointerException" category="CFLint" abbrev="PE">
    <location file="C:\Code\cflint-test\.\ajaxproduct.cfc" fileName="ajaxproduct.cfc" function="foo" column="3" line="4" message="PLUGIN_ERRORclass java.lang.NullPointerException" variable="">
      <Expression><![CDATA[var aA = 1]]></Expression>
    </location>
  </issue>

where the id attribute should only containt PLUGIN_ERROR but instead also has the appended classname of the exception that triggered the error.

ryaneberly added a commit that referenced this issue Mar 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants