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 150015

Summary: IllegalArgumentException: /home/shadzik/www/domains/ps_admin/index.php is not inside /home/shadzik/www/domains/ps_admin/web
Product: php Reporter: shadzik <shadzik>
Component: ProjectAssignee: Tomas Mysik <tmysik>
Status: RESOLVED WORKSFORME    
Severity: blocker CC: jglick, tmysik, tslota
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=94443
Issue Type: DEFECT Exception Reporter: 94443
Bug Depends on: 204271    
Bug Blocks:    
Attachments: stacktrace

Description shadzik 2008-10-14 08:35:27 UTC
Build: NetBeans IDE Dev (Build 200810111401)
VM: Java HotSpot(TM) Client VM, 10.0-b22, Java(TM) SE Runtime Environment, 1.6.0_06-b02
OS: Linux, 2.6.26-1-686, i386

User Comments:
GUEST: coding a php page with both php and html in it.  The error occurred while code completion tried to run.

GUEST: i were writing a php program, whenever the autointelligence popup arise, it shows that exception.

GUEST: editing a php file (write a function to create a single html form)



Stacktrace: 
java.lang.IllegalArgumentException: /home/shadzik/www/domains/ps_admin/index.php is not inside /home/shadzik/www/domains/ps_admin/web
        at org.netbeans.spi.project.support.ant.SourcesHelper$SourceRoot$Group.contains(SourcesHelper.java:180)
        at org.netbeans.modules.php.editor.DocRenderer.documentIndexedElement(DocRenderer.java:125)
        at org.netbeans.modules.php.editor.DocRenderer.document(DocRenderer.java:98)
        at org.netbeans.modules.php.editor.PHPCodeCompletion.document(PHPCodeCompletion.java:1252)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionDoc.<init>(GsfCompletionDoc.java:106)
        at org.netbeans.modules.gsfret.editor.completion.GsfCompletionDoc.create(GsfCompletionDoc.java:116)
Comment 1 shadzik 2008-10-14 08:35:41 UTC
Created attachment 71728 [details]
stacktrace
Comment 2 Milan Kubec 2008-10-14 14:05:42 UTC
Please evaluate. Thanks.
Comment 3 Tomasz Slota 2008-10-14 14:58:39 UTC
This issue looks quite disturbing, we would highly appreciate a reproducible case (this probably involves attaching the whole project)
Comment 4 Tomas Mysik 2008-12-12 11:01:18 UTC
Changing TM, unfortunately still no idea how to reproduce this issue (although it has several duplicates).
Comment 5 Tomas Mysik 2009-02-11 17:34:34 UTC
Any idea how to reproduce please? Thanks a lot.
Comment 6 Tomas Mysik 2009-03-27 10:53:53 UTC
No response for a long time, closing as WORKSFORME. Feel free to reopen and provide steps to reproduce. Thanks a lot.