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 55453 - Reset buffers during remote profiling may throw exception
Summary: Reset buffers during remote profiling may throw exception
Status: CLOSED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: mishadmitriev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 06:38 UTC by mishadmitriev
Modified: 2007-02-12 22:07 UTC (History)
0 users

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 mishadmitriev 2005-02-24 06:38:09 UTC
As reported recently by Binu John:

I tried the latest version of the profiler with
remote connectivity. It
works pretty well. However, I got the following
exception - I attached
the profiler correctly and can view the results.
However, the following
exception is thrown if I try to reset the buffer

java.lang.ArrayIndexOutOfBoundsException: 8500
     [java]     at
com.sun.tools.profiler.server.ProfilerRuntimeCPU.writeTimeStampedEvent(ProfilerRuntimeCPU.java:78)
     [java]     at
com.sun.tools.profiler.server.ProfilerRuntimeCPUFullInstr.methodEntry(ProfilerRuntimeCPUFullInstr.java:100)
     [java]     at
com.sun.xml.stream.xerces.util.XMLAttributesImpl.getLength(Unknown
Source)
     [java]     at
com.sun.xml.stream.XMLNSDocumentScannerImpl.scanAttribute(Unknown
Source)
     [java]     at
com.sun.xml.stream.XMLNSDocumentScannerImpl.scanStartElement(Unknown
Source)
     [java]     at
com.sun.xml.stream.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown
Source)
     [java]     at
com.sun.xml.stream.XMLDocumentScannerImpl.next(Unknown
Source)
[java]     at
com.sun.xml.stream.XMLReaderImpl.next(Unknown Source)
     [java]     at
com.sun.xmltest.BenchSTAX.build(Unknown Source)
     [java]     at
com.sun.xmltest.BenchSTAX.runTimeTest(Unknown Source)
     [java]     at
com.sun.xmltest.RunXmlBench.runTimeTest(Unknown
Source)
     [java]     at
com.sun.xmltest.driver.Agent.process(Unknown Source)
     [java]     at
com.sun.xmltest.driver.Agent.run(Unknown Source)
Comment 1 mishadmitriev 2005-04-05 23:44:07 UTC
Fixed in M6.
Comment 2 ehucka 2006-10-09 12:11:48 UTC
Verification of old issues.
Comment 3 Alexander Kouznetsov 2007-02-12 22:07:07 UTC
Closing old issues.