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 195272 - [70cat] NullPointerException at javax.swing.text.DefaultStyledDocument.getParagraphElement
Summary: [70cat] NullPointerException at javax.swing.text.DefaultStyledDocument.getPar...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Dialogs&Wizards (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
: 193609 194367 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-10 07:51 UTC by mperezma
Modified: 2011-02-16 11:33 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173895


Attachments
stacktrace (7.59 KB, text/plain)
2011-02-10 07:51 UTC, mperezma
Details
stacktrace (7.28 KB, text/plain)
2011-02-13 06:04 UTC, areeda
Details
stacktrace (7.28 KB, text/plain)
2011-02-13 06:07 UTC, areeda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mperezma 2011-02-10 07:51:24 UTC
Build: NetBeans IDE 7.0 Beta 2 (Build 201102052128)
VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06
OS: Linux

User Comments:
GUEST: CVS import

mperezma: I'm executing TS_61_CVS sanity test for [70cat].
This exception has been thrown when doing a Team -> CVS -> Checkout, with these parameters:

CVS Root: :pserver:mperezma@cvs.dev.java.net:/cvs
Password: (correct password)

Considerations:
- Other repositories worked as expected. 
- I've verified that 6.9.1 worked as expected with the same parameters.

mperezma: after connection failed to cvs pserver, I've updated dns for the host name (in /etc/hosts). After retrying, this exception has been trhown.

jocke: importing to subversion repository




Stacktrace: 
java.lang.NullPointerException
   at javax.swing.text.DefaultStyledDocument.getParagraphElement(DefaultStyledDocument.java:445)
   at javax.swing.text.StyledEditorKit$AttributeTracker.updateInputAttributes(StyledEditorKit.java:223)
   at javax.swing.text.StyledEditorKit$AttributeTracker.caretUpdate(StyledEditorKit.java:258)
   at javax.swing.text.JTextComponent.fireCaretUpdate(JTextComponent.java:391)
   at javax.swing.text.JTextComponent$MutableCaretEvent.fire(JTextComponent.java:4387)
   at javax.swing.text.JTextComponent$MutableCaretEvent.stateChanged(JTextComponent.java:4409)
Comment 1 mperezma 2011-02-10 07:51:28 UTC
Created attachment 105826 [details]
stacktrace
Comment 2 areeda 2011-02-13 06:04:23 UTC
Created attachment 105955 [details]
stacktrace

Running CVS tests (http://wiki.netbeans.org/TS_70_CVS) test #2.
Hit next after seting :ext: root, internal ssh but no password.
Comment 3 areeda 2011-02-13 06:07:21 UTC
Created attachment 105956 [details]
stacktrace
Comment 4 Stanislav Aubrecht 2011-02-14 11:05:31 UTC
reassigning to versioncontrol team for evaluation.
it seems an invalid html text is being used in some dialog window(s)
Comment 5 Stanislav Aubrecht 2011-02-14 11:12:20 UTC
*** Bug 194367 has been marked as a duplicate of this bug. ***
Comment 6 Stanislav Aubrecht 2011-02-14 12:11:49 UTC
*** Bug 193609 has been marked as a duplicate of this bug. ***
Comment 7 Ondrej Vrabec 2011-02-14 13:48:54 UTC
The message we're setting is till the same, i was able to reproduce while debugging the relevant part of code, it really seems caused by a simultaneous access to swing from different threads. Reassigning back to standa
Comment 8 Stanislav Aubrecht 2011-02-15 15:50:43 UTC
core-main a716d6ac6bad
Comment 9 Quality Engineering 2011-02-16 11:33:13 UTC
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a716d6ac6bad
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #195272 - modify wizard controls from EDT only