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 37614 - NPE from toString
Summary: NPE from toString
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2003-11-29 09:17 UTC by Jaroslav Tulach
Modified: 2011-02-17 09:30 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 Jaroslav Tulach 2003-11-29 09:17:54 UTC
During build
http://www.netbeans.org/download/dev/buildlogs/continuous/20031128-1724/xtest_results/index.html
there was a NPE
http://www.netbeans.org/download/dev/buildlogs/continuous/20031128-1724/xtest_results/testrun_031128-182800/testbag_4/htmlresults/suites/TEST-validation.IDECommitValidation.html#validation.IDEValidation.testWindowSystem

Starting as:
 java.lang.NullPointerException
	at
org.netbeans.lib.terminalemulator.Term.getCursorCoord(Term.java:4163)
	at
org.netbeans.core.output.OutputTabInner.toString(OutputTabInner.java:328)
	at java.lang.String.valueOf(String.java:2173)
	at
java.lang.StringBuffer.append(StringBuffer.java:369)
Comment 1 _ tboudreau 2003-11-29 09:49:14 UTC
The hotfix for this was removed when the winsys was integrated.  So
it's back.

The problem is Jemmy/Jelly is calling OutputTabInner.toString() while
its constructor is running.  See my post to nbdev/broken builds re this.

So, sorry Jiri, it's your problem this time.
Comment 2 Jiri Skrivanek 2003-12-02 06:59:18 UTC
Reassigning to jemmy. As Tim suggested we will call toString() from
AWT thread.
Comment 3 Jiri Skrivanek 2004-01-19 15:01:00 UTC
Fixed in jemmy version 2.2.4.7.