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.
build 050623 I tried to profile an applet (CPU) - Profiler|Profile Other|Profile .... It started the applet viewer but the applet was not started. Applet viewer's status line contained "Start: applet not initialized." Live Results contained lines with time of the applet's constructor.
Cannot reproduce, please reopen if you get this again.
I'm getting similar results everytime I try to run a Java applet. It is saying that "Start: Applet is not initialized". Also, my java applications are not launching either. I tested my programing using another IDE and they're working so I'm not sure why it is not working on NetBeans 4.1
Reassigning for eval.
Could you please provide step-by-step description starting with NetBeans 4.1 installation, Profiler installation (and its version), running NetBeans with clean userdir. Which applet do you run (is it reproducible while runing just simple created JApplet class?). Thanks.
I deleted all directories associated with Netbeans, including the user dir. After that, I did a clean installation of Netbeans 4.1 and went through the installation (everything installed in default dirs) and it did see the version of JAVA (J2SE 5.0). Specs: product version Netbeans 4.1 (Build 200505031930) IDE versioning: IDE/1 spec=5.9.1 impl=200505031930 Java 1.5.0_04 I pretty much went through the usual "creating a project" (HowtoProgram) steps and renamed the default package of the project to HowToProgam. After that, I just copy and paste a working application into the IDE and saved it under a name. Then I tried both "build -> build main project and run -> run file (since it was just one file)" step and just "run -> run file". I continue to get this output but the application doesn't launch in netbeans as it does in other IDE's and via windows command prompt. init: deps-jar: Compiling 1 source file to C:\Documents and Settings\CaribbeanBoy\My Documents\NetBeans_projects\HowToProgram\build\classes compile-single: run-single: java.lang.NoClassDefFoundError: HowToProgram/TimeTest1 Exception in thread "main" Java Result: 1 BUILD SUCCESSFUL (total time: 4 seconds) Im pretty sure that my class path is setup correctly, but maybe im missing something. Also, I ran a applet program but when it launches the Applet viewer, I get "Start: applet not initialized" but dont get that in aother IDE, or when i launch it from command prompt or in a web browser. I hope I was able to provide all the information that you requested and/or needed.
A little explanation: originaly the issue was about profiling of an applet. I can start the applet in appletviewer within IDE but cannot to start it there with profiler.
To caribbeanboy: you description is about different issue, please file it separately if you can reproduce it, thanks! I guess that the original issue is profiler problem... Martine, what do you think?
Please reassign back to applet when you will be sure it's applet and not profiler problem. Thanks.
Indeed those are two different unrelated issues merged into one: - profiler not launching an applet that would normally launch using Run File - carribeanboy's proble with applets not running at all in the IDE The profiler problem is long gone and resolved. Since carribeanboy went pretty far with describing how to reproduce, I suggest we retarget this issue to regular applet support, which I am doing now. I am also changing the subject accordingly. My suspicion is that carribeanboy has the application project misconfigured in some way - if we could see the project, it should be easy to determine where the problem is.
carribeanboy's problem is tracked as separate issue 60904. Ian, if the original Eman's issue is alreday fixed, please mark this issue as fixed with appropriate Target Milestone. Thanks.
Oh my. Closing as Invalid, cannot reproduce.
verified