Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#2352 closed defect (fixed)

Help -> Help -> Error

Reported by: anonymous Owned by: team
Priority: major Component: Core
Version: latest Keywords:
Cc:

Description

Hello,
if I click on "Help" in the menu "Help" the first time this error appears. The second time alsways works.:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 1.6.0_0-b12 (Sun Microsystems Inc.)
Main-class: JOSM
Main-Version: 1510 SVN
Main-Date: 2009-03-20T17:06:55.563236ZJava version: 1.6.0_0
Plugins: openstreetbugs;validator;wmsplugin
Plugin openstreetbugs Version: 14015
Plugin validator Version: 14123
Plugin wmsplugin Version: 14120

java.lang.IllegalArgumentException: protocol = http host = null

at sun.net.spi.DefaultProxySelector.select(DefaultProxySelector.java:164)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:742)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:672)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:997)
at java.net.URL.openStream(URL.java:1027)
at org.openstreetmap.josm.tools.WikiReader.read(WikiReader.java:32)
at org.openstreetmap.josm.actions.HelpAction.loadHelpUrl(HelpAction.java:195)
at org.openstreetmap.josm.actions.HelpAction.setHelpUrl(HelpAction.java:181)
at org.openstreetmap.josm.actions.HelpAction.actionPerformed(HelpAction.java:126)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1688)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1732)
at java.awt.Component.processMouseEvent(Component.java:6108)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3276)
at java.awt.Component.processEvent(Component.java:5873)
at java.awt.Container.processEvent(Container.java:2105)
at java.awt.Component.dispatchEventImpl(Component.java:4469)
at java.awt.Container.dispatchEventImpl(Container.java:2163)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
at java.awt.Container.dispatchEventImpl(Container.java:2149)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4295)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Thanks!

BTW: I also noticed in the sourcecode that netbeans showed a few warnings in this area (HTTP proxy stuff)

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by anonymous

By the way: I use Openjdk on Ubuntu 8.10.

Here is one of the errors if I try to compile with netbeans:

...trunk/src/org/openstreetmap/josm/io/MyHttpHandler.java:10: warning: sun.net.www.protocol.http.Handler is Sun proprietary API and may be removed in a future release

Probably this has to do with openjdk...

comment:2 Changed 4 years ago by anonymous

Could it be that the error is in openjdk?

comment:3 Changed 4 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r1511.

comment:4 Changed 4 years ago by anonymous

Wow, that was fast! Great job, thanks, stoecker! :)

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.