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 200504051800 1) Create Java library in derectory with space 2) Create JApplet 3) Create JApplet's HTML launcher (by running JApplet as single Run) 4) Copy HTML launcher from build directory besides applet 5) Run applet 6) ERROR: I/O Exception in Output window appears. Applet is not started.
JDK 1.5.0_03 Same for Debug Applet. See issue 51253 where same problem was workarounded for JDK 1.5.0 and 1.5.0_01.
It's problem in j2seproject - see original issue 51253 for more information about workaround for JDK 1.5 AppletViewer jdk_bug_6193279.
It fails also with in JDK 1.5.0-b64-fcs on Linux & Windows - seems to be a regression.
It's not regresion it didn't work in NetBeans 4.0 too, but it should be fixed. It is related to the issue #51253. The generateHTML() works fine but the copyHTML() is broken. It should be fixed in the same way as the generateHTML().
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java,v <-- J2SEActionProvider.java new revision: 1.42; previous revision: 1.41 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java,v <-- AppletSupport.java new revision: 1.9; previous revision: 1.8 done
Petr can you review the path? http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java?r1=1.41&r2=1.42 http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java?r1=1.8&r2=1.9
Verified in continuous build 20050407-1254 (JDK 1.5.0_03, WinXP). Go for release41 integration from QE.
The fix is ok.
The fix looks ok to me.
http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java?r1=1.40&r2=1.40.2.1 http://java.netbeans.org/source/browse/java/j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java?r1=1.8&r2=1.8.4.1
Verified in 4.1 build 200504142205.