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 161260 - An error occurred during parsing of 'U:\www\cms\pub\config\cms.config.php'. Please report a bug against PHP and attach dump file 'C:\Users\Simon\.netbeans\dev\var\log\cms.config.php.dump'.
Summary: An error occurred during parsing of 'U:\www\cms\pub\config\cms.config.php'. P...
Status: RESOLVED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 15:04 UTC by treffynnon
Modified: 2009-04-10 08:23 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 148118


Attachments
stacktrace (2.38 KB, text/plain)
2009-03-26 15:04 UTC, treffynnon
Details
stacktrace (2.37 KB, text/plain)
2009-03-26 15:05 UTC, treffynnon
Details
The dump that the exception reporter is asking me to attach (3.92 KB, text/plain)
2009-03-27 13:02 UTC, treffynnon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description treffynnon 2009-03-26 15:04:03 UTC
Build: NetBeans IDE Dev (Build 200903091401)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: Windows Vista, 6.0, x86

User Comments:
treffynnon: changing from one file tab to another.

GUEST: Opening a PHP file over an SSHFS mounted share.

GUEST: Opened a new php file with the new file wizard.

GUEST: Just trying to view PHP file right after startup

GUEST: Opening CSS file

GUEST: Nohting, just starting netbeans... :S



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:348)
        at org.netbeans.editor.BaseDocument.setMimeType(BaseDocument.java:1584)
        at org.netbeans.editor.BaseDocument.access$1000(BaseDocument.java:112)
        at org.netbeans.editor.BaseDocument$MimeTypePropertyEvaluator.setValue(BaseDocument.java:2323)
        at org.netbeans.editor.BaseDocument$LazyPropertyMap.put(BaseDocument.java:2355)
        at org.netbeans.modules.editor.NbEditorDocument$2.put(NbEditorDocument.java:273)
Comment 1 treffynnon 2009-03-26 15:04:28 UTC
Created attachment 78910 [details]
stacktrace
Comment 2 treffynnon 2009-03-26 15:05:09 UTC
Build: NetBeans IDE Dev (Build 200903091401)
VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06, Java(TM) SE Runtime Environment, 1.6.0_01-b06
OS: Windows Vista, 6.0, x86

User Comments: 


Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.editor.BaseDocument$1.preferenceChange(BaseDocument.java:348)
        at org.netbeans.editor.BaseDocument.setMimeType(BaseDocument.java:1584)
        at org.netbeans.editor.BaseDocument.access$1000(BaseDocument.java:112)
        at org.netbeans.editor.BaseDocument$MimeTypePropertyEvaluator.setValue(BaseDocument.java:2323)
        at org.netbeans.editor.BaseDocument$LazyPropertyMap.put(BaseDocument.java:2355)
        at org.netbeans.modules.editor.NbEditorDocument$2.put(NbEditorDocument.java:273)
Comment 3 treffynnon 2009-03-26 15:05:18 UTC
Created attachment 78911 [details]
stacktrace
Comment 4 Vitezslav Stejskal 2009-03-26 15:42:28 UTC
The culprit is java.lang.NoClassDefFoundError: org/netbeans/modules/editor/settings/storage/spi/StorageFilter that
appears in the log file. This exceptions causes MimeLookup not to be initialized and later on when BaseDocument tries to
access Preferences in MimeLookup it can't find any.

The real question is why StorageFilter class can't be found. This is pretty much the same failure as in issue #160921.

Is this clean Netbeans build (no additional modules installed, eg from UC), fresh userdir? From the log file it looks
like you have python plugins installed? Is this correct? Is this actually reproducible? Thanks
Comment 5 treffynnon 2009-03-27 12:49:21 UTC
The Python plugins are in installed yes.  The Ant plugin is also installed.  This all started happening after I performed an 
update on the PHP module and then restarted the IDE as hinted by a tool tip at the bottom of the IDE.  I can now no longer use 
any of my nightlys are they are all breaking - the other builds freeze when I try to browse the files in my project and I have 
force kill them.
Comment 6 treffynnon 2009-03-27 12:51:10 UTC
I get the storage no def error as soon as the IDE starts by the way.
Comment 7 treffynnon 2009-03-27 13:02:58 UTC
Created attachment 78974 [details]
The dump that the exception reporter is asking me to attach
Comment 8 Exceptions Reporter 2009-03-27 21:01:12 UTC
This issue has already 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=148118
Comment 9 Vitezslav Stejskal 2009-03-31 11:25:37 UTC
Thanks for the info. I have absolutely no idea what is wrong. I just tried downloading several older nightly builds,
running them on my laptop and updating PHP, but I couldn't reproduce this problem. What is the latest dev version you
tried this on and got the exception? Maybe this is some sort of inconsistency on the Update Center, which will disappear
with newer dev builds...
Comment 10 treffynnon 2009-03-31 11:43:59 UTC
I have since uninstalled all versions of the Netbeans IDE and then re-installed the latest nightly.  Thankful it is 
working fine again now.
Comment 11 Vitezslav Stejskal 2009-04-10 08:23:46 UTC
Thanks for all the info. I'm still not sure what was wrong, but these reports seem to stop at around build 20090312 and
so I suspect that this was some sort of module dependency issue that has got corrected over time. If this happens in a
recent dev build please reopen. Thanks