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 60436 - Applet doesn't start in Applet viewer when using Run File
Summary: Applet doesn't start in Applet viewer when using Run File
Status: CLOSED INVALID
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 4.x
Hardware: All Windows XP
: P2 blocker (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-23 12:52 UTC by ehucka
Modified: 2006-03-24 12:54 UTC (History)
1 user (show)

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 ehucka 2005-06-23 12:52:58 UTC
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.
Comment 1 iformanek 2005-06-23 13:41:37 UTC
Cannot reproduce, please reopen if you get this again.
Comment 2 caribbeanboy 2005-06-25 23:28:22 UTC
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
Comment 3 Milan Kubec 2005-07-07 09:36:46 UTC
Reassigning for eval.
Comment 4 zikmund 2005-07-07 11:37:06 UTC
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.
Comment 5 caribbeanboy 2005-07-11 20:42:43 UTC
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.
Comment 6 ehucka 2005-07-12 09:30:01 UTC
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.
Comment 7 zikmund 2005-07-12 12:41:18 UTC
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?
Comment 8 Martin Grebac 2005-07-12 12:56:21 UTC
Please reassign back to applet when you will be sure it's applet and not
profiler  problem. Thanks.
Comment 9 iformanek 2005-07-15 16:40:20 UTC
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.
Comment 10 zikmund 2005-07-18 15:03:23 UTC
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.
Comment 11 iformanek 2005-07-18 16:33:10 UTC
Oh my.
Closing as Invalid, cannot reproduce.
Comment 12 ehucka 2006-03-22 09:35:19 UTC
verified