Re: Fwd: RE: Re[4]: [nbusers] pmd-netbeans 0.6 released

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1039204818.1161.468.camel@proto>
Thanks. I can't reproduce it, and unfortunately the javaparser
module was compiled without debug information so there are no line
numbers for those methods.  I've updated the ant build file to
unconditionally turn on debugging info now that I'm still developing
these modules;  would you mind updating your CVS copy, rebuild it,
and reproducing the bug and sending me an updated stack trace?
I also added in a couple of safeguard checks, so it's possible that
the bug has been fixed in this update - so don't sweat if it's
not reproducible anymore.

I also added some quick code I thought of last night which eliminates
most problems associated with multiple statements, declarations or
function calls on the same line as an unused field/local variable.
Try it and report back if you find any problems with it.

-- Tor

On Fri, 2002-12-06 at 05:09, andrew wrote:
> Tor, I'm forwarding the message as Vangos have pointed me.
> Andrew
> 
> ===================================
> This is a forwarded message
> From: Konstantinis Evagelos  ([email protected]) <[email protected]>
> To: [email protected] <[email protected]>
> Date: Friday, December 6, 2002, 4:00:09 PM
> Subject: [nbusers] pmd-netbeans 0.6 released
> 
> andrew, 
> you must write to [email protected] for this bug as Tor said,
> 
> Please see the last mail send by Tor.
> 
> Vangos.
> 
> -----Original Message-----
> From: andrew [mailto:[email protected]]
> Sent: Friday, December 06, 2002 2:50 PM
> To: Tor Norbye
> Subject: Re[4]: [nbusers] pmd-netbeans 0.6 released
> 
> 
> Hello Tor,
> 
> Thanks for your quick commit. It works!
> 
> And this is first feedback :-) - the exception is below.
> To reproduce:
> 
> 1. Make syntax error in java file.
> 2. Double-click appropriate line in SView
> 3. Fix error, compile.
> 4. See exception.
> 
> java.lang.NullPointerException
>         at
> org.netbeans.modules.tasklist.javaparser.ErrorSuggester.scan(Unknown Source)
>         at
> org.netbeans.modules.tasklist.javaparser.ErrorSuggester.errorsChanged(Unknow
> n Source)
>         at
> org.netbeans.modules.java.JavaEditor.notifyErrorsChanged(JavaEditor.java:238
> )
>         at
> org.netbeans.modules.java.JavaEditor.detachAnnotations(JavaEditor.java:511)
>         at
> org.netbeans.modules.java.JavaEditor.processAnnotations(JavaEditor.java:487)
>         at
> org.netbeans.modules.java.JavaEditor.access$400(JavaEditor.java:80)
> [catch] at org.netbeans.modules.java.JavaEditor$2.run(JavaEditor.java:273)
>         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:448)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
> va:197)
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
> :150)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
>         at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
> 
> 
> br,
> a
> 
> ====================================
> 
> TN> On Fri, 6 Dec 2002, andrew wrote:
> 
> TN>  | Hello Tor,
> TN>  | 
> TN>  | I'm in impatience for your commit: screenshorts are very promising.
> TN>  | 
> 
> TN> Well I've put it into CVS. Warning - this is only for people who
> TN> have built their own NetBeans from sources.
> 
> ...
> TN>  | TN> -- Tor
> ###########################################
> 
> This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
-- 
Tor Norbye <[email protected]>
Sun Microsystems, Inc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.