Skip to content

Help > Online Guide doesn't open #7010

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
DartBot opened this issue Nov 28, 2012 · 18 comments
Closed

Help > Online Guide doesn't open #7010

DartBot opened this issue Nov 28, 2012 · 18 comments
Assignees
Labels
os-linux P3 A lower priority bug or feature request
Milestone

Comments

@DartBot
Copy link

DartBot commented Nov 28, 2012

This issue was originally filed by [email protected]


What steps will reproduce the problem?

  1. Click Help menu > Online Guide

What is the expected output? What do you see instead?
I expected to see the online guide. Instead a dialog popped up titled "Problems Opening Link" saying "Unable to open web browser on {0}".

What version of the product are you using? On what operating system?
Dart Editor version 0.2.6_r15355
Ubuntu 12.04.1 LTS

Please provide any additional information below.
Exception in thread "About Link Launcher" java.lang.NullPointerException
        at org.eclipse.ui.internal.browser.DefaultWebBrowser.openWebBrowserError(DefaultWebBrowser.java:181)
        at org.eclipse.ui.internal.browser.DefaultWebBrowser.access$5(DefaultWebBrowser.java:180)
        at org.eclipse.ui.internal.browser.DefaultWebBrowser$1.run(DefaultWebBrowser.java:107)

@anders-sandholm
Copy link
Contributor

Added Area-Editor, Triaged labels.

@clayberg
Copy link

clayberg commented Dec 4, 2012

Added this to the M3 milestone.

@clayberg
Copy link

clayberg commented Dec 5, 2012

Set owner to @jwren.

@jwren
Copy link
Member

jwren commented Feb 12, 2013

Cannot reproduce.


Added CannotReproduce label.

@DartBot
Copy link
Author

DartBot commented Feb 12, 2013

This comment was originally written by [email protected]


I've re-tested with the newest version. I'm still getting the dialog but it doesn't look like the exception appears anymore.

Dart Editor version 0.3.5_r18300
Ubuntu 12.10
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)

@jwren
Copy link
Member

jwren commented Feb 15, 2013

Re-opening case. Thanks for the information. I think that the cause of this is the version of Linux you are on. Are you able to open up any of the other links from the Editor? Have you tried setting a default browser in your OS and trying again?


Removed this from the M3 milestone.
Added this to the M4 milestone.
Added OpSys-Linux, Accepted labels.

@DartBot
Copy link
Author

DartBot commented Feb 16, 2013

This comment was originally written by [email protected]


I'm not able to open any links apparently. Running launches Chromium/Dartium as expected. Dart2js runs does actually throw the previously written exception. There's a default browser set on my system (Chrome).

I wrote a quick java program to launch a URL in the default browser. When run, it correctly launches Chrome showing google.com. It's not using the eclipse classes but shows that java is able to launch the default browser.


Attachment:
defaultbrowsertest.java (525 Bytes)

@DartBot
Copy link
Author

DartBot commented Mar 12, 2013

This comment was originally written by [email protected]


This seems to be caused by not having firefox installed. As a workaround I made a symlink (/usr/local/bin/firefox -> /usr/bin/google-chrome), restarted Dart Editor and all links seems to open.

@tomball
Copy link
Contributor

tomball commented Mar 19, 2013

I'm seeing a related problem: on an Ubuntu system with both Chrome and Firefox installed, and Chrome is the default application for opening html files, Dart Help opens in Firefox. Eclipse Help opens in Chrome, so it's a Dart Editor-specific issue, not a misconfiguration on my system.

Attached is a screen shot of the Eclipse Web Browser preferences on my system, showing the correct configuration. More importantly, it looks like adding the module that manages this preference will both fix this Dart Editor problem, and add a nice feature that's generally useful for any any app based on Eclipse.


Attachment:
eclipse-props.png (63.41 KB)

@jwren
Copy link
Member

jwren commented Apr 5, 2013

Bumping M4 issues to M5- highest priority for me up through M4 release is the Analysis Engine implementation and performance.


Removed this from the M4 milestone.
Added this to the M5 milestone.

@jwren
Copy link
Member

jwren commented Apr 25, 2013

Assigning to you since I don't have a machine to reproduce.


Set owner to @stevemessick.

@stevemessick
Copy link
Contributor

Removed this from the M5 milestone.
Added this to the Later milestone.
Removed Priority-Medium label.
Added Priority-Low, Triaged labels.

@stevemessick
Copy link
Contributor

You were working one this, IIRC.


Set owner to @jwren.

@whesse
Copy link
Contributor

whesse commented Jul 23, 2013

I can reproduce this on my linux desktop at work - the default browser for ubuntu (Cinnamon) is Chrome, but Dart Editor/Help/Online Guide opens in Firefox.

@DartBot
Copy link
Author

DartBot commented Aug 23, 2013

This comment was originally written by [email protected]


I know I'm late, but I am having this same problem. Just downloaded Dart package. Am running Xubuntu 13.04, Chrome is the default browser. I get the "Unable to open web browser on {0}" message. Any fixes?

Note: I moved the dart/ folder to /usr/local/dart/

@jwren
Copy link
Member

jwren commented Aug 23, 2013

This was fixed recently by Konstantin. Our next builds should include the bug fix.


Added Fixed label.

@clayberg
Copy link

clayberg commented Sep 5, 2013

Removed this from the Later milestone.
Added this to the M7 milestone.

@DartBot
Copy link
Author

DartBot commented Mar 30, 2014

This comment was originally written by [email protected]


I have just experienced this in Dart editor 1.2.0. Possible regression?

@DartBot DartBot added Type-Defect P3 A lower priority bug or feature request os-linux labels Mar 30, 2014
@DartBot DartBot added this to the M7 milestone Mar 30, 2014
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os-linux P3 A lower priority bug or feature request
Projects
None yet
Development

No branches or pull requests

7 participants