corner imagecorner image FeaturesPluginsPlatformDocs & SupportCommunityPartners


[nbdev] Re: java.lang.AssertionError: nbfs://nbhost//

  • From: Martin Klähn < >
  • To:
  • Subject: [nbdev] Re: java.lang.AssertionError: nbfs://nbhost//
  • Date: Thu, 2 Feb 2012 09:44:01 +0100

Hi,

If http://netbeans.org/bugzilla/show_bug.cgi?id=207690 matches to what you're experiencing it should in all likelyhood be fixed in a more recent build. If not I guess you know what to do.

With regards
Martin

On Thu, Feb 2, 2012 at 7:43 AM, P.N. < "> > wrote:
Hello,

I've read about a change/deprecation concerning toURL/toURI - probably this is related to the following exception?


java.lang.AssertionError: nbfs://nbhost//
       at org.openide.filesystems.FileObject.toURI(FileObject.java:1165)
       at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:145)
       at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:93)
       at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:150)
       at org.netbeans.modules.java.project.ProjectSourceForBinaryQuery.findSourceRoots2(ProjectSourceForBinaryQuery.java:79)
       at org.netbeans.api.java.queries.SourceForBinaryQuery.findSourceRoots2(SourceForBinaryQuery.java:126)
       at org.netbeans.modules.parsing.impl.indexing.PathRegistry.createResources(PathRegistry.java:652)
       at org.netbeans.modules.parsing.impl.indexing.PathRegistry.getSources(PathRegistry.java:255)
       at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$RootsWork.getDone(RepositoryUpdater.java:3789)
[catch] at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Work.doTheWork(RepositoryUpdater.java:2735)
       at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task._run(RepositoryUpdater.java:4831)
       at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.access$4800(RepositoryUpdater.java:4524)
       at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task$2.run(RepositoryUpdater.java:4775)
       at org.netbeans.modules.parsing.impl.RunWhenScanFinishedSupport.performScan(RunWhenScanFinishedSupport.java:95)
       at org.netbeans.modules.parsing.impl.indexing.RepositoryUpdater$Task.run(RepositoryUpdater.java:4771)
       at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
       at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
       at java.util.concurrent.FutureTask.run(FutureTask.java:138)
       at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1404)
       at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1984)


I didn't change my internet preferences, and I don't have connection problems, so it must be NB-related. Probably toURI doesn't know how to resolve internal URIs?

Just wanted to ask before filing a bug, because don't know how to classify this (and probably I could just fix it by changing some setting, removing some preferences file etc.).

Kind regards
Peter




--
Martin Klähn

* Software Architect

* XING: https://www.xing.com/profile/Martin_Klaehn

Join the NetBeans Groups:
* XING: http://www.xing.com/group-20148.82db20
* NUGM: http://haug-server.dyndns.org/display/NUGM/Home
* Oracle: https://mix.oracle.com/groups/18497


[nbdev] java.lang.AssertionError: nbfs://nbhost//

P.N. 02/02/2012

[nbdev] Re: java.lang.AssertionError: nbfs://nbhost//

Martin Klähn 02/02/2012

[nbdev] Re: java.lang.AssertionError: nbfs://nbhost//

Peter Nabbefeld 02/02/2012

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 12 members.
 
 
Close
loading
Please Confirm
Close