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 159044 - java.net.MalformedURLException: no protocol:
Summary: java.net.MalformedURLException: no protocol:
Status: VERIFIED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Stupka
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 10:20 UTC by Jaromir Uhrik
Modified: 2009-07-27 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 146661


Attachments
stacktrace (787 bytes, text/plain)
2009-02-24 10:20 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-02-24 10:20:01 UTC
Build: NetBeans IDE Dev (Build 090218)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284
OS: Mac OS X, 10.5.6, i386

Stacktrace: 
java.net.MalformedURLException: no protocol: 
        at java.net.URL.<init>(URL.java:567)
        at java.net.URL.<init>(URL.java:464)
        at java.net.URL.<init>(URL.java:413)
        at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.<init>(BugzillaClient.java:185)
        at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClientFactory.createClient(BugzillaClientFactory.java:31)
        at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClientManager.getClient(BugzillaClientManager.java:40)
Comment 1 Jaromir Uhrik 2009-02-24 10:20:11 UTC
Created attachment 77284 [details]
stacktrace
Comment 2 Jaromir Uhrik 2009-02-24 10:23:56 UTC
These are steps how the exception can be simulated:
Invoke Select Connector dialog and push directly Validate button ->> exception appears. 
Comment 3 Tomas Stupka 2009-02-24 10:24:56 UTC
and what exactly happened?
Comment 4 Tomas Stupka 2009-02-24 10:26:00 UTC
> and what exactly happened?
oops. sorry. ignore this. i've missed your last post...
Comment 5 Jaromir Uhrik 2009-02-24 10:34:33 UTC
Sorry for pasting steps after the report but the exception reporter is striking and didn't add it automatically to the
issuezilla although it is in the statistics.nb.org:-(
Comment 6 Tomas Stupka 2009-03-12 15:20:51 UTC
fixed

forgot the changeset...
Comment 7 Jaromir Uhrik 2009-03-16 11:22:06 UTC
Reopening. I can still reproduce in the following build:

Product Version: NetBeans IDE Dev (Build cdev-380-on-090315)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)
Comment 8 Tomas Stupka 2009-03-16 15:24:09 UTC
fixed

changeset   : 120734:dd5ea5a1672a
author      : Tomas Stupka <tstupka@netbeans.org>
date        : Mon Mar 16 15:23:45 CET 2009
Comment 9 Jaromir Uhrik 2009-03-17 12:21:33 UTC
Reopening this issue. I can still reproduce in both cdev and trunk build (just invoke new connector dialog and push
Validate button => exception appears):
The following exception appears in the last bertram successfull build #384 built on Mar 17, 2009 5:46:23 AM.
Product Version: NetBeans IDE Dev (Build cdev-384-on-090317)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)

=========================================%<==========================================
java.net.MalformedURLException: no protocol: 
	at java.net.URL.<init>(URL.java:567)
	at java.net.URL.<init>(URL.java:464)
	at java.net.URL.<init>(URL.java:413)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClient.<init>(BugzillaClient.java:192)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClientFactory.createClient(BugzillaClientFactory.java:35)
	at org.eclipse.mylyn.internal.bugzilla.core.BugzillaClientManager.getClient(BugzillaClientManager.java:43)
	at org.netbeans.modules.bugzilla.commands.ValidateCommand.execute(ValidateCommand.java:65)
	at org.netbeans.modules.bugzilla.commands.BugzillaExecutor.execute(BugzillaExecutor.java:79)
	at org.netbeans.modules.bugzilla.repository.RepositoryController$4.run(RepositoryController.java:242)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
=========================================%<==========================================
Comment 10 Jaromir Uhrik 2009-03-18 14:08:00 UTC
Closing as fixed again...
Comment 11 Jaromir Uhrik 2009-03-18 14:09:10 UTC
...because the issue doesn't appear in the following build:

Product Version: NetBeans IDE Dev (Build cdev-391-on-090318)
Java: 1.5.0_16; Java HotSpot(TM) Client VM 1.5.0_16-133
System: Mac OS X version 10.5.6 running on i386; MacRoman; en_US (nb)
Comment 12 Quality Engineering 2009-03-18 22:44:20 UTC
Integrated into 'main-golden', will be available in build *200903181604* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/dd5ea5a1672a
User: Tomas Stupka <tstupka@netbeans.org>
Log: #159044 - java.net.MalformedURLException: no protocol: