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 212033 - AssertionError: No fileobject for /Users/mrpc/Dropbox/www/pramnosframework/_tests/lib/user/pramnos_user_groupTest.php
Summary: AssertionError: No fileobject for /Users/mrpc/Dropbox/www/pramnosframework/_t...
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-03 15:33 UTC by mrpc
Modified: 2012-05-05 10:22 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187626


Attachments
stacktrace (1.78 KB, text/plain)
2012-05-03 15:33 UTC, mrpc
Details
stacktrace (1.76 KB, text/plain)
2012-05-03 15:38 UTC, mrpc
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mrpc 2012-05-03 15:33:07 UTC
Build: NetBeans IDE Dev (Build 201205020400)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-415, Java(TM) SE Runtime Environment, 1.6.0_31-b04-415-11M3635
OS: Mac OS X

User Comments:
mrpc: Trying to generate PHPUnit tests for a project




Stacktrace: 
java.lang.AssertionError: No fileobject for /Users/mrpc/Dropbox/www/pramnosframework/_tests/lib/user/pramnos_user_groupTest.php
   at org.netbeans.modules.php.project.util.PhpProjectUtils.reformatFile(PhpProjectUtils.java:190)
   at org.netbeans.modules.php.project.ui.actions.tests.CreateTestsAction.reformat(CreateTestsAction.java:298)
   at org.netbeans.modules.php.project.ui.actions.tests.CreateTestsAction.generateTests(CreateTestsAction.java:230)
   at org.netbeans.modules.php.project.ui.actions.tests.CreateTestsAction$2.run(CreateTestsAction.java:144)
   at org.netbeans.modules.php.project.ui.actions.tests.CreateTestsAction$1.run(CreateTestsAction.java:100)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1452)
Comment 1 mrpc 2012-05-03 15:33:12 UTC
Created attachment 119041 [details]
stacktrace
Comment 2 mrpc 2012-05-03 15:38:34 UTC
Created attachment 119042 [details]
stacktrace

Tried to create a PHPUnit test for a file.
Comment 3 Tomas Mysik 2012-05-04 03:55:06 UTC
Does the file [1] exist? In other words - is the test file generated? Do you use Skeleton Generator or PHPUnit? Does it happen to you for every projects?

Meanwhile, I will try to investigate more...

Simply reopen this issue, thanks.
[1] /Users/mrpc/Dropbox/www/pramnosframework/_tests/lib/user/pramnos_user_groupTest.php
Comment 4 Tomas Mysik 2012-05-04 04:42:36 UTC
More diagnostics added.

http://hg.netbeans.org/web-main/rev/4bbe10dc3dcd
Comment 5 Quality Engineering 2012-05-05 10:22:52 UTC
Integrated into 'main-golden', will be available in build *201205050400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/4bbe10dc3dcd
User: Tomas Mysik <tmysik@netbeans.org>
Log: Diagnostics for #212033 - AssertionError: No fileobject for /Users/mrpc/Dropbox/www/pramnosframework/_tests/lib/user/pramnos_user_groupTest.php