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 4354 - A bad execution of the non-applet source.
Summary: A bad execution of the non-applet source.
Status: CLOSED WORKSFORME
Alias: None
Product: obsolete
Classification: Unclassified
Component: applet (show other bugs)
Version: 3.x
Hardware: All All
: P4 normal (vote)
Assignee: Roman Szarowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-10-08 19:37 UTC by Roman Szarowski
Modified: 2003-06-30 15:58 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 Roman Szarowski 1999-10-08 19:37:24 UTC
When you set execution properties to the "Applet execution" in any non-applet example, compile it and execute, it will start the applet viewer, but HANGS ON.
You cannot close applet viewer, you cannot close explorer.
You may dispute, that you will never set up an applet execution for non-applet code, but you may do it accidentally.

Petr Jiricka:
it works fine on my machine:

AppletViewer statrs and prinst an exception, which is how is should be:
java.lang.ClassCastException: AddAddressTest
        at sun.applet.AppletPanel.createApplet(AppletPanel.java:532)
        at sun.applet.AppletPanel.runLoader(AppletPanel.java:468)
        at sun.applet.AppletPanel.run(AppletPanel.java:302)
        at java.lang.Thread.run(Thread.java:479)
Please include a more detailed descrition how to reproduce the problem (OS, Java version, stack dump, ...)

[rszarowski] JDK 1.3, Win NT. I throws:
examples/texteditor/Finder.class can`t be instanjava.lang.InstantiationException
and HANGS ON applet viewer, but not explorer yet (cannot reproduce) then I switched the severity to low.
Comment 1 sva 2003-02-20 13:25:04 UTC
Verified WORKSFORME with NetBeans IDE Dev (Build 
200302201200).
Comment 2 Quality Engineering 2003-06-30 15:58:21 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.