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 71505 - Applets Fail To Run Using Mustang
Summary: Applets Fail To Run Using Mustang
Status: VERIFIED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: applet (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P2 blocker (vote)
Assignee: Radko Najman
URL: http://bugs.sun.com/bugdatabase/view_...
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-17 20:04 UTC by William Leonard
Modified: 2006-03-29 12:23 UTC (History)
2 users (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 William Leonard 2006-01-17 20:04:18 UTC
Steps to reproduce: 

1) Create a new General Java Class Library project
2) Create a new Applet.
3) Right-click the applet and choose Run. You get the following error:
I/O exception while reading:
D:\MyDocuments\Temp\TestJava6Applet\D:\MyDocuments\Temp\TestJava6Applet\build\NewApplet.html
(The filename, directory name, or volume label syntax is incorrect)
Java Result: 1

If you change the Java platform to 1.5, it runs fine.
Comment 1 Lukasz Grela 2006-01-18 11:21:12 UTC
#200601172200
I can't reproduce it, I've tested on Fedora Core 4 with mustang and everythink
works fine.
Request for additional information.
Comment 2 William Leonard 2006-01-18 18:15:33 UTC
I'm on Windows XP, using Mustang build 67 (the latest). It's very easy for me to
reproduce. What else can I provide for you?
Comment 3 Lukasz Grela 2006-01-19 12:48:51 UTC
I reproduced this error on Windows XP, so it seems that is is occured only on
windows platform !
Comment 4 Petr Jiricka 2006-01-19 15:12:25 UTC
Radko, could you please look at this bug? Thanks.
Comment 5 Radko Najman 2006-01-20 16:24:01 UTC
It seems like a bug in Mustang on Windows.

applet.url property in run-applet target in build script is set correctly when
this target is called.

I will check if this problem has been already reported against Mustang and if it
hasn't been, I will enter a bug.
Comment 6 Martin Balin 2006-01-24 13:35:13 UTC
Do we have Mustang bug number already?
Comment 7 William Leonard 2006-01-24 14:07:38 UTC
Mustang build 67.
Comment 8 Radko Najman 2006-01-24 14:42:40 UTC
Mustang bug number is 6376334 (URL is not available yet, I will add it later)

Ant debug info for run-applet task:
run-applet:
Executing 'C:\java\jdk1.6.0\jre\bin\java.exe' with arguments:
'-Djava.security.policy=applet.policy'
'-classpath'
'D:\dev\moje\JavaApplication1\build\classes'
'sun.applet.AppletViewer'
'file:D:/dev/moje/JavaApplication1/build/NewApplet.html'
The ' characters around the executable and arguments are
not part of the command.
Execute:Java13CommandLauncher: Executing 'C:\java\jdk1.6.0\jre\bin\java.exe'
with arguments:
'-Djava.security.policy=applet.policy'
'-classpath'
'D:\dev\moje\JavaApplication1\build\classes'
'sun.applet.AppletViewer'
'file:D:/dev/moje/JavaApplication1/build/NewApplet.html'
The ' characters around the executable and arguments are
not part of the command.
I/O exception while reading:
D:\dev\moje\JavaApplication1\D:\dev\moje\JavaApplication1\build\NewApplet.html
(The filename, directory name, or volume label syntax is incorrect)
Java Result: 1
BUILD SUCCESSFUL (total time: 1 second)
Could not load a dependent class (com/sun/media/jai/codec/FileSeekableStream)
for type image
Could not load a dependent class (jdepend/xmlui/JDepend) for type jdepend

Closing as INVALID as it is not NetBeans issue.
Comment 9 Petr Blaha 2006-01-24 15:44:17 UTC
The issues that are in JDK should be moved in 3rd-party component and then
closed after fix will be delivered in JDK.
Comment 10 Radko Najman 2006-01-26 09:03:00 UTC
Mustang appletviewer bug URL:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6376334
Comment 11 Petr Blaha 2006-01-26 11:27:55 UTC
My previous steps were mistake.
Comment 12 Lukasz Grela 2006-03-29 12:23:00 UTC
v.