HR fix for issue #236019

Petr Pisl <[email protected]> Mon, 16 Sep 2013 15:11:45 +0200
Newsgroups gmane.comp.java.netbeans.reviewers
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--------------000904000409090504020909
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

*236019* 
<https://netbeans.org/bugzilla/show_bug.cgi?id=236019>-NullPointerException 
at 
org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveAssignments

https://netbeans.org/bugzilla/show_bug.cgi?id=236019

This NPE is very visible after fixing issue #233815 
https://netbeans.org/bugzilla/show_bug.cgi?id=233815
that is fix of a performance problem. The NPE was there always, but not 
such visible as now after changing the default value of type resolution 
for code completion items.

Fix is simple and it doesn't brink a risk.

The change set is: http://hg.netbeans.org/web-main/rev/d739b503f7ff

Thanks,

  Petr
<https://netbeans.org/bugzilla/show_bug.cgi?id=233815>

--------------000904000409090504020909
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=236019"
      style="color: rgb(35, 86, 157); font-weight: normal;
      text-decoration: underline; font-family: Verdana, 'Verdana CE',
      Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE',
      sans-serif; font-size: 15px; font-style: normal; font-variant:
      normal; letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px;"><b style="font-size: 1em;">236019</b></a><span
      style="color: rgb(51, 51, 51); font-family: Verdana, 'Verdana CE',
      Arial, 'Arial CE', 'Lucida Grande CE', lucida, 'Helvetica CE',
      sans-serif; font-size: 15px; font-style: normal; font-variant:
      normal; font-weight: bold; letter-spacing: normal; line-height:
      16px; orphans: auto; text-align: left; text-indent: 0px;
      text-transform: none; white-space: normal; widows: auto;
      word-spacing: 0px; -webkit-text-stroke-width: 0px;
      background-color: rgb(208, 208, 208); display: inline !important;
      float: none;"><span class="Apple-converted-space">&nbsp;</span>-</span><span
      id="summary_alias_container" style="color: rgb(51, 51, 51);
      font-family: Verdana, 'Verdana CE', Arial, 'Arial CE', 'Lucida
      Grande CE', lucida, 'Helvetica CE', sans-serif; font-size: 15px;
      font-style: normal; font-variant: normal; font-weight: bold;
      letter-spacing: normal; line-height: 16px; orphans: auto;
      text-align: left; text-indent: 0px; text-transform: none;
      white-space: normal; widows: auto; word-spacing: 0px;
      -webkit-text-stroke-width: 0px;"><span
        class="Apple-converted-space">&nbsp;</span><span
        id="short_desc_nonedit_display">NullPointerException at
org.netbeans.modules.javascript2.editor.model.impl.ModelUtils.resolveAssignments<br>
        <br>
      </span></span>
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=236019">https://netbeans.org/bugzilla/show_bug.cgi?id=236019</a><br>
    <br>
    This NPE is very visible after fixing issue #233815&nbsp;
    <meta http-equiv="content-type" content="text/html;
      charset=ISO-8859-1">
    <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=233815">https://netbeans.org/bugzilla/show_bug.cgi?id=233815
    </a><br>
    that is fix of a performance problem. The NPE was there always, but
    not such visible as now after changing the default value of type
    resolution for code completion items. <br>
    <br>
    Fix is simple and it doesn't brink a risk. <br>
    <br>
    The change set is: <a class="moz-txt-link-freetext" href="http://hg.netbeans.org/web-main/rev/d739b503f7ff">http://hg.netbeans.org/web-main/rev/d739b503f7ff</a><br>
    <br>
    Thanks,<br>
    <br>
    &nbsp;Petr<br>
    <a href="https://netbeans.org/bugzilla/show_bug.cgi?id=233815"></a>
  </body>
</html>

--------------000904000409090504020909--