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 271680

Summary: ClassCastException: java.base/java.net.URL cannot be cast to org.openide.loaders.DataObject
Product: editor Reporter: soldatov <soldatov>
Component: Hints & AnnotationsAssignee: Milutin Kristofic <mkristofic>
Status: NEW ---    
Severity: normal CC: jockel
Priority: P3    
Version: Dev   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 227677
Attachments: stacktrace
stacktrace

Description soldatov 2017-10-21 13:51:11 UTC
This issue was reported manually by soldatov.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 201710040002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9.0.1+11, Java(TM) SE Runtime Environment, 9.0.1+11
OS: Windows 10

User Comments:
soldatov: hyperlink in JavaDoc

jockel: I opened the JavaDoc for javax.json.Json#createReader (via Ctrl+Space) and clicked on the link inside the opened JavaDoc documentation which points to http://tools.ietf.org/rfc/rfc4627.txt. After clicking the link the exception occured.




Stacktrace: 
java.lang.ClassCastException: java.base/java.net.URL cannot be cast to org.openide.loaders.DataObject
   at org.netbeans.modules.editor.hints.HintsControllerImpl.setErrors(HintsControllerImpl.java:93)
   at org.netbeans.spi.editor.hints.HintsController$1.run(HintsController.java:84)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1443)
   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:2058)
Comment 1 soldatov 2017-10-21 13:51:13 UTC
Created attachment 165332 [details]
stacktrace
Comment 2 Exceptions Reporter 2018-02-15 12:38:30 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227677
Comment 3 Exceptions Reporter 2018-02-15 12:47:30 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227677
Comment 4 Exceptions Reporter 2018-02-15 12:56:29 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227677
Comment 5 Exceptions Reporter 2018-02-15 13:05:29 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=227677
Comment 6 Exceptions Reporter 2018-02-16 06:23:29 UTC
Created attachment 165632 [details]
stacktrace

Please fix this Problem.