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 246392 - NullPointerException at org.netbeans.modules.php.dbgp.breakpoints.LineBreakpoint.isValid
Summary: NullPointerException at org.netbeans.modules.php.dbgp.breakpoints.LineBreakpo...
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Ondrej Brejla
URL:
Keywords:
: 246974 247170 247193 247194 247277 247281 247286 247320 247350 247401 247405 247414 247440 253703 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-11 15:05 UTC by tomjnsn
Modified: 2015-09-04 10:17 UTC (History)
11 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 211185


Attachments
stacktrace (1.76 KB, text/plain)
2014-08-11 15:05 UTC, tomjnsn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomjnsn 2014-08-11 15:05:04 UTC
This bug was originally marked as duplicate of bug 246278, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201408110001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b04, Java(TM) SE Runtime Environment, 1.7.0_10-b18
OS: Mac OS X

User Comments:
GUEST: Restart

tomjnsn: Opening up build 201408110001 for the first time, with a javascript file open in an editor.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.php.dbgp.breakpoints.LineBreakpoint.isValid(LineBreakpoint.java:152)
   at org.netbeans.modules.php.dbgp.breakpoints.LineBreakpoint.refreshValidity(LineBreakpoint.java:145)
   at org.netbeans.modules.php.dbgp.annotations.BrkpntAnnotation.<init>(BrkpntAnnotation.java:63)
   at org.netbeans.modules.php.dbgp.breakpoints.BreakpointAnnotationListener.addAnnotation(BreakpointAnnotationListener.java:105)
   at org.netbeans.modules.php.dbgp.breakpoints.BreakpointAnnotationListener.breakpointAdded(BreakpointAnnotationListener.java:82)
   at org.netbeans.api.debugger.DebuggerManager.fireBreakpointCreated(DebuggerManager.java:883)
Comment 1 tomjnsn 2014-08-11 15:05:06 UTC
Created attachment 148642 [details]
stacktrace
Comment 2 Exceptions Reporter 2014-08-13 07:13:49 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=211185
Comment 3 Ondrej Brejla 2014-08-26 08:44:38 UTC
Fixed in web-main #b1c4c163903f
Comment 4 earnie 2014-08-26 13:49:10 UTC
I'm using build 201408250001.  I originally saw this issue with build 201408070001 but decided to wait before reporting it to try later.  I am using jdk1.7.0_17 and PHP 5.6.0RC2 64bit thread safe on Windows 7 with a 2 core CPU.
Comment 5 Quality Engineering 2014-08-27 02:38:34 UTC
Integrated into 'main-silver', will be available in build *201408270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b1c4c163903f
User: Ondrej Brejla <obrejla@netbeans.org>
Log: #246392 - NullPointerException at org.netbeans.modules.php.dbgp.breakpoints.LineBreakpoint.isValid
Comment 6 earnie 2014-09-03 16:35:05 UTC
I can confirm the issue is resolved with the Aug 29th development build.
Comment 7 Vladimir Riha 2014-09-10 07:38:16 UTC
Ondro do you want to put it to the patch? If so, please change SW to 801patch1-candidate. Thanks


Cannot reproduce, verified



Product Version: NetBeans IDE Dev (Build 201409080001)
Java: 1.7.0_67; Java HotSpot(TM) Client VM 24.65-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_67-b01
System: Linux version 3.13.0-32-generic running on i386; UTF-8; en_US (nb)
Comment 8 Ondrej Brejla 2014-09-10 07:51:14 UTC
*** Bug 246974 has been marked as a duplicate of this bug. ***
Comment 9 Ondrej Brejla 2014-09-10 07:52:11 UTC
Patch 1 candidate.
Comment 10 Ondrej Brejla 2014-09-16 13:22:13 UTC
Transplanted to release801 branch.
Comment 11 Ondrej Brejla 2014-09-16 14:13:07 UTC
*** Bug 247170 has been marked as a duplicate of this bug. ***
Comment 12 Ondrej Brejla 2014-09-17 07:40:33 UTC
*** Bug 247194 has been marked as a duplicate of this bug. ***
Comment 13 Ondrej Brejla 2014-09-17 07:40:38 UTC
*** Bug 247193 has been marked as a duplicate of this bug. ***
Comment 14 Vladimir Riha 2014-09-19 05:22:38 UTC
*** Bug 247277 has been marked as a duplicate of this bug. ***
Comment 15 Vladimir Riha 2014-09-19 05:23:53 UTC
*** Bug 247286 has been marked as a duplicate of this bug. ***
Comment 16 Ondrej Brejla 2014-09-19 06:17:21 UTC
*** Bug 247281 has been marked as a duplicate of this bug. ***
Comment 17 Vladimir Riha 2014-09-19 10:53:33 UTC
Cannot reproduce, verified in patch1

Product Version: NetBeans IDE 8.0.1 (Build 201408251540)
Updates: NetBeans IDE is updated to version NetBeans 8.0.1 Patch 1
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 18 Ondrej Brejla 2014-09-21 08:18:17 UTC
*** Bug 247320 has been marked as a duplicate of this bug. ***
Comment 19 Ondrej Brejla 2014-09-22 09:00:42 UTC
*** Bug 247350 has been marked as a duplicate of this bug. ***
Comment 20 Ondrej Brejla 2014-09-23 12:50:20 UTC
*** Bug 247401 has been marked as a duplicate of this bug. ***
Comment 21 Ondrej Brejla 2014-09-23 14:24:44 UTC
*** Bug 247405 has been marked as a duplicate of this bug. ***
Comment 22 Ondrej Brejla 2014-09-23 18:18:46 UTC
*** Bug 247414 has been marked as a duplicate of this bug. ***
Comment 23 Ondrej Brejla 2014-09-24 12:29:52 UTC
*** Bug 247440 has been marked as a duplicate of this bug. ***
Comment 24 Tomas Mysik 2015-09-04 10:17:31 UTC
*** Bug 253703 has been marked as a duplicate of this bug. ***