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 180768 - nullpointer exception at first debug step php 5.3.1+NB 6.8+xdebug 2.1.0beta2 on opensuse 11.1 64bit
Summary: nullpointer exception at first debug step php 5.3.1+NB 6.8+xdebug 2.1.0beta2 ...
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 normal (vote)
Assignee: rmatous
URL:
Keywords:
: 182305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-02-16 04:36 UTC by antonx
Modified: 2011-03-18 13:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
the logfiles generated during the crash (35.70 KB, application/zip)
2010-02-16 04:38 UTC, antonx
Details

Note You need to log in before you can comment on or make changes to this bug.
Description antonx 2010-02-16 04:36:40 UTC
I use the 201002160200 build,

try to debug a php project.

I start debugging, it stops at a breakpoint, but after the first F8 step
I get a nullpointer exception.
Comment 1 antonx 2010-02-16 04:38:09 UTC
Created attachment 94187 [details]
the logfiles generated during the crash
Comment 2 Filip Zamboj 2010-02-16 05:48:01 UTC
what's the version of xdebug, please?
what build are you using, full or php only? (it shouldn't matter but I can't reproduce so I would like to setup the same configuration as you have)
what's your OS? 

does it happen everywhere or somewhere only? 

thanks a lot for reporting
Comment 3 rmatous 2010-02-16 06:21:28 UTC
Fixed:
http://hg.netbeans.org/web-main/rev/7a8b245445bf
Comment 4 antonx 2010-02-16 06:43:39 UTC
(In reply to comment #2)
> what's the version of xdebug, please?

xdebug 2.1.0beta2  as you can see in the title of this bug

> what build are you using, full or php only?

php only

> (it shouldn't matter but I can't
> reproduce so I would like to setup the same configuration as you have)

> what's your OS? 

opensuse 11.1 64bit  as you can see in the title of this bug

> does it happen everywhere or somewhere only? 

In my test just after my breakpoint. 

> thanks a lot for reporting
No problem ;-)
Comment 5 Filip Zamboj 2010-02-16 07:00:35 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > what's the version of xdebug, please?
> 
> xdebug 2.1.0beta2  as you can see in the title of this bug
> 
> > what build are you using, full or php only?
> 
> php only
> 
> > (it shouldn't matter but I can't
> > reproduce so I would like to setup the same configuration as you have)
> 
> > what's your OS? 
> 
> opensuse 11.1 64bit  as you can see in the title of this bug
>
sorry - I should read subjects more carefully :). 
 
> > does it happen everywhere or somewhere only? 
> 
> In my test just after my breakpoint. 
> 
> > thanks a lot for reporting
> No problem ;-)

it looks like we have found a problem. Stay tuned ;). thanks.
Comment 6 rmatous 2010-02-16 07:32:59 UTC
Fixed:
http://hg.netbeans.org/web-main/rev/7a8b245445bf
Comment 7 Filip Zamboj 2010-02-16 07:34:10 UTC
we finally reproduced on older build and then 

verified on 
Product Version: NetBeans IDE Dev (Build 2010-02-16_16-23-32 )
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

@reporter: can you verify n your side as well? Fix is available in build #1396 (and higher) that you can download from http://bertram.netbeans.org/hudson/job/PHP-build/. 

many thanks.
Comment 8 Quality Engineering 2010-02-16 21:49:12 UTC
Integrated into 'main-golden', will be available in build *201002170200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/7a8b245445bf
User: Radek Matous <rmatous@netbeans.org>
Log: #180768 - nullpointer exception at first debug step php 5.3.1+NB 6.8+xdebug 2.1.0beta2 on opensuse 11.1 64bit
Comment 9 antonx 2010-02-17 01:47:09 UTC
Testet with

netbeans-trunk-nightly-201002170200-php-linux.sh

I did not get a nullpointer exception, OK ;-)
Comment 10 OndrejBrejla 2011-03-18 13:16:04 UTC
*** Bug 182305 has been marked as a duplicate of this bug. ***