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 258416 - AssertionError: nbfs://nbhost/org.netbeans.modules.dlight.libs.common.InvalidFileObjectSupport%24DummyFileSystem.ad11e71//net/volvo/export/devarea/sputnik-trunk/contrib/JConvert/JConvertStmtPrinterHel
Summary: AssertionError: nbfs://nbhost/org.netbeans.modules.dlight.libs.common.Invalid...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-17 12:05 UTC by Vladimir Voskresensky
Modified: 2017-04-13 10:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 223076


Attachments
stacktrace (2.38 KB, text/plain)
2016-03-17 12:05 UTC, Vladimir Voskresensky
Details
stacktrace (5.78 KB, text/plain)
2016-12-13 06:36 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Voskresensky 2016-03-17 12:05:43 UTC
Build: NetBeans IDE Dev (Build 20160317-474f4480153a)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15
OS: SunOS

User Comments:
vv159170: start debug session




Stacktrace: 
java.lang.AssertionError: nbfs://nbhost/org.netbeans.modules.dlight.libs.common.InvalidFileObjectSupport%24DummyFileSystem.ad11e71//net/volvo/export/devarea/sputnik-trunk/contrib/JConvert/JConvertStmtPrinterHelper.cpp == nbfs://nbhost/org.netbeans.modules.dlight.libs.common.InvalidFileObjectSupport%24DummyFileSystem.ad11e71/net/volvo/export/devarea/sputnik-trunk/contrib/JConvert/JConvertStmtPrinterHelper.cpp from InvalidFileObjectSupport$InvalidFileObject@ca01fc9[/net/volvo/export/devarea/sputnik-trunk/contrib/JConvert/JConvertStmtPrinterHelper.cpp]
   at org.openide.filesystems.FileObject.toURI(FileObject.java:1254)
   at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.hasRoot(SimpleFileOwnerQueryImplementation.java:241)
   at org.netbeans.modules.projectapi.SimpleFileOwnerQueryImplementation.getOwner(SimpleFileOwnerQueryImplementation.java:180)
   at org.netbeans.api.project.FileOwnerQuery.getOwner(FileOwnerQuery.java:116)
   at org.netbeans.modules.cnd.debugger.common2.debugger.breakpoints.types.LineBreakpoint$LineGroupProperties.getProjects(LineBreakpoint.java:267)
   at org.netbeans.modules.debugger.ui.models.BreakpointGroup.createGroups(BreakpointGroup.java:189)
Comment 1 Vladimir Voskresensky 2016-03-17 12:05:45 UTC
Created attachment 158906 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2016-03-17 12:08:12 UTC
Activate Breakpoints window with pre-set native breakpoints from old session
started debug session for ClankGenerated (java) and got exception
Comment 3 Alexander Simon 2016-12-13 06:36:46 UTC
Created attachment 163216 [details]
stacktrace

important steps was:
- opened C++ project JConvert, branch jclank
- in console update repository to default
- changed and commited some files
- in console update repository to jclank
- search for srting in opened projects
Comment 4 Alexander Simon 2016-12-13 06:40:08 UTC
hange component because stack contains cnd object:
InvalidFileObjectSupport$InvalidFileObject
It looks like remote file system ruined file object.
Comment 5 Alexander Simon 2016-12-13 06:40:49 UTC
Vladimir, please investigate.
Comment 6 Alexander Simon 2016-12-13 06:42:48 UTC
(In reply to Alexander Simon from comment #4)
> hange
Typo: Change
Comment 7 Vladimir Kvashin 2017-03-30 15:59:06 UTC
Any call to FileObject.toURI on InvalidFileObject leads to such assertion
Comment 8 Vladimir Kvashin 2017-03-30 17:25:18 UTC
fix:  dac74d289f8e
test: c38319da6169
on enum
Comment 9 Quality Engineering 2017-04-02 02:37:12 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c3f0ba3a9764
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #258416 - AssertionError: nbfs://nbhost/org.netbea....
(transplanted from dac74d289f8ef99628836284c7b1be66f89572b8)
Comment 10 ilia 2017-04-13 10:35:48 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=258416 Changesets:
    http://hg.netbeans.org/releases/rev/dac74d289f8e # fixed #258416 - AssertionError: nbfs://nbhost/org.netbea....
    http://hg.netbeans.org/releases/rev/c38319da6169 # test for #258416 - AssertionError: nbfs://nbhost/org.netbea....