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 171877 - NullPointerException: Netbeans documents must have 'mimeType' property: class javax.swing.text.html.HTMLDocument@3bbe7
Summary: NullPointerException: Netbeans documents must have 'mimeType' property: class...
Status: RESOLVED FIXED
Alias: None
Product: db
Classification: Unclassified
Component: SQL Editor (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 09:18 UTC by David Strupl
Modified: 2009-09-11 21:44 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 158200


Attachments
stacktrace (5.11 KB, text/plain)
2009-09-10 09:19 UTC, David Strupl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2009-09-10 09:18:55 UTC
This issue was originally marked as duplicate of issue 155686, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200909081533)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Linux, 2.6.24-24-generic, i386

User Comments:
dstrupl: 1. open the sql editor
2. create table uziv (id integer primary key, name varchar(50));
3. select * from uziv;
4. click "insert records" or Alt-I
5. try to fill the table
6. try to select the error message after "Show SQL"



Stacktrace: 
java.lang.NullPointerException: Netbeans documents must have 'mimeType' property: class javax.swing.text.html.HTMLDocument@3bbe7
        at org.netbeans.modules.parsing.api.Source.create(Source.java:164)
        at org.netbeans.modules.parsing.impl.event.EventSupport$EditorRegistryListener.editorRegistryChanged(EventSupport.java:347)
        at org.netbeans.modules.parsing.impl.event.EventSupport$EditorRegistryListener$1.propertyChange(EventSupport.java:308)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at org.netbeans.api.editor.EditorRegistry.fireEvents(EditorRegistry.java:502)
        at org.netbeans.api.editor.EditorRegistry.focusGained(EditorRegistry.java:313)
Comment 1 David Strupl 2009-09-10 09:19:01 UTC
Created attachment 87409 [details]
stacktrace
Comment 2 Jiri Rechtacek 2009-09-10 14:44:11 UTC
core-main/rev/482e646d8155
Comment 3 David Strupl 2009-09-10 16:00:28 UTC
Did you mean to mark this as fixed?
Comment 4 Jiri Rechtacek 2009-09-10 16:13:50 UTC
Yes, I did. Thanks
Comment 5 Quality Engineering 2009-09-11 21:44:52 UTC
Integrated into 'main-golden', will be available in build *200909111401* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/482e646d8155
User: Jiri Rechtacek <jrechtacek@netbeans.org>
Log: #171877: NullPointerException: Netbeans documents must have 'mimeType' property: class javax.swing.text.html.HTMLDocument@3bbe7