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.
Summary: | java.net.MalformedURLException: no protocol: | ||
---|---|---|---|
Product: | php | Reporter: | spookee |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | junichi11 |
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 196228 |
Attachments: |
stacktrace
Error Message stacktrace screenshot sample php project cakephp plugin |
Description
spookee
2012-12-06 22:17:32 UTC
Created attachment 129009 [details]
stacktrace
Created attachment 129010 [details]
Error Message
Access a view variable from Template (Zend Framework)
Happend when typing "$this->frmLogin->", perhaps while loading autocompletion.
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. Created attachment 129022 [details]
stacktrace
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 *** I tried to use todays dev build. Product Version = NetBeans IDE Dev (Build 201212070001) (#5ac9bda0f2b8) But exception is occurred.(stacktrace is same) Created attachment 129023 [details]
screenshot
Can you attach here a sample project, with steps to reproduce? I'm not able to do that :( Thanks! 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! Created attachment 129033 [details]
sample php project
Created attachment 129034 [details]
cakephp plugin
Fixed in web-main #98f17e736c6d Thanks, it was very helpful. *** Bug 223447 has been marked as a duplicate of this bug. *** 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: I have confirmed that exception was not occurred with build 201212080001. And CC works. Thanks a lot! 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) |