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 241627 - org.netbeans.modules.maven.api.FileUtilities.convertStringToUri: LowPerformance took 20175 ms.
Summary: org.netbeans.modules.maven.api.FileUtilities.convertStringToUri: LowPerforman...
Status: NEW
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@guibuilder
Depends on:
Reported: 2014-02-10 10:01 UTC by Exceptions Reporter
Modified: 2014-02-25 10:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 189333

nps snapshot (17.02 KB, application/nps)
2014-02-10 10:01 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-02-10 10:01:40 UTC
Build: NetBeans IDE 7.3.1 (Build 201306052037)
VM: Java HotSpot(TM) Client VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b17
OS: Windows 7

User Comments:
GUEST: Hilighting a section of code, right-clicking to copy selection. Context menu took a long time to come up.

GUEST: Dragging Tabbed Pane on Panel took a long time.

Maximum slowness yet reported was 20175 ms, average is 11756
Comment 1 Exceptions Reporter 2014-02-10 10:01:42 UTC
Created attachment 144975 [details]
nps snapshot
Comment 2 Milos Kleint 2014-02-10 13:26:13 UTC
one call to native IO method takes a long time. Originates in form editor.
Comment 3 Quality Engineering 2014-02-14 02:52:04 UTC
Integrated into 'main-silver', will be available in build *201402140001* on (upload may still be in progress)

User: Tomas Pavek <>
Log: #241627: more diagnostics, printing stacktrace where a group was removed unexpectedly
Comment 4 Tomas Pavek 2014-02-25 10:23:33 UTC
The above changeset has wrong bug number in the log message, should have been bug 240634.
Comment 5 Tomas Pavek 2014-02-25 10:45:03 UTC
Currently two reports, the first one does not seem to show any long FileUtilities.convertStringToUri call (and nothing from GUI builder), in the second report there's a long call which directly leads to a long call of native method for getting file attributes. I.e. this is a stuck file system, likely  overloaded by other I/O operations. We can't do anything about that.

In the second snapshot there's a project classloader requested, which is supposed to be already created (so cheap) but maybe it is not always the case in maven projects, and in this particular case we won't need it anyway as loading a module class (for tabbed pane support) - so potentially could determine that before trying project classloader. But not sure if it is worth the effort.