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 150264 - java.io.IOException: Cannot run program "xdg-open": java.io.IOException: error=12, Cannot allocate memory
Summary: java.io.IOException: Cannot run program "xdg-open": java.io.IOException: erro...
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@ide
URL: http://statistics.netbeans.org/except...
Keywords:
: 161409 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-15 17:46 UTC by Exceptions Reporter
Modified: 2009-08-26 15:46 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 91831


Attachments
stacktrace (2.24 KB, text/plain)
2008-10-15 17:46 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2008-10-15 17:46:49 UTC
Build: NetBeans IDE 6.5 Beta (Build 200808111757)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc2-b32
OS: Linux, 2.6.24-19-generic, i386

User Comments:
ndwolf: opening php files.from the project

ndwolf: dont know



Stacktrace: 
java.io.IOException: Cannot run program "xdg-open": java.io.IOException: error=12, Cannot allocate memory
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:459)
        at org.netbeans.modules.extbrowser.NbDefaultUnixBrowserImpl.setURL(NbDefaultUnixBrowserImpl.java:92)
        at org.openide.awt.HtmlBrowser$1URLSetter.run(HtmlBrowser.java:493)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
        at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
Comment 1 Exceptions Reporter 2008-10-15 17:46:55 UTC
Created attachment 71885 [details]
stacktrace
Comment 2 Peter Zavadsky 2008-10-15 22:12:59 UTC
Well, this seems to be a problem from the outside process, which seems to be out or our hands.

One thing which probably could be made better from IDE handling this, is to inform user about this outside problem, and
suggest her to either check the functionality on her machine or change the default browser selection to something else,
and try that out, instead of showing the plain exception.
Comment 3 Peter Zavadsky 2008-12-22 20:27:39 UTC
Fixing of issue #155906, might help this one too. Check later.
Comment 4 Petr Jiricka 2009-08-18 12:10:13 UTC
Issue 155906 is now fixed, and there are no exception reports in the last 9 months, so this seems to be fixed.
Comment 5 Petr Jiricka 2009-08-26 15:46:45 UTC
*** Issue 161409 has been marked as a duplicate of this issue. ***