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 - ClassCastException: java.base/java.net.URL cannot be cast to org.openide.loaders.DataObject
Summary: ClassCastException: java.base/java.net.URL cannot be cast to org.openide.load...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: Hints & Annotations (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-21 13:51 UTC by soldatov
Modified: 2018-02-16 06:23 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 227677


Attachments
stacktrace (1.16 KB, text/plain)
2017-10-21 13:51 UTC, soldatov
Details
stacktrace (584 bytes, text/plain)
2018-02-16 06:23 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
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.