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 93198 - ClassCastException from Load Generator support
Summary: ClassCastException from Load Generator support
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: J Bachorik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-25 14:55 UTC by Jiri Sedlacek
Modified: 2007-02-16 13:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
java.lang.ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.profiler.j2ee.LoadGenPanel$FriendlyFileObject (3.74 KB, text/plain)
2007-01-25 14:56 UTC, Jiri Sedlacek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Sedlacek 2007-01-25 14:55:44 UTC
Latest devbuild of Profiler & IDE, JDK 1.6.

Steps to reproduce:

 1/ Create TomcatServletExample project, create new empty JMeter plan in 
default package
 2/ Create TomcatJSPExample, no JMeter plan
 3/ Restart the IDE, click Profile Project TomcatServletExample, check 
LoadGenerator Script and ensure that the JMeter plan is selected in combo
 4/ Click Profile Project TomcatJSPExample, CCE occurs
Comment 1 Jiri Sedlacek 2007-01-25 14:56:16 UTC
Created attachment 37666 [details]
java.lang.ClassCastException: java.lang.String cannot be cast to org.netbeans.modules.profiler.j2ee.LoadGenPanel$FriendlyFileObject
Comment 2 J Bachorik 2007-02-16 13:23:28 UTC
fixed in trunk
now performing additional checks before trying to cast an object
fixed UI refresh routine
Comment 3 J Bachorik 2007-02-16 13:23:50 UTC
fixed in trunk
now performing additional checks before trying to cast an object
fixed UI refresh routine