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 133246 - NPE when accessing PHP project properties
Summary: NPE when accessing PHP project properties
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks: 131609
  Show dependency tree
 
Reported: 2008-04-18 22:06 UTC by tonybeckham
Modified: 2008-04-21 23:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
exception report (3.68 KB, text/plain)
2008-04-18 22:07 UTC, tonybeckham
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tonybeckham 2008-04-18 22:06:18 UTC
When attempting to use AirAlliance sample on Solaris, the step where you must right click the project to copy files to
PHP document directory, when right click on project NPE is thrown(see attachment).  Also, trying to get to properties
via menu bar throws same exception.

System Info:
Product Version: NetBeans IDE Early Access for PHP (Build 200804180006)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.11 running on x86; UTF-8; en_US (php)
Comment 1 tonybeckham 2008-04-18 22:07:21 UTC
Created attachment 60440 [details]
exception report
Comment 2 tonybeckham 2008-04-18 23:15:12 UTC
Reproducable on Sparc as well, also changed the summary to better reflect issue.

System Info:
Product Version: NetBeans IDE Early Access for PHP (Build 200804180006)
Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03
System: SunOS version 5.10 running on sparc; ISO646-US; en (php)
Comment 3 tonybeckham 2008-04-18 23:31:03 UTC
This is a Solaris stopper issue
Comment 4 Tomas Mysik 2008-04-19 14:55:28 UTC
Fixed in trunk, please verify. What are the next steps now? Should I just transplant this patch into PHP clone? 
Thanks.

changeset:   78649:ac51cf43e8a4
user:        Tomas Mysik <tmysik@netbeans.org>
date:        Sat Apr 19 15:51:55 2008 +0200
summary:     #133246: NPE when accessing PHP project properties
Comment 5 Quality Engineering 2008-04-20 03:39:59 UTC
Issue '133246' Integrated in NB_Trunk_Production #147 : http://hg.netbeans.org/main/rev/ac51cf43e8a4,
 with comment: #133246: NPE when accessing PHP project properties
Comment 6 Petr Pisl 2008-04-21 07:29:37 UTC
Could QA check it in the trunk? You can download the build form here
http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/

To Tomas: QA should check the fix in the trunk and then you can translate the fix in release61-php
Comment 7 Victoria Zhukovskaya 2008-04-21 10:31:19 UTC
I tested  http://deadlock.netbeans.org/hudson/job/trunk/lastSuccessfulBuild/artifact/nbbuild/dist/zip/
There is no NPE now.
Comment 8 Victoria Zhukovskaya 2008-04-21 10:57:17 UTC
Sol10, sparc.
There was NPE for IDE Early Access for PHP
and there is no Npe for trunk now.

verified
Comment 9 Tomas Mysik 2008-04-21 11:48:26 UTC
Fix transplanted to PHP clone.

ac51cf43e8a4 transplanted to 4a3e2ed4ff64

changeset:   77595:4a3e2ed4ff64
user:        Tomas Mysik <tmysik@netbeans.org>
date:        Sat Apr 19 15:51:55 2008 +0200
summary:     #133246: NPE when accessing PHP project properties
Comment 10 tonybeckham 2008-04-21 23:02:56 UTC
Fix Verified in early access (zip not installer) on Solaris x86.

System Info:
Product Version: NetBeans IDE Early Access for PHP (Build 200804211508)
Java: 1.6.0_03; Java HotSpot(TM) Client VM 1.6.0_03-b05
System: SunOS version 5.11 running on x86; UTF-8; en_US (php)
Comment 11 tonybeckham 2008-04-21 23:28:45 UTC
Fix Verified with Solaris Sparc for the latest zip build.

System Info:
Product Version: NetBeans IDE Early Access for PHP (Build 200804211508)
Java: 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03
System: SunOS version 5.10 running on sparc; ISO646-US; en (php)