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 - IllegalArgumentException: /home/shadzik/www/domains/ps_admin/index.php is not inside /home/shadzik/www/domains/ps_admin/web
Summary: IllegalArgumentException: /home/shadzik/www/domains/ps_admin/index.php is not...
Status: RESOLVED WORKSFORME
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Tomas Mysik
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on: 204271
Blocks:
  Show dependency tree
 
Reported: 2008-10-14 08:35 UTC by shadzik
Modified: 2011-11-08 20:41 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 94443


Attachments
stacktrace (1.63 KB, text/plain)
2008-10-14 08:35 UTC, shadzik
Details

Note You need to log in before you can comment on or make changes to this bug.
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.