Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 73514 Details for
Bug 196013
NPE in Execution Flow after Pause/Resume test
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Proposed fix
bug196013_NPE_fix.patch.txt (text/plain), 1.40 KB, created by
Ruslan Scherbakov
on 2007-07-11 04:24:23 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Ruslan Scherbakov
Created:
2007-07-11 04:24:23 EDT
Size:
1.40 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.hyades.trace.views >Index: src/org/eclipse/hyades/trace/views/internal/MultiLevelStatisticView.java >=================================================================== >RCS file: /cvsroot/tptp/trace/org.eclipse.hyades.trace.views/src/org/eclipse/hyades/trace/views/internal/MultiLevelStatisticView.java,v >retrieving revision 1.11 >diff -u -r1.11 MultiLevelStatisticView.java >--- src/org/eclipse/hyades/trace/views/internal/MultiLevelStatisticView.java 21 Sep 2006 19:19:29 -0000 1.11 >+++ src/org/eclipse/hyades/trace/views/internal/MultiLevelStatisticView.java 11 Jul 2007 08:21:43 -0000 >@@ -400,7 +400,7 @@ > //Summary element > TreeItem[] items = tree.getItems(); > if (items.length != 0) // if we have data >- { >+ { > //((MultiLevelStatisticTreeViewer) getTableViewer()).expandItem(items[0]); > > if (obj instanceof TRCPackage) >@@ -411,7 +411,8 @@ > } else if (obj instanceof TRCMethod) { > meth = (TRCMethod) obj; > cls = meth.getDefiningClass(); >- pack = cls.getPackage(); >+ if (null != cls) >+ pack = cls.getPackage(); > } > else if (obj instanceof TRCObject) > { >@@ -422,7 +423,8 @@ > else if(obj instanceof TRCMethodInvocation) > { > cls = PerftraceUtil.getClass((TRCMethodInvocation)obj); >- pack = cls.getPackage(); >+ if (null != cls) >+ pack = cls.getPackage(); > } > > searchInLevel(tree,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 196013
:
73514
|
73558
|
73559
|
73574
|
73648
|
73705