Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: NB_1.0
-
Fix Version/s: NB_1.1
-
Component/s: mevenide-netbeans
-
Labels:None
-
Environment:Windows XP Netbeans 5.5 latest mevenide version as loaded by the Update center
-
Number of attachments :
Description
When calling the item "Maven Repository browser" from the "window" menu of Netbeans 5.5 the following exception is thrown:
java.lang.IllegalArgumentException
at java.net.URI.create(URI.java:842)
at org.mevenide.netbeans.project.dependencies.RepositoryUtilities.createRemoteRepositoryURIs(RepositoryUtilities.java:104)
at org.mevenide.netbeans.project.dependencies.RepositoryUtilities.createRemoteReaders(RepositoryUtilities.java:76)
at org.mevenide.netbeans.project.dependencies.RepositoryExplorerPanel.createRoots(RepositoryExplorerPanel.java:236)
at org.mevenide.netbeans.project.dependencies.RepositoryExplorerPanel.<init>(RepositoryExplorerPanel.java:61)
at org.mevenide.netbeans.project.dependencies.RepoBrowserWindow.<init>(RepoBrowserWindow.java:41)
at org.mevenide.netbeans.project.dependencies.RepoBrowserWindow.getDefault(RepoBrowserWindow.java:64)
at org.mevenide.netbeans.project.dependencies.RepoBrowserWindow.findDefault(RepoBrowserWindow.java:54)
at org.mevenide.netbeans.project.dependencies.RepoBrowserWindowAction.performAction(RepoBrowserWindowAction.java:30)
at org.openide.util.actions.CallableSystemAction$1.run(CallableSystemAction.java:94)
at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:47)
at org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:90)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.net.URISyntaxException: Illegal character in path at index 46: http://www.java.net/download/javaee5/nightly/$
at java.net.URI$Parser.fail(URI.java:2809)
at java.net.URI$Parser.checkChars(URI.java:2982)
at java.net.URI$Parser.parseHierarchical(URI.java:3066)
at java.net.URI$Parser.parse(URI.java:3014)
at java.net.URI.<init>(URI.java:578)
at java.net.URI.create(URI.java:840)
... 37 more
the problem seems to be the definition of the repository:
{glassfish.os.name}http://www.java.net/download/javaee5/nightly/$
I guess we are not doing property resolutions when creating repositories..