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 182518 - NPE from FileResourceRetriever.retrieveDocument
Summary: NPE from FileResourceRetriever.retrieveDocument
Status: RESOLVED FIXED
Alias: None
Product: xml
Classification: Unclassified
Component: Retriever (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Vladimir Yaroslavskiy
URL: https://hudson.dev.java.net/svn/hudso...
Keywords:
: 181248 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-22 18:25 UTC by Jesse Glick
Modified: 2012-02-13 09:31 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 Jesse Glick 2010-03-22 18:25:06 UTC
100322-3796bc229799, JDK 6, Ubuntu. Made a trivial edit to hudson/trunk/plugins/mercurial/src/main/resources/hudson/plugins/mercurial/MercurialChangeSetList/index.jelly and got on console (3x):

java.lang.NullPointerException
	at java.net.URI$Parser.parse(URI.java:3003)
	at java.net.URI.<init>(URI.java:578)
	at org.netbeans.modules.xml.retriever.impl.FileResourceRetriever.retrieveDocument(FileResourceRetriever.java:94)
	at org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:248)
	at org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.doGetModelSource(CatalogModelImpl.java:233)
	at org.netbeans.modules.xml.retriever.catalog.impl.CatalogModelImpl.getModelSource(CatalogModelImpl.java:168)
	at org.netbeans.modules.xml.schema.completion.util.DefaultModelProvider.getCompletionModel(DefaultModelProvider.java:115)
	at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.specialCompletion(CompletionContextImpl.java:780)
	at org.netbeans.modules.xml.schema.completion.util.CompletionContextImpl.initModels(CompletionContextImpl.java:741)
	at org.netbeans.modules.xml.schema.completion.CompletionQuery.getCompletionItems(CompletionQuery.java:104)
	at org.netbeans.modules.xml.schema.completion.CompletionQuery.query(CompletionQuery.java:81)
[catch] at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:218)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1356)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1894)
Comment 1 Sergey Lunegov 2010-03-29 10:10:50 UTC
Vladimir, please take a look
Comment 2 Vladimir Yaroslavskiy 2010-06-10 14:39:38 UTC
Please, attach the file.
Comment 3 Vladimir Yaroslavskiy 2010-06-11 07:30:05 UTC
fixed.
Comment 4 Quality Engineering 2010-06-12 06:50:37 UTC
Integrated into 'main-golden', will be available in build *201006120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/9398e02d9c9a
User: Vladimir Yaroslavskiy <yaroslavskiy@netbeans.org>
Log: [Bug #182518] NPE from FileResourceRetriever.retrieveDocument
Comment 5 Svata Dedic 2012-02-13 09:31:19 UTC
*** Bug 181248 has been marked as a duplicate of this bug. ***