This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 105444 - error parser regression (EmptyStackException)
Summary: error parser regression (EmptyStackException)
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: _ nzero2002
URL:
Keywords:
: 106225 107939 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-06-01 22:51 UTC by Thomas Preisler
Modified: 2007-11-29 12:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2007-06-01 22:51:23 UTC
Compile HelloApp on Windows:

java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:79)
	at java.util.Stack.pop(Stack.java:61)
	at
org.netbeans.modules.cnd.execution.OutputWindowWriter$GCCErrorParser.handleLine(OutputWindowWriter.java:405)
	at
org.netbeans.modules.cnd.execution.OutputWindowWriter.handleLine(OutputWindowWriter.java:157)
	at
org.netbeans.modules.cnd.execution.OutputWindowWriter.write(OutputWindowWriter.java:81)
	at java.io.Writer.write(Writer.java:92)
	at java.io.PrintWriter.write(PrintWriter.java:333)

The build fails and project will not run making this a P1.

The regression is caused by latest changes to OutputWindowWriter. If I back out
the changes, the EmptyStackException goes away.
Comment 1 _ nzero2002 2007-06-05 14:14:29 UTC
IDE:-------------------------------------------------
IDE: [6/5/07 5:14 PM] Committing "OutputWindowWriter.java" started
Checking in OutputWindowWriter.java;
/cvs/cnd/core/src/org/netbeans/modules/cnd/execution/OutputWindowWriter.java,v 
<--  OutputWindowWriter.java
new revision: 1.1.2.11.4.3; previous revision: 1.1.2.11.4.2
done
IDE: [6/5/07 5:14 PM] Committing "OutputWindowWriter.java" finished
Comment 2 _ nzero2002 2007-06-15 16:20:18 UTC
*** Issue 106225 has been marked as a duplicate of this issue. ***
Comment 3 _ nzero2002 2007-07-10 13:09:37 UTC
*** Issue 107939 has been marked as a duplicate of this issue. ***
Comment 4 soldatov 2007-11-29 12:11:09 UTC
Verified in Netbeans 6.0RC2