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.
Summary: | inconsistent NPE exception occurs when launching IDE | ||
---|---|---|---|
Product: | soa | Reporter: | Jonelle Almero <jalmero> |
Component: | BPEL Debugger | Assignee: | Alexander Zgursky <zgursky> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | apepin, mikk, zgursky |
Priority: | P3 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | npe exception generated after selecting Assign activity |
Description
Jonelle Almero
2006-10-04 18:22:03 UTC
Actually the NPE exception was thrown when I selected an Assign activity and it looks like the trace log is somewhat similar but not exactly the same as the trace above. Created attachment 34875 [details]
npe exception generated after selecting Assign activity
please see attached for the new generated NPE exception. please be on the alert for problems related to breakpoint persistence. Breakpoints are persisted in the userdir. So there is a valid use case where we need to be testing the proper persistence and restoration of breakpoint information. Maybe QE needs to do more testing in this area. I can not reproduce the bug in build 061003 on Linux and Windows. As I can not think of any situation in which the described bug can be reproduced, there is really a typo in the following code that may lead to the specified exception: FindHelperImpl.java line 104 : return ret.toArray( new BpelEntity[ list.size()] ); supposed to be return ret.toArray( new BpelEntity[ ret.size()] ); Please provide an information about using of pointed method in FindHelper. As I understand ( and this was discussed ) debugger invoke this method ONLY for existing BPEL entity ( the usecase of situation is : we know that xpath is pointer to some existed BPEL entity and we are trying to find this entity via xpath ). In this case pointed method will work fine without pointed correction. Difference could appear only when xpath point to not BPEL DOM element. Only in this case there will be a problem. So proposed fix will not fix THIS issue. The problem could appear either in XAM ( while delegating find method to XAM api ) or in incorrect using of method in FindHelper. Proposed correction for FindHelperImpl will be introduced in source code, but as I already said it doesn't concern to this issue. OK, the XAM part of the problem is already fixed, so I believe we can close this issue. The bug is not reproducible so I mark it as verified. |