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 120105 - Cannot create a new XML document
Summary: Cannot create a new XML document
Status: VERIFIED DUPLICATE of bug 119870
Alias: None
Product: xml
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 blocker (vote)
Assignee: Sonali Kochar
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-25 22:39 UTC by rocko
Modified: 2007-11-02 17:34 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
my messages.log (879.48 KB, text/plain)
2007-10-25 23:21 UTC, rocko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rocko 2007-10-25 22:39:10 UTC
When I say New.. and then choose XML Document, I enter a name and click next. I select either well-formed or
DTD-constrained. In either case, the Finish button is enabled but when I press it nothing happens.
Comment 1 Sonali Kochar 2007-10-25 22:59:32 UTC
Are there any errors in the messages.log file? What version of JDK? 
Comment 2 tonybeckham 2007-10-25 23:20:43 UTC
Product Version: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: Linux version 2.6.22-14-generic running on i386; UTF-8; en_US (nb)

Unable to reproduce on Linux.  Maybe related to issue 118159...?  
Comment 3 rocko 2007-10-25 23:21:41 UTC
Created attachment 51734 [details]
my messages.log
Comment 4 Sonali Kochar 2007-10-25 23:27:37 UTC
The stack trace shows a NPE in EncodingUtil.getProjectEncoding..This is same as P1 bug 119870

http://www.netbeans.org/issues/show_bug.cgi?id=119870
NPE in EncodingUtil

*** This issue has been marked as a duplicate of 119870 ***
Comment 5 rocko 2007-10-25 23:30:06 UTC
Oh! The problem does not occur in a standard form project (Java Application).
The problem occurred in a free-form project I had created in NB5.5 !!
There I still have the problem after restarting the IDE.
Comment 6 Sonali Kochar 2007-10-25 23:33:35 UTC
119870 occurs in a free-form project or in any project that has encoding set to <No Encoding>
Comment 7 Mikhail Matveev 2007-11-02 17:34:34 UTC
Verified duplicate