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 50448 - java.lang.IllegalStateException when trying to "view" an XML file
Summary: java.lang.IllegalStateException when trying to "view" an XML file
Status: CLOSED DUPLICATE of bug 48590
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-14 19:07 UTC by wqtnetbeans
Modified: 2008-12-22 17:59 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.IllegalStateException while viewing XML file (18.71 KB, text/plain)
2004-10-14 19:08 UTC, wqtnetbeans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wqtnetbeans 2004-10-14 19:07:34 UTC
nb4.0 beta2

reproduce steps:
1. Right-click a folder within the "Favorates"
tab, and select "new -> file/directory"; enter
"my.xml" as the file name.
2. Paste a XML file to the XML editor. Right-click
and select "check XML" and make sure it's
well-formed. Save the file.
3. Right-click "my.xml" node, and select "view".

Expected result: A tree structured view of "my.xml".

Actuall result:  java.lang.IllegalStateException.

Will attach message.log 

Thanks,
Qingtian
Comment 1 wqtnetbeans 2004-10-14 19:08:44 UTC
Created attachment 18302 [details]
java.lang.IllegalStateException while viewing XML file
Comment 2 Petr Pisl 2004-10-15 10:45:27 UTC
I can't reproduce either on linux nor on Windows XP. I tried it as
well with JDK 1.4.2 and JDK 1.5.0. The exception is from
SwingHTMLBrowser, so it's not xml issue.

Can't reproduce -> downgrade to P2
This is SwingBrowser Issue -> reassign to cor
Comment 3 _ ttran 2004-10-15 14:32:45 UTC
something to do with lookup?
Comment 4 Jaroslav Tulach 2004-10-15 15:23:07 UTC

*** This issue has been marked as a duplicate of 48590 ***
Comment 5 Tomas Danek 2005-08-01 08:38:03 UTC
verified as duplicate