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 251056 - NPE in MimePath.getLookup
Summary: NPE in MimePath.getLookup
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Options (show other bugs)
Version: 8.1
Hardware: PC Linux
: P1 normal (vote)
Assignee: Svata Dedic
URL: http://deadlock.netbeans.org/job/ergo...
Keywords: REGRESSION, TEST
Depends on:
Blocks:
 
Reported: 2015-03-10 09:09 UTC by Jaroslav Tulach
Modified: 2015-03-17 08:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2015-03-10 09:09:52 UTC
There is current 15 failing ergonomics tests: 

>>> org.netbeans.modules.autoupdate.services.FeatureIncompleteTest.testIncompleteFeature 	0.06	6
>>> org.netbeans.nbbuild.FixTestDependenciesTest.testStandalone 	0.278	6
>>> org.netbeans.nbbuild.FixTestDependenciesTest.testSimple 	0.019	6
>>> org.openide.text.AnnotationProviderTest.testAnnotationProviderIsCalledCorrectly 	0.599	6
>>> org.openide.text.DataEditorSupportTest.testSaveOpenConcurrent 	0.119	6
>>> org.openide.text.DataEditorSupportTest.testChangeFile 	0.019	6
>>> org.openide.text.DataEditorSupportTest.testChangeFileWhileOpen 	0.031	6
>>> org.openide.text.DataEditorSupportTest.testItCanBeGCedIssue57565 	0.035	6
>>> org.openide.text.DataEditorSupportTest.test68015 	0.015	6
>>> org.openide.text.FileEncodingQueryDataEditorSupportTest.testFileEncodingQuery 	0.713	6
>>> org.openide.text.PeterZMoveTest.testWhenMovingAFileNoLockshallBetakenNoSave 	0.675	6
>>> org.openide.text.PeterZMoveTest.testWhenMovingAFileNoLockshallBetaken 	0.006	6
>>> org.openide.text.SimpleDESFactoryTest.testItIsPossibleToMaskEditCookie 	1.822	6
>>> org.openide.text.SimpleDESTest.testItIsPossibleToMaskEditCookie 	1.793	6
>>> org.openide.text.SimpleFactoryTest.testOurNodeSubclassCreated 

mostly failing with NPE in MimePath:

Caused by: java.lang.NullPointerException
	at org.netbeans.api.editor.mimelookup.MimePath.getLookup(MimePath.java:513)
	at org.netbeans.api.editor.mimelookup.MimeLookup.getLookup(MimeLookup.java:117)
	at org.openide.text.CloneableEditorSupport.getEditorKit(CloneableEditorSupport.java:1449)
	at org.openide.text.CloneableEditorSupport.createEditorKit(CloneableEditorSupport.java:1474)
	at org.openide.text.DocumentOpenClose$DocumentLoad.run(DocumentOpenClose.java:644)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1425)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:68)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:303)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2038)

Please fix that as all integrations from ergonomics repository are blocked now.
Comment 1 Svata Dedic 2015-03-17 08:19:06 UTC
Fixed by jet-main#50093b482071