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 223449 - java.net.MalformedURLException: no protocol:
Summary: java.net.MalformedURLException: no protocol:
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
: 223447 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-06 22:17 UTC by spookee
Modified: 2012-12-10 12:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 196228


Attachments
stacktrace (3.19 KB, text/plain)
2012-12-06 22:17 UTC, spookee
Details
Error Message (75.60 KB, image/png)
2012-12-06 22:19 UTC, spookee
Details
stacktrace (3.05 KB, text/plain)
2012-12-07 06:27 UTC, junichi11
Details
screenshot (42.09 KB, image/png)
2012-12-07 07:25 UTC, junichi11
Details
sample php project (1.82 MB, application/zip)
2012-12-07 10:12 UTC, junichi11
Details
cakephp plugin (112.06 KB, application/octet-stream)
2012-12-07 10:13 UTC, junichi11
Details

Note You need to log in before you can comment on or make changes to this bug.
Description spookee 2012-12-06 22:17:32 UTC
This bug was originally marked as duplicate of bug 222376, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201212060001)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.12-b01-434, Java(TM) SE Runtime Environment, 1.6.0_37-b06-434-11M3909
OS: Mac OS X

User Comments:
GUEST: J'ai fait un copi
Comment 1 spookee 2012-12-06 22:17:34 UTC
Created attachment 129009 [details]
stacktrace
Comment 2 spookee 2012-12-06 22:19:55 UTC
Created attachment 129010 [details]
Error Message

 Access a view variable from Template (Zend Framework)
Happend when typing "$this->frmLogin->", perhaps while loading autocompletion.
Comment 3 junichi11 2012-12-07 06:23:48 UTC
I catch also the same exception.

In case of me:
I'm developing cakephp plugin.
I return $this(PhpVariable) from the EditorExtender.(add a class and its fields to  PhpVariable)

When I use Code Completion($this->"here") in the SomeController class, java.net.MalformedURLException: no protocol: is occurred.

my environment:
 Product Version         = NetBeans IDE Dev (Build 201212050001) (#115c4cf91d73)
  Operating System        = Linux version 3.2.0-34-generic-pae running on i386
  Java; VM; Vendor        = 1.6.0_37; Java HotSpot(TM) Client VM 20.12-b01; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_37-b06

Thanks.
Comment 4 junichi11 2012-12-07 06:27:27 UTC
Created attachment 129022 [details]
stacktrace
Comment 5 Ondrej Brejla 2012-12-07 06:29:50 UTC
Can you test it id todays dev build [1]? Fix should be integrated. Thanks.

[1] http://bits.netbeans.org/download/trunk/nightly/latest/

*** This bug has been marked as a duplicate of bug 223193 ***
Comment 6 junichi11 2012-12-07 07:23:54 UTC
I tried to use todays dev build.

  Product Version         = NetBeans IDE Dev (Build 201212070001) (#5ac9bda0f2b8)

But exception is occurred.(stacktrace is same)
Comment 7 junichi11 2012-12-07 07:25:54 UTC
Created attachment 129023 [details]
screenshot
Comment 8 Ondrej Brejla 2012-12-07 07:53:22 UTC
Can you attach here a sample project, with steps to reproduce? I'm not able to do that :( Thanks!
Comment 9 junichi11 2012-12-07 10:10:34 UTC
OK, I add attachments :
- caketut.zip
- org-cakephp-netbeans.nbm (Build 201212070001)

1. Please install plugin and unzip caketut.zip
2. open project
3. open caketut/app/Controller/PostsController.php
4. type $this->(CC) at the index method

Thanks!
Comment 10 junichi11 2012-12-07 10:12:20 UTC
Created attachment 129033 [details]
sample php project
Comment 11 junichi11 2012-12-07 10:13:38 UTC
Created attachment 129034 [details]
cakephp plugin
Comment 12 Ondrej Brejla 2012-12-07 10:39:27 UTC
Fixed in web-main #98f17e736c6d

Thanks, it was very helpful.
Comment 13 Ondrej Brejla 2012-12-07 10:39:39 UTC
*** Bug 223447 has been marked as a duplicate of this bug. ***
Comment 14 Quality Engineering 2012-12-08 03:00:34 UTC
Integrated into 'main-golden', will be available in build *201212080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/98f17e736c6d
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #223449 - java.net.MalformedURLException: no protocol:
Comment 15 junichi11 2012-12-08 06:57:50 UTC
I have confirmed that exception was not occurred with build 201212080001.
And CC works.
Thanks a lot!
Comment 16 Martin Kanak 2012-12-10 12:59:08 UTC
Verified

Product Version: NetBeans IDE Dev (Build 201212100001)
Java: 1.7.0_10-ea; Java HotSpot(TM) 64-Bit Server VM 23.6-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_10-ea-b17
System: Linux version 3.2.0-34-generic running on amd64; UTF-8; en_US (nb)