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 214265 - Missing support for UserQuestionException in org.netbeans.modules.editor.bookmarks.ui.BookmarksView$8.run
Summary: Missing support for UserQuestionException in org.netbeans.modules.editor.book...
Status: RESOLVED WONTFIX
Alias: None
Product: editor
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 09:20 UTC by Rud0x1
Modified: 2015-09-17 11:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 189562


Attachments
stacktrace (1.35 KB, text/plain)
2012-06-15 09:20 UTC, Rud0x1
Details
stacktrace (1.40 KB, text/plain)
2012-10-11 08:11 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rud0x1 2012-06-15 09:20:23 UTC
This bug was originally marked as duplicate of bug 211496, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b22
OS: Windows XP

Stacktrace: 
org.openide.text.DataEditorSupport$1: The file N:/bps200/sw/ppc/map/jrc/src/jrcrep.cpp cannot be safely opened with encoding UTF-8. Do you want to continue opening it?
   at org.openide.text.DataEditorSupport.createAndThrowIncorrectCharsetUQE(DataEditorSupport.java:505)
   at org.openide.text.DataEditorSupport.loadFromStreamToKit(DataEditorSupport.java:495)
   at org.netbeans.modules.cnd.source.CppEditorSupport.loadFromStreamToKit(CppEditorSupport.java:219)
   at org.openide.text.CloneableEditorSupport.loadDocument(CloneableEditorSupport.java:2118)
   at org.openide.text.CloneableEditorSupport.access$2600(CloneableEditorSupport.java:129)
   at org.openide.text.CloneableEditorSupport$Listener.run(CloneableEditorSupport.java:2953)
Comment 1 Rud0x1 2012-06-15 09:20:30 UTC
Created attachment 120888 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-06-18 07:40:08 UTC
I have a feeling the call to openDocument comes from Bookmarks module. You should support UserQuestionException.
Comment 3 Alexander Simon 2012-10-11 08:11:17 UTC
Created attachment 125754 [details]
stacktrace
Comment 4 Exceptions Reporter 2013-02-12 17:10:48 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=189562
Comment 5 Martin Balin 2015-09-17 11:00:03 UTC
Report from old NetBeans version. Due to code changes since it was reported likely to not happen. Feel free to reopen if happens in 8.0.2 or 8.1.