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 241000 - PHP Debugging Null Pointer Exception(Socket Exception Error)
Summary: PHP Debugging Null Pointer Exception(Socket Exception Error)
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0.2
Hardware: PC Windows 8 x64
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-27 09:09 UTC by mbpakalin
Modified: 2015-09-04 06:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Netbeans Socket Exception Error (225.89 KB, image/png)
2014-01-27 09:09 UTC, mbpakalin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mbpakalin 2014-01-27 09:09:44 UTC
Created attachment 144397 [details]
Netbeans Socket Exception Error

Hello,
When i try to debug something it's just gives me a error nullpointer exception.
Example php file:

<?php

?>

i writed just this still gives me error!

I'm using NetBeans 7.4 + PHP 5.5.3 + XDebug v2.2.3

How can i fix that ?

Thanks...
Comment 1 Ondrej Brejla 2014-01-27 09:30:19 UTC
I'm not able to reproduce that, neither in 7.4 nor in 8.0 dev. But I tried to fix that in the dev build.

Fixed in web-main #e89f8a422c7e
Comment 2 Quality Engineering 2014-01-28 03:05:53 UTC
Integrated into 'main-silver', will be available in build *201401280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e89f8a422c7e
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #241000 - PHP Debugging Null Pointer Exception(Socket Exception Error)
Comment 3 mbpakalin 2014-01-28 08:36:46 UTC
You was really save a lot of headaches, thanks you so much.
But when i start using nightly build always gives me a error like this.
When trying to open projects, when creating project like etc..

java.lang.NoClassDefFoundError: Could not initialize class org.netbeans.modules.sampler.SamplesOutputStream
	at org.netbeans.modules.sampler.InternalSampler.createInternalSampler(InternalSampler.java:85)
	at org.netbeans.modules.sampler.Sampler.createSampler(Sampler.java:102)
	at org.netbeans.core.TimableEventQueue.createSelfSampler(TimableEventQueue.java:263)
	at org.netbeans.core.TimableEventQueue.run(TimableEventQueue.java:225)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423)
	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
Caused: org.openide.util.RequestProcessor$FastItem: task failed due to


but sometimes gives me error again socket exception error.
Comment 4 mbpakalin 2015-07-04 08:31:02 UTC
This issue still goes on.Still same issue on latest version.
Comment 5 Tomas Mysik 2015-09-04 06:59:40 UTC
The original issue is resolved (and NPE cannot happen on line 342) so please report it as a new issue. Thanks.