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 95941 - NPE when attaching debugger
Summary: NPE when attaching debugger
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL Debugger (show other bugs)
Version: 5.x
Hardware: All Solaris
: P1 blocker (vote)
Assignee: Alexander Zgursky
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-02-19 15:01 UTC by Mikhail Kondratyev
Modified: 2007-03-30 23:54 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mikhail Kondratyev 2007-02-19 15:01:23 UTC
Tested with build from 2007.02.17
JDK: 1.5_07
Steps to reproduce:
 - start App Server
 - enable debugging for server
 - try to attach debugger - NPE will be thrown

Same happens when invoking Debug Project (BPEL) in the comp app project context menu

Could not reproduce on other platforms

java.lang.NullPointerException
	at org.netbeans.modules.bpel.debugger.ui.source.SourcePathImpl
$MyProcessingRunnable.registerFileObject(SourcePathImpl.java:291)
	at org.netbeans.modules.bpel.debugger.ui.source.SourcePathImpl
$MyProcessingRunnable.processSingleSource(SourcePathImpl.java:287)
	at org.netbeans.modules.bpel.debugger.ui.source.SourcePathImpl$MyProcessingRunnable.run
(SourcePathImpl.java:276)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Mikhail Kondratyev 2007-02-19 15:47:52 UTC
Could reproduce with latest build on Solaris too. This is a regression
Comment 2 Sergey Lunegov 2007-02-20 06:42:30 UTC
Since problem is Unix* only maybe Vitaly can give some light.
Comment 3 Alexander Zgursky 2007-02-20 19:46:37 UTC
The fix has been integrated to both release551 and release551_beta branches:

release551_beta:

Checking in
project/src/org/netbeans/modules/bpel/project/BpelSourcesRegistryHelper.java;
/cvs/enterprise/bpel/project/src/org/netbeans/modules/bpel/project/Attic/BpelSourcesRegistryHelper.java,v
 <--  BpelSourcesRegistryHelper.java
new revision: 1.1.2.1.2.1; previous revision: 1.1.2.1
done
Checking in
debugger/ui/src/org/netbeans/modules/bpel/debugger/ui/source/SourcePathImpl.java;
/cvs/enterprise/bpel/debugger/ui/src/org/netbeans/modules/bpel/debugger/ui/source/Attic/SourcePathImpl.java,v
 <--  SourcePathImpl.java
new revision: 1.1.2.4.2.1; previous revision: 1.1.2.4
done

--------------------------------------------------
release551:

Checking in
project/src/org/netbeans/modules/bpel/project/BpelSourcesRegistryHelper.java;
/cvs/enterprise/bpel/project/src/org/netbeans/modules/bpel/project/Attic/BpelSourcesRegistryHelper.java,v
 <--  BpelSourcesRegistryHelper.java
new revision: 1.1.2.2; previous revision: 1.1.2.1
done
Checking in
debugger/ui/src/org/netbeans/modules/bpel/debugger/ui/source/SourcePathImpl.java;
/cvs/enterprise/bpel/debugger/ui/src/org/netbeans/modules/bpel/debugger/ui/source/Attic/SourcePathImpl.java,v
 <--  SourcePathImpl.java
new revision: 1.1.2.5; previous revision: 1.1.2.4
done
Comment 4 pchen 2007-03-30 23:54:48 UTC
Verified with NetBeans IDE Dev 200703211900