Code Monkey home page Code Monkey logo

icedtea-web's Introduction

IcedTeaWeb

Build Status

This repository contains all sources of IcedTeaWeb.

About IcedTeaWeb

IcedTeaWeb is an open source implementation of JSR-56 that is better known as Java Web Start.

Development origin

The project was formerly hosted as part of the icedtea.classpath.org project but moved to github.

The 1.7 and 1.8 release branches of IcedTeaWeb have been migrated to GitHub for fixing bugs in the previews releases. Next to this a new project structure has been established in the master branch. Here the project is being migrated to Maven and more usage of Java 8 APIs are being introduced. Based on this IcedTeaWeb can be transformed to a general WebStart / JNLP API that JDK and tool vendors can use to offer JNLP functionality. A good example is OpenWebStart that will be based on IcedTeaWeb.

All issues of the former Bugzilla issue tracker at classpath.org were already migrated to GitHub and marked by the bugzilla-import label.

First Timers Support

We love open source. Based on this we develop IcedTeaWeb as an open source project. If you are new to open source development we have some specific issues for you. Just have a look at all issues with the good first issue label. This issues are reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issues are for you 💝 We use such issues for example to get involved at Hacktoberfest. If you want to know more about open source development and contribution in general you should have a look at this overview.

License

The project is released as open source under the GPLv2 with exceptions.

icedtea-web's People

Contributors

activityworkshop avatar akashche avatar akuhtz avatar andreasehret avatar andrewazores avatar atfield90 avatar aurumtheend avatar bmsbharathi avatar dbhole avatar dependabot[bot] avatar doko42 avatar don-vip avatar ebourg avatar florianroettges avatar gdams avatar gnu-andrew avatar hendrikebbers avatar jakesmarter avatar janakmulani avatar jiekang avatar judovana avatar karianna avatar knickedixen avatar lherschi avatar omajid avatar schwingsk avatar sclassen avatar stonefix avatar thomasmey avatar tzjan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

icedtea-web's Issues

NullPointerException when applet class file not found

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 630

Date: 2011-02-09 11:29:00 +0000
From: tom-vprqgrnohtf
To: Deepak Bhole <>
CC: a.kuckartz

Last updated: 2012-07-25 11:35:40 +0000

Comment 3234

Date: 2011-02-09 11:29:16 +0000
From: tom-vprqgrnohtf

The following HTML gives a NullPointerException:

            <object type="application/x-java-applet" code="NoSuchFile.class">

            Console output follows.

            java version "1.6.0_20"
            OpenJDK Runtime Environment (IcedTea6 1.9.5) (6b20-1.9.5-0ubuntu1~10.04.1)
            OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
            net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:604)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)
            Caused by: java.lang.NullPointerException
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)
            ... 2 more
            Caused by:
            java.lang.NullPointerException
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:427)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:168)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:249)
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:575)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:548)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:729)
            java.lang.NullPointerException
            at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:99)
            at sun.applet.AppletPanel.run(AppletPanel.java:380)
            at java.lang.Thread.run(Thread.java:636)
            java.lang.NullPointerException
            at sun.applet.AppletPanel.run(AppletPanel.java:430)
            at java.lang.Thread.run(Thread.java:636)

Comment 3236

Date: 2011-02-09 15:40:21 +0000
From: Omair Majid <>

(In reply to comment #0)
> The following HTML gives a NullPointerException:
>
>
>

            Take a look at
            http://download.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#object which
            shows how to use an object tag correctly. the object tag supports the attribute codebase, but not code.
            The "code" must be specified as a param element inside the object tag.

            Does the problem still occur after you fix the object element?

Comment 3240

Date: 2011-02-09 22:27:42 +0000
From: tom-vprqgrnohtf

(In reply to comment #1)
> (In reply to comment #0)
> > The following HTML gives a NullPointerException:
> >
> >
> >
>
> Take a look at
> http://download.oracle.com/javase/1.5.0/docs/guide/plugin/developer_guide/using_tags.html#object
> which shows how to use an object tag correctly. the object tag supports the
> attribute codebase, but not code. The "code" must be specified as a param
> element inside the object tag.

            Be that as it may, plugins shouldn't crash with null pointer exceptions no matter what input they
            receive. It's not just tasteless, the browser has to wait and eventually time out to discover it's not
            going to get an applet ID. That affects other browsing and it breaks the object tag fallback mechanism.

            > Does the problem still occur after you fix the object element?

            I don't have access to that machine at the moment, but I gave you a minimal test case. It's up to you to
            use it to investigate and sort out your code.

Comment 3788

Date: 2011-05-31 19:51:30 +0000
From: Deepak Bhole <>

Targeting for 1.1.1

NEWS and Changelog

Hi!

Are there any preferences on how to deal with NEWS and Changelog?
News are pretty good summary, but can be handled shortly before release.
Chnagelog is most likely obsoleted, but is used in ABOUT window. So maybe to generate it from Commit messages?

Thoughts?

can't copy or paste text in the text areas

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 708

Date: 2011-05-08 03:44:00 +0000
From: Maximiliano Castañón Araneda <>
To: Deepak Bhole <>
CC: aph, asu, jvanek, unassigned

Last updated: 2012-10-26 10:15:02 +0000

Comment 3609

Date: 2011-05-08 03:44:37 +0000
From: Maximiliano Castañón Araneda <>

well, just that simply, in a chat you can't copy or paste text.

            tested on Firefox 6.0a1

            java version "1.6.0_18"
            OpenJDK Runtime Environment (IcedTea6 1.8.7) (6b18-1.8.7-3)
            OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)

Comment 3610

Date: 2011-05-08 04:13:53 +0000
From: Andrew Su <>

Hi,

            Do you have a specific URL for us to test this with?

            --Andrew

Comment 3611

Date: 2011-05-08 07:10:19 +0000
From: Maximiliano Castañón Araneda <>

http://www.chatzone.de/quickchat.jsp?language=english&channel=en.General
can't paste anything or copy in there

Comment 3797

Date: 2011-05-31 20:07:46 +0000
From: Deepak Bhole <>

Hi. That is an unsigned app. Unsigned apps do not have clipboard access for security reasons.

Comment 4758

Date: 2012-05-08 09:08:05 +0000
From: Andrew Haley <>

What are those security reasons? It means that useful applets like http://www.falstad.com/circuit/
are unusable because there is no way to export circuits.

Comment 4760

Date: 2012-05-08 17:39:49 +0000
From: Deepak Bhole <>

(In reply to comment #4)
> What are those security reasons? It means that useful applets like
> http://www.falstad.com/circuit/ are unusable because there is no way to
> export circuits.

            It is detailed here:

            http://slightlyrandombrokenthoughts.blogspot.ca/2011/03/oracle-java-applet-clipboard-injection.html

Comment 4863

Date: 2012-05-28 09:34:24 +0000
From: JiriVanek <>

IMHO - we definitely can not allow the copy paste injection. But what about handling ctrl+c +ctrl-v
manually in netx (for most common components like jtextfield, jtextarea, jeditorpane... it should be
easy) ?

Comment 4971

Date: 2012-06-11 20:16:22 +0000
From: Deepak Bhole <>

How would be do it manually? We would have to a listener for multiple widgets won't we?

Comment 5659

Date: 2012-10-26 10:15:02 +0000
From: hg commits <>

details: http://icedtea.classpath.org//hg/icedtea-web?cmd=changeset;node=2c3a063c1aff
author: Jiri Vanek [email protected]
date: Fri Oct 26 12:15:18 2012 +0200

            Added clipboard reproducers (PR708)

Applet is not released memory till browser not closed

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 1680

Date: 2014-02-21 10:35:00 +0000
From: Jitender <<jitender.chauhan>>
To: Lukasz Dracz <>
CC: unassigned

Last updated: 2014-08-06 15:32:32 +0000

Comment 7716

Date: 2014-02-21 10:35:21 +0000
From: Jitender <<jitender.chauhan>>

Hi,

            I am using ubuntu 12.04 with 64 bit machine. when i am using one website that is having applet run and
            process lots of havvy log files and a JFrame also populate.

            after logout or close my browser tab my system still using the same memory while processing the
            application/applet and that popup is not closed.

            but same thing i am doing in windows and popup open with Java program then is releasing the memory as
            well popup is closed.

            Memory only released when i will closing my browser completely. i think icedtea-web is not able to call
            applet destory funcation.

            please help me to resolve this.

            BR//
            Jitender Chauhan

gtk look and feel setting causes javaws to hang if accessibility used

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 857

Date: 2012-01-19 15:59:00 +0000
From: Michał Zegan <<webczat_200>>
To: Omair Majid <>
CC: gnu.andrew, unassigned, xerxes

Last updated: 2014-03-04 15:36:00 +0000

Comment 4306

Date: 2012-01-19 15:59:24 +0000
From: Michał Zegan <<webczat_200>>

I am a blind linux user, using java atk wrapper for java swing applications to be able to access
them.
I am unable to use javaws, and maybe other parts of icedtea-web, but I am not sure, because it hangs
when starting up, no matter on what I'm doing with it.
I discovered that when I remove accessibility.properties from the jre's lib directory, the problem is
solved, but then java-atk-wrapper does not work and provide me with any accessible windows.

            Later, I've discovered what the issue is and how to fix it, although I do not have a patch, because I
            don't know the code enough:
            Throughout the code, icedtea has calls to setLookAndFeel, that resets the current plaf to the system's
            plaf, that's gtk on unix.
            The problem lies in placement of those calls:
            Java documentation says that it's recommended to use setLookAndFeel as the first thing ever done with
            swing, before any other swing classes could be loaded, because failure to do so can have unexpected
            results.
            Icedtea code doesn't follow this, I saw something, not sure what part of the code is it, that before
            setting look and feel, it creates a security manager, the line that does that has the comment saying
            that it's side effect is to create a JWindow.
            That means that the component is created before setting look and feel, that's a violation of the rule
            stated above.
            I've made a simple test case that created a frame, then set a plaf to the native one, then creates and
            shows another frame.
            When I ran it with accessibility enabled, I saw that it hangs as javaws does.
            For comparison, removing the frame created before setLookAndFeel made it work.
            I think some things need to be reordered, and plaf reset should be done as early as possible before any
            swing class would get loaded, that would solve all problems.

Comment 4307

Date: 2012-01-20 06:58:14 +0000
From: Michał Zegan <<webczat_200>>

I think it may also affect the plugin.

Comment 4308

Date: 2012-01-21 20:34:45 +0000
From: Xerxes Rånby <>

Thank you Michał for submitting this accessibility bug-report.

            I am currently struggling to get swing/awk applications connected to the Ocra screen reader. I have
            updated my jre/lib/accessibility.properties to include
            assistive_technologies=org.GNOME.Accessibility.AtkWrapper and also made sure that the jre/lib/ext
            directory contains the java-atk-wrapper.jar and jni files, despite this I get no indication that the
            AtkWrapper gets initialized/used when I start swing or awt applications. This setup/configure issue
            delay me from starting to work on a fix for this bug. I will try recompile my java-atk-wrapper from
            upstream source and see if that help.

            Two quick questions:
            1) Are the java-atk-wrapper known to work in combination with openjdk-6?
            2) Are the java-atk-wrapper known to work in combination with gnome 3.0?

            Cheers, and have a great day
            Xerxes Rånby

Comment 4309

Date: 2012-01-22 09:49:34 +0000
From: Michał Zegan <<webczat_200>>

It's actually a general bug not only related to accessibility.
It shows up when java-atk-wrapper is enabled, but it is a general bug, that may be probably triggered by
other things.
The fact that look and feel modification cannot be done after any swing class has been loaded or
component created is not necessarily related to accessibility, it's possible it could cause problems in
other unspecified situations.
You could look into sources and see that javaws, for example, does that.

Comment 4313

Date: 2012-01-24 17:34:17 +0000
From: Xerxes Rånby <>

Created attachment 639
remove-all-setLookAndFeel.patch

            Ok I have reproduced this bug as described. I have also verified that javaws -viewer can start and work
            in combination with the java-atk-wrapper, and ocra, if I simply removed the setLookAndFeel lines inside
            the javaws and plugin source-code.

            I will start examine how to fix this bug and still have setLookAndFeel enabled.
            Cheers,
            Xerxes

Attached file: remove-lookAndFeel.patch (text/plain, 4438 bytes)
Description: remove-all-setLookAndFeel.patch

Comment 4314

Date: 2012-01-24 18:24:32 +0000
From: Michał Zegan <<webczat_200>>

My comment on that is:
You can use gtk look and feel with JAW.
You just need to make sure the call is made before any swing component has been created, so reordering
would suffice.

Comment 4315

Date: 2012-01-25 00:52:17 +0000
From: Omair Majid <>

Created attachment 640
only set the look and feel once in the main javaws/plugin process

            The attached patch removes all calls to UIManager.setLookAndFeel() after it is set once.

            I have not verified this, but the UI elements used by icedtea-web should still have the system look and
            feel since all icedtea-web UI should be associated with the main AppContext. If they dont, then that
            sounds like another bug to me (I suspect the UI associated with download progress bars might run into
            this). The target application/applet should be running in a separate AppContext and should get it's own
            look and feel (the default is metal).

            Note that extra/net/sourceforge/javaws/about/Main.java and
            netx/net/sourceforge/jnlp/controlpanel/ControlPanel.java are separate applications and should not
            encounter the same problem.

Attached file: limit-look-and-feel-to-main-app-context.patch (text/plain, 3467 bytes)
Description: only set the look and feel once in the main javaws/plugin process

Comment 4316

Date: 2012-01-25 06:11:27 +0000
From: Michał Zegan <<webczat_200>>

yeah, I think javaws has this bug because it sets l&f after creating a security manager that
implicitly creates JWindow, unless I read it wrong, so reordering would make it work as expected.
What about setting l&f in a security dialog?

Comment 4318

Date: 2012-01-25 10:31:45 +0000
From: Michał Zegan <<webczat_200>>

I've read this patch to some extend...
Are you sure plugin will work as expected and won't need to set l&f many times?

Comment 4319

Date: 2012-01-25 10:48:58 +0000
From: Michał Zegan <<webczat_200>>

I do not confirm that the bug has been fixed.
Javaws still does not start, because before setting look and feel, you still create swing objects/ui
elements and load swingclasses, for example the window icon, and something else.

Comment 4323

Date: 2012-01-25 13:43:35 +0000
From: Michał Zegan <<webczat_200>>

update: it was a failure of the build system not rebuilding all cllasses, the patch actually works
properly. thanks

Comment 7754

Date: 2014-03-04 15:36:00 +0000
From: hg commits <>

details: http://icedtea.classpath.org//hg/icedtea-web?cmd=changeset;node=07d7757eda0c
author: Omair Majid [email protected]
date: Tue Mar 04 10:35:17 2014 -0500

            PR857: Don't set look and feel multiple times

            2014-03-03 Omair Majid <[email protected]>

            PR857
            * netx/net/sourceforge/jnlp/about/AboutDialog.java
            (run): Do not set look and feel.
            * netx/net/sourceforge/jnlp/runtime/Boot.java
            (main) <about>: Set look and feel before displaying dialog.
            * netx/net/sourceforge/jnlp/runtime/JNLPRuntime.java
            (initialize): Set look and feel before any UI is created.
            * netx/net/sourceforge/jnlp/security/SecurityDialog.java
            (init): Do not set look and feel.
            (setSystemLookAndFeel): Removed.
            * netx/net/sourceforge/jnlp/security/policyeditor/PolicyEditor.java
            (createInstance): Do not set look and feel.
            * netx/net/sourceforge/jnlp/security/viewer/CertificateViewer.java
            (showCertificateViewer): Do not set look and feel.
            (setSystemLookAndFeel): Removed.

split project to logical parts

In future this project should contain only the Java based core of IcedTeaWeb (as a Maven project - see #20 ). Therefore we will remove all native parts in a first step.

Linking of the plugin does not respect LDFLAGS

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 796

Date: 2011-09-29 11:44:00 +0000
From: Vlastimil Babka <>
To: JiriVanek <>
CC: chewi, gnu.andrew, unassigned

Last updated: 2016-01-28 11:16:16 +0000

Comment 4047

Date: 2011-09-29 11:44:42 +0000
From: Vlastimil Babka <>

As we discussed on IRC, the plugin linking does not respect LDFLAGS and the fix is trivial. I can't
say that it breaks anything, but:
1) It's a good practice
2) In Gentoo we generally require this, being a source-based meta-distribution
3) Practically, the default LDFLAGS in gentoo contain --as-needed which significantly reduces number of
linked-but-in-fact-not-needed libraries that trigger rebuilds when such libraries change SONAME (such as
libpng which gets indeed linked to the plugin without --as-needed, although it's not a dependency).

            Thanks for considering this.

Comment 4048

Date: 2011-09-29 11:45:23 +0000
From: Vlastimil Babka <>

Created attachment 583
patch to respect LDFLAGS for the plugin .so

Attached file: 0002-Respect-LDFLAGS.patch (text/plain, 352 bytes)
Description: patch to respect LDFLAGS for the plugin .so

Comment 12312

Date: 2016-01-27 22:32:42 +0000
From: James Le Cuirot <>

Created attachment 1502
Updated patch to respect LDFLAGS in Makefile.am

            Jiri, I saw that you are about to release 1.6.2. It would be good to strike this one off the list as it
            is still an issue for us. Here is an updated patch that adds LDFLAGS in all the relevant places, not
            just the main plugin target.

Attached file: icedtea-web-1.6-respect-ldflags.patch (text/plain, 2329 bytes)
Description: Updated patch to respect LDFLAGS in Makefile.am

Comment 12313

Date: 2016-01-27 23:28:25 +0000
From: Andrew John Hughes <<gnu.andrew>>

I think you may have gone a bit overboard there; the rules that produce object files (%.o) don't
need linker flags.

            Incidentally, I spot in the context that a bare 'ar' is being used. This needs to be fixed.

Comment 12321

Date: 2016-01-28 11:16:16 +0000
From: James Le Cuirot <>

Created attachment 1503
Updated patch to respect LDFLAGS in Makefile.am

            Right you are, here's a better one.

Attached file: icedtea-web-1.6-respect-ldflags.patch (text/plain, 947 bytes)
Description: Updated patch to respect LDFLAGS in Makefile.am

Additional image Spi not found in application classpath / IIORegistry instance created without jnlp jars

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3712

Date: 2019-03-22 16:05:00 +0000
From: joupa77
To: JiriVanek <>
CC: unassigned

Last updated: 2019-03-22 16:05:26 +0000

Comment 17475

Date: 2019-03-22 16:05:26 +0000
From: joupa77

The IcedTea-Web DeploymentConfiguration class registers an IcoSpi provider
(DeploymentConfiguration.java:304), and make a call to ImageIO.read (ImageResources.java:78).

            This creates a static IIORegistry (IIORegistry.getDefaultInstance) that scans the classpath for all the
            spi providers.
            At this moment the classpath does not seems to contain all the jars declared in the JNLP so the new
            providers are not discovered.

            In our JNLP application we use the jai_imageio-1.1-windows-i586.jar with the TIFF codec. Later during
            the process the ImageIO.read() on a tiff image fails.

            Workaround :
            Before trying to read an image a call to ImageIO.scanForPlugins() forces a scan of the classpath. It
            only has to be done once.

You can open windows with JAVA but you can't close them

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 707

Date: 2011-05-06 19:57:00 +0000
From: Maximiliano Castañón Araneda <>
To: JiriVanek <>
CC: iyoddle2, unassigned

Last updated: 2016-02-24 13:22:17 +0000

Comment 3608

Date: 2011-05-06 19:57:18 +0000
From: Maximiliano Castañón Araneda <>

You can open and receive text messages, but then you can't close.... i need to do a xkill to close
the windows... this happens with Chronium and Firefox, tested in

            java version "1.6.0_22"
            OpenJDK Runtime Environment (IcedTea6 1.10.1) (6b22-1.10.1-1)
            OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

Comment 3684

Date: 2011-05-25 05:41:50 +0000
From: Maximiliano Castañón Araneda <>

you can close the windows from the same JAVA APP in the menu EXIT, but can't close from the X in
the Xorg Window, this doesn't happen with Windows JAVA

Comment 12529

Date: 2016-02-24 13:22:17 +0000
From: JiriVanek <>

Hello! Any way how to reproduce those?

chrome:// URIs should be granted full permissions

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 626

Date: 2011-02-02 20:10:00 +0000
From: Simon Kornblith <>
To: Deepak Bhole <>

Last updated: 2011-05-31 19:49:00 +0000

Comment 3220

Date: 2011-02-02 20:10:55 +0000
From: Simon Kornblith <>

Running the code:

            new java.net.URLClassLoader(java.lang.reflect.Array.newInstance(java.lang.Class.forName("java.net.URL"),
            0));

            from Firefox chrome:// (privileged) generates a LiveConnectPermissionNeeded error in icedtea-web. This
            same code does not generate an exception in the old IcedTea LiveConnect/OJI plug-in, nor does it
            generate an exception in any of the Sun NPRuntime Java plug-ins.

            This prevents almost all Firefox extensions that use Java from working with IcedTea, and affects several
            thousand Zotero users.

            The Sun NPRuntime plug-in explicitly checks whether the origin is a chrome:// URI, and grants it
            enhanced privileges appropriately. AFAIK there's no reason IcedTea couldn't do this as well.

            See also:
            RedHat Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=598519
            Launchpad: https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/596688

Comment 3786

Date: 2011-05-31 19:49:00 +0000
From: Deepak Bhole <>

Target -> 1.1.1

Log: java.text.ParseException: Unparseable date

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 2075

Date: 2014-11-07 09:17:00 +0000
From: thomas
To: JiriVanek <>
CC: gnu.andrew, unassigned

Last updated: 2016-01-28 21:33:40 +0000

Comment 9165

Date: 2014-11-07 09:17:25 +0000
From: thomas

After adding
deployment.log.file=true
to /home/thomas/.config/icedtea-web/deployment.properties

            I get these funky debug output lines:
            preinit_plugindebug #1415351500042325 [thomas][ITW-C-PLUGIN][MESSAGE_DEBUG][Fr Nov 07 10:11:40 CET
            2014][/builddir/build/BUILD/icedtea-w
            eb-1.5.1/plugin/icedteanp/IcedTeaPluginUtils.cc:1180] ITNPP Thread# 140018407193152, gthread
            0x7f5893419d20: plugin_debug_to_file: true
            , using /home/thomas/.config/icedtea-web/log/itw-cplugin-2014-11-07_10:11:40.41.log
            java.text.ParseException: Unparseable date: "Fr Nov 07 10:11:40 CET 2014"
            at java.text.DateFormat.parse(DateFormat.java:357)
            at net.sourceforge.jnlp.util.logging.headers.PluginMessage.<init>(PluginMessage.java:73)
            at net.sourceforge.jnlp.util.logging.JavaConsole.processPluginMessage(JavaConsole.java:523)
            at net.sourceforge.jnlp.util.logging.JavaConsole.access$1100(JavaConsole.java:87)
            at net.sourceforge.jnlp.util.logging.JavaConsole$13.run(JavaConsole.java:554)
            at java.lang.Thread.run(Thread.java:745)


            The log file /home/thomas/.config/icedtea-web/log/itw-javantx-2014-11-07_10:11:40.823.log is full with
            messages of these kind.

Comment 9166

Date: 2014-11-07 09:20:02 +0000
From: thomas

This is on Fedora 20 with icedtea-web version:
$ yum info icedtea-web
Geladene Plugins: auto-update-debuginfo, langpacks, refresh-packagekit
Installierte Pakete
Name : icedtea-web
Architektur : x86_64
Version : 1.5.1
Ausgabe : 0.fc20
Größe : 1.8 M
Quelle : installed
Aus Quelle : updates
Zusammenfassung: Additional Java components for OpenJDK - Java browser plug-in and Web Start
implementation
URL : http://icedtea.classpath.org/wiki/IcedTea-Web
Lizenz : LGPLv2+ and GPLv2 with exceptions
Beschreibung: The IcedTea-Web project provides a Java web browser plugin, an implementation
: of Java Web Start (originally based on the Netx project) and a settings tool to
: manage deployment settings for the aforementioned plugin and Web Start
: implementations.

Comment 9167

Date: 2014-11-07 09:30:08 +0000
From: thomas

Starting firefox with:
$ unset LANG
$ ICEDTEAPLUGIN_DEBUG=true firefox

            makes the logging work correctly.

Comment 12327

Date: 2016-01-28 15:09:04 +0000
From: JiriVanek <>

Hello!

            I guess your defaule locales are somehting like de_DE.utf8
            and os some German-like date is going from plugin to java.

            I think I will just silence this exception, and if it ocure, the original value will br printed. (as
            date of even is going in as long)

            I iwll look into this and do try some workaround for upcoming release.

Comment 12328

Date: 2016-01-28 15:20:13 +0000
From: JiriVanek <>

I stopped guessing and Tried to reproduce. No sucess. So I probably need to know yours LANG and
also need some verification if it is still presented in 1.6.

            For testing:

            Binaries from http://mail.openjdk.java.net/pipermail/distro-pkg-dev/2016-January/034732.html

            May be useful.

            Thanx!

Comment 12331

Date: 2016-01-28 21:33:40 +0000
From: Andrew John Hughes <<gnu.andrew>>

Well, the log message is over a year old and that line in PluginMessage.java doesn't seem to call
parse any more. It does seem odd that DateFormat wouldn't be able to parse a Date String the JDK itself
produced, unless the two are running under different Locale settings.

            You need to provide a recent log failure and your setting of LANG to move further with this.

NetX depends on sun.misc.HexDumpEncoder

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 605

Date: 2010-12-08 18:54:00 +0000
From: Omair Majid <>
To: Omair Majid <>
CC: dbhole

Blocker for: #562
Last updated: 2011-05-31 19:37:19 +0000

Comment 3131

Date: 2010-12-08 18:54:53 +0000
From: Omair Majid <>

netx/net/sourceforge/jnlp/security/CertsInfoPane.java depends on non-standard
sun.misc.HexDumpEncoder class.

Unable to use sun.lang.ClassLoader.allowArraySyntax

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3081

Date: 2016-07-04 10:55:00 +0000
From: zagumennik
To: JiriVanek <>
CC: unassigned

Last updated: 2016-08-18 09:51:09 +0000

Comment 13847

Date: 2016-07-04 10:55:57 +0000
From: zagumennik

Hi,
I need to set "sun.lang.ClassLoader.allowArraySyntax" system property to "true" for my application.
I know that I can use "" in
my jnlp file, but it doesn't seem to work because VM reads this property during startup, but icedtea
seems to set this property after VM startup.
With oracle webstart I use ""
and it works, but it doesn't seem to work with icedtea webstart.
Thanks

Comment 14192

Date: 2016-08-01 08:34:32 +0000
From: zagumennik

Hi,

            Any updates?

            Thanks

Comment 14313

Date: 2016-08-18 09:51:09 +0000
From: zagumennik

Anyone alive here?

NetX depends on com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager.java

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 571

Date: 2010-10-18 14:09:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>
CC: dbhole

Blocker for: #562
Last updated: 2014-11-10 15:39:48 +0000

Comment 2966

Date: 2010-10-18 14:09:33 +0000
From: Andrew John Hughes <<gnu.andrew>>

Cannot run HP ILO4 remote console application

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3461

Date: 2017-10-03 23:14:00 +0000
From: Jonathan Underwood <<jonathan.underwood>>
To: JiriVanek <>
CC: captcha.is.evil, chewi, unassigned

Last updated: 2019-03-15 15:33:51 +0000

Comment 16170

Date: 2017-10-03 23:14:43 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1656
Log file from running javaws -verbose iLO-jirc.jnlp 2>&1 | tee javaws.log

            IcedTea javaws fails to properly run the ILO4 remote console Java Web Start application.

            This app does run correctly with javaws shipped with the Oracle JDK.

            When ran using icedtea-web a window opens but is completely blank.

Attached file: javaws.log (text/x-log, 26250 bytes)
Description: Log file from running javaws -verbose iLO-jirc.jnlp 2>&1 | tee javaws.log

Comment 16171

Date: 2017-10-03 23:15:11 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1657
jnlp file

Attached file: iLO-jirc.jnlp (application/x-java-jnlp-file, 960 bytes)
Description: jnlp file

Comment 16172

Date: 2017-10-04 10:52:55 +0000
From: JiriVanek <>

Hi!

            In the logs is nothing bad. The application started fine. To fix this, I need to attach debugger. ==
            access to application or reproducer:(

Comment 16173

Date: 2017-10-04 11:00:26 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Hm. That's a bit tricky if you don't have access to hardware with ILO4.

            I can think of two ways to proceed:

            1. I somehow work out how to attach a debugger and send you what you need. I'm not a java developer, so
            this could be trick.

            2. I somehow work out how to give you access to my hardware. Given this would involve opening up my home
            network, it's not ideal :) will give it some thought though.

Comment 16174

Date: 2017-10-04 11:42:32 +0000
From: JiriVanek <>

It is single jar app. Maybe most easy is to send me (privately) the jar? Are the sources of this
jar open? (it will speed up debugging a lot)

Comment 16175

Date: 2017-10-04 11:44:57 +0000
From: Jonathan Underwood <<jonathan.underwood>>

I did attach the jnlp - does that not contain the jar?

            As far as I know, it's not an open source app.

Comment 16176

Date: 2017-10-04 11:55:43 +0000
From: JiriVanek <>

Nope. It contains it name.

            Jnlp file is text file with instructions how to obntain and download the jar. In this case it was
            generated from some server on your internal network.

Comment 16177

Date: 2017-10-04 11:55:59 +0000
From: JiriVanek <>

*obtain and run

Comment 16178

Date: 2017-10-04 11:57:35 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Ohhhh. Right. In which case I should be able to grab the jar. I'll look into that. Sorry for the
stupid questions :)

Comment 16208

Date: 2017-10-16 21:07:24 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1659
Jar file for application

            This seems to be the jar file that the jnlp downloads.

Attached file: intgapp4_231.jar (application/x-java-archive, 373218 bytes)
Description: Jar file for application

Comment 16616

Date: 2018-04-05 08:26:37 +0000
From: JiriVanek <>

Hi. Sorry for longer delay. I run the jnlp+jar you gave me. ITW starts correctly. All signatures
are valid. No trace of bad behavior. The application later crashes when trying to download more
resources, but again , no usable trace.
My server is reporting following:
127.0.0.1 - - [05/Apr/2018 09:50:19] "GET /iLO-jirc.jnlp HTTP/1.1" 200 -
127.0.0.1 - - [05/Apr/2018 09:50:24] "HEAD /iLO-jirc.jnlp HTTP/1.1" 200 -
127.0.0.1 - - [05/Apr/2018 09:50:24] "GET /iLO-jirc.jnlp HTTP/1.1" 200 -
127.0.0.1 - - [05/Apr/2018 09:50:25] "HEAD /html/intgapp4_231.jar HTTP/1.1" 200 -
127.0.0.1 - - [05/Apr/2018 09:50:25] "GET /html/intgapp4_231.jar HTTP/1.1" 200 -
127.0.0.1 - - [05/Apr/2018 09:50:27] code 400, message Bad request syntax
('\x16\x03\x03\x00\xab\x01\x00\x00\xa7\x03\x03Z\xc5\xd5C\xfb\x1e\xe5\xc3\x06\xfe\\x9c\xa9\xc7\xe0\xde\xbfo\x02\xa7f\xe3\xccl\xc1L3\x9d\x88\xc4\x1f\xea\x00\x00H\xc0$\xc0(\x00=\x00k\x00j\xc0')
127.0.0.1 - - [05/Apr/2018 09:50:27] "��Z��C����\����޿o�f��l�L3����H�$�(=kj�" 400 -
127.0.0.1 - - [05/Apr/2018 09:50:27] code 404, message File not found
127.0.0.1 - - [05/Apr/2018 09:50:27] "GET /lang/en/jirc_strings.xml HTTP/1.1" 404 -

            I guess missing lang/en/jirc_strings.xml is issue here.

            I can then see small window of application without content.


            When I fake the file, I got:
            127.0.0.1 - - [05/Apr/2018 09:58:42] "HEAD /iLO-jirc.jnlp HTTP/1.1" 200 -
            127.0.0.1 - - [05/Apr/2018 09:58:42] "HEAD /html/intgapp4_231.jar HTTP/1.1" 200 -
            127.0.0.1 - - [05/Apr/2018 09:58:44] code 400, message Bad request syntax
            ('\x16\x03\x03\x00\xab\x01\x00\x00\xa7\x03\x03Z\xc5\xd74^\xce\xee\xe7\xb0\xf3*\xed\xc0\x03j\x03B\xc7\x1d\xfc\xee\xdd!\xb7:\xfa\x15\x910\xba')
            127.0.0.1 - - [05/Apr/2018 09:58:44] "��Z��4^�����*��jB����!�:��0�" 400 -
            127.0.0.1 - - [05/Apr/2018 09:58:44] "GET /lang/en/jirc_strings.xml HTTP/1.1" 200 -


            (the jnlp and jar are already in cache), I got an exception:
            Write xml to/tmp/jirc_strings2b3bfac6.xmlcomplete
            Message after comp of webserver retrieval
            [Fatal Error] jirc_strings2b3bfac6.xml:1:1: Content is not allowed in prolog.
            org.xml.sax.SAXParseException; systemId: file:/tmp/jirc_strings2b3bfac6.xml; lineNumber: 1;
            columnNumber: 1; Content is not allowed in prolog.
            at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)
            at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)
            at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:205)
            at com.hp.ilo2.intgapp.locinfo.initLocStrings(locinfo.java:499)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:113)
            at net.sourceforge.jnlp.runtime.AppletEnvironment$2.run(AppletEnvironment.java:198)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at
            java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
            [jvanek][ITW-JAVAWS][ERROR_DEBUG][Thu Apr 05 09:58:45 CEST
            2018][net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet(AppletEnvironment.java:207)] NETX
            Thread# 3e96ba4f, name Integrated Remote Console
            java.lang.reflect.InvocationTargetException
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
            at net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet(AppletEnvironment.java:191)
            at net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:652)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:943)
            Caused by: java.lang.NullPointerException
            at com.hp.ilo2.virtdevs.virtdevs.init(virtdevs.java:137)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:115)
            at net.sourceforge.jnlp.runtime.AppletEnvironment$2.run(AppletEnvironment.java:198)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at
            java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

            This is still caused by the jirc_strings2b3bfac6.xml file being not xml....
            Can you provide file of /lang/en/jirc_strings.xml?
            Maybe the xml is wrongly located or ITW search for it on wrong path?

            More faking of jirc_strings.xml had some sucess. The xml properties were loaded, but later come death
            by:
            Exception: java.io.FileNotFoundException: /home/jvanek/.java/hp.properties (No such file or directory)
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.util.logging.FileLog.getFileName(FileLog.java:112)] NETX Thread# 3283452c,
            name Output controller consumer daemon Attempting to log into:
            /home/jvanek/.config/icedtea-web/log/itw-clienta-2018-04-05_10:22:05.287.log
            Trying to select locale: en_US
            Started Retrieving parameters from ILO..
            chk getPort: 8000
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:183)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selecting proxy for: https://localhost:8000/json/rc_info
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:222)]
            NETX Thread# 1321c311, name AWT-EventQueue-1 Browser selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:212)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:183)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selecting proxy for: socket://localhost:8000
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:222)]
            NETX Thread# 1321c311, name AWT-EventQueue-1 Browser selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:212)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selected proxies: [DIRECT]
            javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
            at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
            at sun.security.ssl.InputRecord.read(InputRecord.java:527)
            at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:983)
            at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1385)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1413)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1397)
            at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
            at
            sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
            at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162)
            at com.hp.ilo2.intgapp.jsonparser.getJSONRequest(jsonparser.java:185)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:107)
            at net.sourceforge.jnlp.runtime.AppletEnvironment$2.run(AppletEnvironment.java:198)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at
            java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
            Message from beginning of initLocStrings
            langStr received:en
            lolcalized xml file shoudl be:lang/en/jirc_strings.xml
            Creating/tmp/jirc_stringsfbe450.xml...
            try localize file from webserver..
            trying to retreive webser localize file:http://localhost:8000/lang/en/jirc_strings.xml
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:183)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selecting proxy for: http://localhost:8000/lang/en/jirc_strings.xml
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:222)]
            NETX Thread# 1321c311, name AWT-EventQueue-1 Browser selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:212)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:183)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selecting proxy for: socket://localhost:8000
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.browser.BrowserAwareProxySelector.getFromBrowser(BrowserAwareProxySelector.java:222)]
            NETX Thread# 1321c311, name AWT-EventQueue-1 Browser selected proxies: [DIRECT]
            [jvanek][ITW-JAVAWS][MESSAGE_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.JNLPProxySelector.select(JNLPProxySelector.java:212)] NETX Thread#
            1321c311, name AWT-EventQueue-1 Selected proxies: [DIRECT]
            Write xml to/tmp/jirc_stringsfbe450.xmlcomplete
            Message after comp of webserver retrieval
            Message after completion of initLocStrings
            [jvanek][ITW-JAVAWS][ERROR_DEBUG][Thu Apr 05 10:22:05 CEST
            2018][net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet(AppletEnvironment.java:207)] NETX
            Thread# 56234f11, name Integrated Remote Console
            java.lang.reflect.InvocationTargetException
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1349)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1324)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
            at net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet(AppletEnvironment.java:191)
            at net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:652)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:943)
            Caused by: java.lang.NullPointerException
            at com.hp.ilo2.virtdevs.virtdevs.init(virtdevs.java:137)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:115)
            at net.sourceforge.jnlp.runtime.AppletEnvironment$2.run(AppletEnvironment.java:198)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at
            java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


            Funny is the NPE exception on closing of ITW. BUt I gues its arch-cause is the bad loading.
            I think it is bug in HP console - using some oracle-javaws implementation specific issue.
            Can you conenct me with HP developers? I will be happy to debug it with them and to avoid decompiling
            the library.

Comment 16921

Date: 2018-08-19 23:33:25 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Can you conenct me with HP developers? I will be happy to debug it with them and to avoid
decompiling the library.

            Unfortunately I have no connection with the HP developers, nor any means to contact them, I am afraid.
            The only thing I've found is this:

            https://developer.hpe.com/platform/ilo-restful-api/home

            which seems to be a developer portal for a REST API that HP build on top of ILO.

Comment 16922

Date: 2018-08-19 23:40:11 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Have raised a community forum post here:

            https://community.hpe.com/t5/ProLiant-Servers-ML-DL-SL/HP-ILO-remote-console-web-start-fails-with-OpenJDK-and-IcedTea/td-p/7015396

Comment 16923

Date: 2018-08-20 00:15:16 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1696
jirc_strings.xml

            Here is the jirc_strings.xml file.

Attached file: jirc_strings.xml (text/plain, 12329 bytes)
Description: jirc_strings.xml

Comment 16924

Date: 2018-08-20 08:06:42 +0000
From: JiriVanek <>

Thanx. that is correct XML

            So for some reason:

            127.0.0.1 - - [05/Apr/2018 09:50:27] "GET /lang/en/jirc_strings.xml HTTP/1.1" 404 -

            The file is not downlaoded. The :

            (the jnlp and jar are already in cache), I got an exception:
            Write xml to/tmp/jirc_strings2b3bfac6.xmlcomplete
            Message after comp of webserver retrieval
            [Fatal Error] jirc_strings2b3bfac6.xml:1:1: Content is not allowed in prolog.
            org.xml.sax.SAXParseException; systemId: file:/tmp/jirc_strings2b3bfac6.xml; lineNumber: 1;
            columnNumber: 1; Content is not allowed in prolog.

            Is caused by server returning some 404 message together with the 404 code, and app is trying to parse it
            as xml.


            How have you get the file?


            The call is from inside the client application, not from ITW. So maybe they are using codebase/docbase
            somehow to get th full url, and go wrong?


            THis will fight the windmills unless I have a way how to reproduce:(

Comment 16925

Date: 2018-08-20 08:27:19 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Thanks for continuing to fight with this! I retrieved the XML simply by doing a:

            wget http://192.168.1.153/lang/en/jirc_strings.xml

            after starting the web console (using the oracle java web start).

Comment 16926

Date: 2018-08-20 08:51:07 +0000
From: Jonathan Underwood <<jonathan.underwood>>

I realized that the iLO on the machine in question has recently been updated. I'm therefore
attaching the latest .jnlp and jar file in case they've changed at all.

Comment 16927

Date: 2018-08-20 08:52:04 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1697
JAR file for application

Attached file: intgapp4_231.jar (application/x-java-archive, 373210 bytes)
Description: JAR file for application

Comment 16928

Date: 2018-08-20 08:52:32 +0000
From: Jonathan Underwood <<jonathan.underwood>>

Created attachment 1698
jnlp file

Attached file: iLO-jirc.jnlp (application/x-java-jnlp-file, 960 bytes)
Description: jnlp file

Comment 17019

Date: 2018-10-25 11:20:33 +0000
From: James Le Cuirot <>

I can confirm this also happens with iLO 3 1.90. I get a completely grey window with no menubar.
The license dialog that pops up after about a minute is also completely grey.

            I believe this is strictly an IcedTea-Web issue because not only does it work with Oracle's javaws, if I
            point itweb-settings to the Oracle JRE, it's broken there too. Unfortunately you can't use Oracle's
            javaws with OpenJDK.

            In terms of reproducing it without hardware, I was able to point it at localhost and have it accept
            jirc_strings.xml as well as rc_info but it just sits there without error before any window appears. Not
            too surprising given the nature of it.

            I'd love to help further but I'm leaving the company next week so I will no longer have access to this
            hardware.

Comment 17035

Date: 2018-11-15 12:39:38 +0000
From: Arano-kai <<captcha.is.evil>>

Also suffer from this bug (iLO2_2.33, iLO3_1.90).
Run on XP vm (oracle, 1.8.0_74-b02) is fine.

Comment 17036

Date: 2018-11-15 12:49:20 +0000
From: JiriVanek <>

Hello! To alow me to fix this - is somebody able to prepare me a solid reproduce? Eg zipped jnlp +
jars? Generally anything I can run some server over, and connect itw to it? Without that, I'm blind, and
guessing lead to nothing up to now.

Comment 17037

Date: 2018-11-15 14:31:31 +0000
From: Arano-kai <<captcha.is.evil>>

Created attachment 1706
iLO3_1.90 console files and logs

            Here You go (:
            No `/json/*` since I can't/don't know how to retrieve them.

Attached file: iLO3_console_runtime_files_logs.tar.gz (application/gzip, 379471 bytes)
Description: iLO3_1.90 console files and logs

Comment 17038

Date: 2018-11-15 15:09:14 +0000
From: JiriVanek <>

There is dll. I need the one with .so.
Also the jar is requested from IP and some directories different then in tarball. I have dotted them
out, but then it dies for me by with NPE which seems ot be not related to the ITW but to some JSON the
ILO is trying to... download?
Caused by: java.lang.NullPointerException
at com.hp.ilo2.intgapp.intgapp.ApplyRcInfoParameters(intgapp.java:914)
at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:107)

            I tired your command-like run, and also via http server served.
            In server I have log of:

            127.0.0.1 - - [15/Nov/2018 16:05:03] "HEAD /iLO-jirc.jnlp HTTP/1.1" 200 -
            127.0.0.1 - - [15/Nov/2018 16:05:03] "GET /iLO-jirc.jnlp HTTP/1.1" 200 -
            127.0.0.1 - - [15/Nov/2018 16:05:03] "HEAD /intgapp3_231.jar HTTP/1.1" 200 -
            127.0.0.1 - - [15/Nov/2018 16:05:03] "GET /intgapp3_231.jar HTTP/1.1" 200 -
            127.0.0.1 - - [15/Nov/2018 16:05:06] code 400, message Bad request syntax
            ('\x16\x03\x03\x00\x8f\x01\x00\x00\x8b\x03\x03[\xed\x8b"]\x96\x03_=\xfc\x96')
            127.0.0.1 - - [15/Nov/2018 16:05:06] "��[�"]�_=��" 400 -

            and client:
            javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
            at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
            at sun.security.ssl.InputRecord.read(InputRecord.java:527)
            at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
            at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
            at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
            at
            sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
            at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162)
            at com.hp.ilo2.intgapp.jsonparser.getJSONRequest(jsonparser.java:185)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:105)


            Some setup is missing. Please provide working and tested reproducer :( What more, a linux one. There is
            no windows machine several hundred of kilometres around me I would be able to use.

Comment 17039

Date: 2018-11-16 16:38:50 +0000
From: Arano-kai <<captcha.is.evil>>

Created attachment 1707
mitmproxy iLO3 console session capture

            Take two: Here You go (:
            Instructions inside.

            PS: In the GNU/Linux extensions is nothing :P
            $ file HpqKbHook-199efdc0.dll
            HpqKbHook-199efdc0.dll: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked,
            BuildID[sha1]=bff74e2b3ce951ee1c730c32e6f085a5be2263c3, stripped

Attached file: iLO3_console_capture.tar.gz (application/gzip, 754407 bytes)
Description: mitmproxy iLO3 console session capture

Comment 17060

Date: 2018-11-23 12:45:42 +0000
From: JiriVanek <>

That looks like fun. TY. Will try to run that.

Comment 17173

Date: 2018-12-27 09:40:26 +0000
From: JiriVanek <>

Can the reproducer be made more direct?
- jnlp file is invlaid (have private ip included)
- can it be rune mitmproxy-less?
- I think yes, as it loaded for me, with python -m SimpleHTTPServer after
* copying jnlp into server
* changing https://10... to http://localhost:8000
- Can it be done https-less?
- I think no, as it dies for me in app itself [1] after sh ~/icedtea-web-image/bin/javaws.sh http://localhost:8000/iLO-jirc.jnlp
- I will try with pyth's https wrapper later

            [1]
            javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
            at sun.security.ssl.InputRecord.handleUnknownRecord(InputRecord.java:710)
            at sun.security.ssl.InputRecord.read(InputRecord.java:527)
            at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
            at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
            at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
            at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
            at
            sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
            at sun.net.www.protocol.https.HttpsURLConnectionImpl.connect(HttpsURLConnectionImpl.java:162)
            at com.hp.ilo2.intgapp.jsonparser.getJSONRequest(jsonparser.java:185)
            at com.hp.ilo2.intgapp.intgapp.init(intgapp.java:105)

Comment 17174

Date: 2018-12-27 11:38:43 +0000
From: Arano-kai <<captcha.is.evil>>

This setup for mitmproxy replay only, that is private ips and https involved as recorded by
mitmproxy itself at local environment.
If You want move to local http(s) server to reproduce, that will require to extract required files/flows
from replay (already done to ./server) some editing to jnlp (sed -i 's^https://10.110.4.18^localhost:4443^g' ./iLO-jirc.jnlp) and https server
(https://gist.github.com/dergachev/7028596).

Comment 17175

Date: 2018-12-27 11:56:55 +0000
From: Arano-kai <<captcha.is.evil>>

Created attachment 1714
iLO3_1.90 mitmproxy replay, launched from icedtea and oracle

            Just visualizing our goal.

Attached file: iLO-3_icedtea_oracle_diff.png (image/png, 34700 bytes)
Description: iLO3_1.90 mitmproxy replay, launched from icedtea and oracle

Comment 17462

Date: 2019-03-15 15:33:51 +0000
From: JiriVanek <>

I'm finally able to debug this, and the issue is in application code. have somebody some friends in
HP?

Plugin depends on sun.applet.AppletImageRef

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 576

Date: 2010-10-18 19:06:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>

Blocker for: #572
Last updated: 2014-11-10 15:36:35 +0000

Comment 2972

Date: 2010-10-18 19:06:53 +0000
From: Andrew John Hughes <<gnu.andrew>>

Spelling errors in console

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 2579

Date: 2015-08-13 15:15:00 +0000
From: idontlook
To: Andrew John Hughes <<gnu.andrew>>
CC: gnu.andrew, unassigned

Last updated: 2016-01-20 17:07:36 +0000

Comment 11137

Date: 2015-08-13 15:15:18 +0000
From: idontlook

The following is a general error when I rejected an applet security check. The error is expected,
but the English spelling is bad. Happens on multiple applets.

            Reproduction: Go to a site with an applet, click Cancel to the security check, after it errors, "Click
            here for errors" link in the applet area.

            Firefox 40.0 Mozilla Firefox for Mint mint - 1.0
            1.5-1ubuntu1

            Current error wording:
            "The folloing exception has occured. For more information, try to launch the browser from the command
            line and examine the output.
            For even more information you can visit http://icedtea.classpath.org/wiki/IcedTea-Web and follow the
            steps described there on how to obtain necessary information to file bug
            Additional information may be available in the console or logs. Even more information is available if
            debugging is enabled."

            Corrected:
            The following exception has occurred. For detailed information, try launching the browser from the
            command line and examine the output.
            For additional information you can visit http://icedtea.classpath.org/wiki/IcedTea-Web and follow the
            steps described on how to obtain the necessary information to search for and file a bug.
            Additional information may be available in the console or log files. Extended information is available
            if debugging is enabled.

Comment 12093

Date: 2016-01-06 11:42:28 +0000
From: JiriVanek <>

Hello, may you provide patch for this?

            Nearly no of the developers in English native. Language patches are more then welcomed.

            Due to lack of time, without patch to Messages.properties this will be clsoed as wontfix.

Comment 12098

Date: 2016-01-06 13:16:23 +0000
From: Andrew John Hughes <<gnu.andrew>>

Jiri, if you tell me what files are involved, I can proof-read the text for you.

            As a minimum, files with user-visible text should at least be spell-checked.

Comment 12179

Date: 2016-01-14 13:06:35 +0000
From: JiriVanek <>

Thats generous offer. its single file:
http://icedtea.classpath.org/hg/icedtea-web/file/39239a9c6224/netx/net/sourceforge/jnlp/resources/Messages.properties

Comment 12242

Date: 2016-01-20 17:07:36 +0000
From: JiriVanek <>

Andrew, feel free to close if you find lack of time or just lack of enthusiasm.

Class not found exception on apache commons validator (icedtea 7)

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 1412

Date: 2013-04-23 19:49:00 +0000
From: Leandro Cardoso de Andrade <>
To: Omair Majid <>
CC: jvanek, leandro, unassigned

Last updated: 2016-02-01 13:59:47 +0000

Comment 6483

Date: 2013-04-23 19:49:08 +0000
From: Leandro Cardoso de Andrade <>

After upgrading from icedtea-web 6 to icedtea-web 7, the application is crashing.., there is a
possibilitie that the problem is due to openjdk 7, but here is the stack trace that is happening right
after logging into my webstart application..

            org.apache.commons.validator.ValidatorException: java.lang.ClassNotFoundException:
            net.java.dev.genesis.ui.BasicValidator
            at org.apache.commons.validator.ValidatorAction.loadValidationClass(ValidatorAction.java:624)
            at org.apache.commons.validator.ValidatorAction.executeValidationMethod(ValidatorAction.java:530)
            at org.apache.commons.validator.Field.validateForRule(Field.java:796)
            at org.apache.commons.validator.Field.validate(Field.java:876)
            at org.apache.commons.validator.Form.validate(Form.java:288)
            at org.apache.commons.validator.Validator.validate(Validator.java:351)
            at net.java.dev.genesis.ui.ValidationUtils.validate(ValidationUtils.java:198)
            at net.java.dev.genesis.ui.ValidationUtils.validate(ValidationUtils.java:181)
            at net.java.dev.genesis.ui.controller.DefaultFormController.invokeAction(DefaultFormController.java:788)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:601)
            ......
            at com.sun.proxy.$Proxy17.invokeAction(Unknown Source)
            at net.java.dev.genesis.ui.binding.AbstractBinder.invokeAction(AbstractBinder.java:587)
            at net.java.dev.genesis.ui.binding.AbstractBinder.invokeFormAction(AbstractBinder.java:781)
            at
            net.java.dev.genesis.ui.swing.components.AbstractComponentBinder$ComponentBoundAction$1.actionPerformed(AbstractComponentBinder.java:353)
            at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
            at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
            at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
            at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
            at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
            at javax.swing.plaf.basic.BasicRootPaneUI$Actions.actionPerformed(BasicRootPaneUI.java:208)
            at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1661)
            at javax.swing.JComponent.processKeyBinding(JComponent.java:2870)
            at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:306)
            at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:250)
            at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2962)
            at javax.swing.JComponent.processKeyBindings(JComponent.java:2954)
            at javax.swing.JComponent.processKeyEvent(JComponent.java:2833)
            at java.awt.Component.processEvent(Component.java:6282)
            at java.awt.Container.processEvent(Container.java:2229)
            at java.awt.Component.dispatchEventImpl(Component.java:4861)
            at java.awt.Container.dispatchEventImpl(Container.java:2287)
            at java.awt.Component.dispatchEvent(Component.java:4687)
            at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1895)
            at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:762)
            at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1027)
            at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:899)
            at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:727)
            at java.awt.Component.dispatchEventImpl(Component.java:4731)
            at java.awt.Container.dispatchEventImpl(Container.java:2287)
            at java.awt.Window.dispatchEventImpl(Window.java:2719)
            at java.awt.Component.dispatchEvent(Component.java:4687)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
            at java.awt.EventQueue.access$200(EventQueue.java:103)
            at java.awt.EventQueue$3.run(EventQueue.java:688)
            at java.awt.EventQueue$3.run(EventQueue.java:686)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
            at java.awt.EventQueue$4.run(EventQueue.java:702)
            at java.awt.EventQueue$4.run(EventQueue.java:700)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

Comment 12381

Date: 2016-02-01 13:59:47 +0000
From: JiriVanek <>

is this somehow reproducible?

NPE Invoking Applet Methods From JavaScript Code

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 671

Date: 2011-03-15 09:33:00 +0000
From: Xerxes Rånby <>
To: Saad Mohammad <>
CC: ddadacha, omajid

Last updated: 2012-08-20 15:45:56 +0000

Comment 3443

Date: 2011-03-15 09:33:57 +0000
From: Xerxes Rånby <>

Hi I am testing to follow the oracle applet deployment examples:
http://download.oracle.com/javase/tutorial/deployment/applet/invokingAppletMethodsFromJavaScript.html

            IcedTea-Web Plugin (using IcedTea-Web 1.1pre+r04459b8baed4)

            Mozilla Firefox 3.6.13, Copyright (c) 1998 - 2010 mozilla.org

            OpenJDK Runtime Environment (IcedTea6 1.11pre+r0ca79255e13e) (Ubuntu build 1.6.0_22-b22)
            OpenJDK Server VM (build 20.0-b10, mixed mode)


            Testcase:
            http://download.oracle.com/javase/tutorial/deployment/applet/examples/dist/applet_InvokingAppletMethodsFromJavaScript/AppletPage.html

            Expected:
            The Math applet displays the following results on the web page when the number a = 0 and b = 5:

            Results of JavaScript to Java Communication

            Hello John Doe

            a = 0 ; b = 5

            Sum: 5

            Numbers in range array: [ 0, 1, 2, 3, 4, 5 ]

            Today's date is: 1/13/09 10:12 AM // shows current date

            What happened:
            no output, and browser lock-up and becomes unresponsive to navigation button clicks.

            Errors on console:
            java version "1.6.0_22"
            OpenJDK Runtime Environment (IcedTea6 1.11pre+r0ca79255e13e) (Ubuntu build 1.6.0_22-b22)
            OpenJDK Server VM (build 20.0-b10, mixed mode)
            net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:624)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:568)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:839)
            Caused by: java.lang.NullPointerException
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:608)
            ... 2 more
            Caused by:
            java.lang.NullPointerException
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:608)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:568)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:839)
            java.lang.NullPointerException
            at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:101)
            at sun.applet.AppletPanel.run(AppletPanel.java:380)
            at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:71)
            at java.lang.Thread.run(Thread.java:679)
            java.lang.NullPointerException
            at sun.applet.AppletPanel.run(AppletPanel.java:430)
            at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:71)
            at java.lang.Thread.run(Thread.java:679)
            Exception in thread "Thread-12" java.lang.NullPointerException
            at sun.applet.PluginAppletViewer$5.run(PluginAppletViewer.java:1653)
            at java.lang.Thread.run(Thread.java:679)
            net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize applet.
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:624)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:568)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:839)
            Caused by: java.lang.NullPointerException
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:608)
            ... 2 more
            Caused by:
            java.lang.NullPointerException
            at net.sourceforge.jnlp.Launcher.createApplet(Launcher.java:608)
            at net.sourceforge.jnlp.Launcher.getApplet(Launcher.java:568)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:839)
            java.lang.NullPointerException
            at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:101)
            at sun.applet.AppletPanel.run(AppletPanel.java:380)
            at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:71)
            at java.lang.Thread.run(Thread.java:679)
            java.lang.NullPointerException
            at sun.applet.AppletPanel.run(AppletPanel.java:430)
            at net.sourceforge.jnlp.NetxPanel.run(NetxPanel.java:71)
            at java.lang.Thread.run(Thread.java:679)

Comment 3445

Date: 2011-03-15 10:05:10 +0000
From: Xerxes Rånby <>

This bug might be a variant of PR672 since the script are using the jnlp_href tag
<script src="http://www.java.com/js/deployJava.js"></script>
<script>

var attributes = { id:'mathApplet', code:'jstojava.MathApplet', width:1, height:1} ;
var parameters = {jnlp_href: 'math-applet.jnlp'} ;
deployJava.runApplet(attributes, parameters, '1.6');
</script>

Comment 3794

Date: 2011-05-31 20:03:01 +0000
From: Deepak Bhole <>

Targeting jnlp_href support for 1.2

Comment 4763

Date: 2012-05-08 20:31:32 +0000
From: Danesh Dadachanji <>

Even after the major jnlp_href updates in HEAD and 1.2, this app is still failing. I'll take a look
at this.

Add "java" string to PLUGIN_NAME

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 669

Date: 2011-03-14 13:54:00 +0000
From: Michal Vyskocil <>
To: JiriVanek <>
CC: gnu.andrew, iyoddle2

Last updated: 2014-11-10 15:36:32 +0000

Comment 3434

Date: 2011-03-14 13:54:58 +0000
From: Michal Vyskocil <>

moved from: https://bugzilla.novell.com/show_bug.cgi?id=679061

            It seems there are some Firefox extensions relying (like quickjava) on a java string occurrence in a
            plugin name - because the PLUGIN_NAME returns the IcedTea NPR Web Browser Plugin ... the extension
            thinks there's no java installed. Olny one think prevents me to write a patch is - I don't know if we
            can use copyrighted name like java in icedtea plugin name.

Comment 3453

Date: 2011-03-18 00:43:41 +0000
From: Andrew John Hughes <<gnu.andrew>>

Well it's trademark law not copyright.

            We used to describe GNU Classpath as 'a GNU project to create free core class libraries for use with
            virtual machines and compilers for the java programming language'.

            So 'IcedTea NPR Web Browser Plugin for the Java programming language' may be possible.

legacy (1.8) release matrix and testing

The matrix of ITW is pretty big, maybe in time we will agree on some reduce. I dont know if it have
still reason to keep jsobject and plugin jars - they are only for javaws --html usage.
Currently you should be building following:

All with --disable-native-plugin; the removal of native plugin should be major goal for next release.
for all native builds you can include --with-kcov, and also run make rust-code-coverage.
For unittests you can include jacoco fo junit codecoverage[another make calla fter make check] (it
is working also for integration suite, but not sure if it is worthy of second N hours run)

windows (native):

  • machine with cygwin, and preinstalled jdk, tagsoup, mslinks, wixgen, wstools, wix, rust, cargo.
    For testing junit,+ possibly asm and hamcrest. For plugin jar rhino.
    • restult will be:
    • results of make check - html + xml files withjunit results
    • icedtea-web-x.y.win.bin.zip (result of make win-bin-dist)
    • itw-installer.msi (result of make win-installer)

One job will do those.
Those are portable builds, and should be built with --with-itw-libs=BUNDLED

linux (native):

  • machine with any linux, as rust have currently only static linking. Preinstalled jdk, tagsoup,
    rust, cargo. For testing junit,+ possibly asm and hamcrest. For plugin jar - rhino.
    • restult will be:
    • results of make check - html + xml files with junit results
    • icedtea-web-x.y.linux.bin.zip (result of make win-bin-dist)

This job can not be combined with multipaltform shell build
this is portable builds, and should be built with --with-itw-libs=BUNDLED

linux+win (portable):

  • any linux machine, with preinstalled jdk, tagsoup, mslinks, wixgen, wstools, wix. For testing
    junit,+ possibly asm and hamcrest. For plugin jar rhino. with removed rust and cargo.
    • restult will be:
    • results of make check - html + xml files with junit results
    • icedtea-web-x.y.linux.bin.zip, where ti should eb renamed to icedtea-web-x.y.portable.bin.zip
      (this slipped from makefiles)

This job can not be combined with native linux build
this is portable builds, and should be built with --with-itw-libs=BUNDLED

In both linux bulds you can stumble over bashcompdir variable, which should point to $PREFFIX value.
The inclusion of the bashcomplition into portbale build on linux is disputable.

Integration test suite
Itw have pretty good integration suite, which was designed mostly for plugin. So 50% of it si
candidate for removal. Even now, with --with-browser-tests=no it runs few hours (with plugin, if it
goes wrong, and on all browsers, you will get to some 20hours). Neverthe less,with
--with-browser-tests=no, this testsuite should be run - three times. it always run on top of make
install fresh image.
It should be run once for windows BUNDLED mode, one for linux BUNDLED mode, and once for linux
DISTRIBUTION mode (--with-itw-libs).

Output of integration testsuit (make -j1 run-netx-dist-tests) is same as foj unittests - html+xml files.

I would like to higholight, that all those 6 jobs currentoy have sense.

IllegalArgumentException if proxy for required type is not specified

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 1055

Date: 2012-06-22 07:03:00 +0000
From: Hendrik <<nhb_web>>
To: Omair Majid <>
CC: iyoddle2, unassigned

Last updated: 2013-10-05 00:23:26 +0000

Comment 5036

Date: 2012-06-22 07:03:35 +0000
From: Hendrik <<nhb_web>>

Created attachment 718
patch.patch

            BrowserAwareProxySelector throws IllegalArgument, if no socks proxy is configured.


            Steps to reproduce
            ------------------
            * Configure a http proxy but no socks proxy in Firefox
            * Go to https://stendhalgame.org, create an account and click on your character

            Excepted result
            ---------------

            A direct connection should be used and the game should start.

            Actual result
            -------------

            ERROR [AWT-EventQueue-1] LoginDialog.java ( 457) - unable to connect to server stendhalgame.org:32160
            java.lang.IllegalArgumentException: hostname can't be null
            java.net.InetSocketAddress.<init>(InetSocketAddress.java:139)
            net.sourceforge.jnlp.browser.BrowserAwareProxySelector.
            getFromBrowserConfiguration(BrowserAwareProxySelector.java:274)
            net.sourceforge.jnlp.browser.BrowserAwareProxySelector.
            getFromBrowser(BrowserAwareProxySelector.java:187)
            net.sourceforge.jnlp.runtime.JNLPProxySelector.
            select(JNLPProxySelector.java:208)
            marauroa.client.ClientFramework.discoverProxy(ClientFramework.java:188)

Attached file: patch.patch (text/plain, 2822 bytes)
Description: patch.patch

Comment 5063

Date: 2012-07-01 22:13:22 +0000
From: Hendrik <<nhb_web>>

Note: The game implemented a workaround, so it cannot be used to test this bug anylonger.

Comment 7213

Date: 2013-10-05 00:23:26 +0000
From: Omair Majid <>

I think this is fixed in head now:
http://icedtea.classpath.org/hg/icedtea-web/rev/a69671b1e1f1

            Can you build from source and confirm? Or is there another test case I can use to check this myself?

Packed resources are stored in cache with double file extension

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3714

Date: 2019-03-28 11:28:00 +0000
From: Lars Herschke <>
To: JiriVanek <>
CC: unassigned

Last updated: 2019-04-02 09:08:01 +0000

Comment 17481

Date: 2019-03-28 11:28:58 +0000
From: Lars Herschke <>

Created attachment 1729
described patch

            With packed resources, the file extension pack.gz or gz is appended, regardless of whether they already
            have it. I think you should save the resource with the original filename, as with unpacked resources.
            There can be no naming conflicts after unpacking, since different cache directories are used for the
            packed and unpacked variants.
            Enclosed a patch, which ensures exactly.

Attached file: src_726d53216a2621706543644c479b48cad847b651_2.patch (text/plain, 965 bytes)
Description: described patch

Comment 17482

Date: 2019-03-28 11:42:34 +0000
From: Lars Herschke <>

pull request:
#5

Comment 17499

Date: 2019-04-02 09:08:01 +0000
From: Lars Herschke <>

new pull request, with desired commit-message:
#12

IcedTea-web browser plugin doesn't connect when i launch Oanda forex trading applet.

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 910

Date: 2012-03-29 08:24:00 +0000
From: Charbel <<charbel.freax>>
To: JiriVanek <>
CC: charbel.freax, rmkrish55, unassigned

Last updated: 2014-11-10 15:36:28 +0000

Comment 4595

Date: 2012-03-29 08:24:03 +0000
From: Charbel <<charbel.freax>>

after i launch Oanda fxTradePractice web-based platform in firefox 11.0 the loading bar always
stops on "40%..." and when i converted my system from OpenJDK to Java SE JDK the same web applet worked
fine with Java SE plugin

            ICEDTEAPLUGIN_DEBUG=true firefox 2>&1 | tee plugin.log
            http://paste.pocoo.org/show/572638/
            Java SE plugin logs
            http://paste.pocoo.org/show/572718/

Comment 4596

Date: 2012-03-29 21:08:19 +0000
From: Deepak Bhole <>

Can you also post ~/.icedtea/log/* files? They might contain the error.

Comment 7401

Date: 2013-11-27 00:57:25 +0000
From: Ramesh Krishna <>

I'd like to awaken this bug report from a while back, because I've noticed that I have this exact
same problem here with OANDA's fxTrade java web app. This problem is still affecting the latest version
of IcedTea (1.4.1), using Firefox 25 (I'm using Fedora Core 20 beta).

            I am attaching a fresh plugin.log, obtained using the following command:
            ICEDTEAPLUGIN_DEBUG=true firefox 2>&1 | tee plugin.log

            I am also attaching, as the last post suggests, all of the log files in the ~/.icedtea/log folder. Let
            me know if you need any other logs or information.

Comment 7402

Date: 2013-11-27 00:59:06 +0000
From: Ramesh Krishna <>

Created attachment 983
Log Files produced by IcedTea for OANDA fxTrade

            This attachment contains the plugin.log and the contents of the ~/.icedtea/log folder after running the
            OANDA fxTrade application, and letting it hang at 40%. I then closed Firefox after about 1 minute.

Attached file: logfiles.tar.gz (application/x-gzip, 7928 bytes)
Description: Log Files produced by IcedTea for OANDA fxTrade

Provide README.MD

🆕🐥🐶 First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

👾 Description of the issue
We should add a README.MD to the project. This should contain several part of the old README but add a section about 2.X (the future)

📋 Step by Step
🙋 Claim this issue: Comment below.
🔄 replace the up for grabs label with in progress.
🍴 fork the repository in github by simply clicking the 'fork' button.
⤵️ check out the forked repository
🔀 create a feature branch for the issue. We do not have any naming definition for branches.
💾 Commit your changes.
🔀 Start a Pull Request.
🏁 Done 👍 Ask in comments for a review :)
🔬 If the reviewer find some missing peaces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
💥 you did it! We will merge the fix in the master of the IcedTeaWeb project.
💐 Thanks, thanks, thanks for being part as an open source contributor for IcedTeaWeb
🤔❓ Questions

You can join our community chat at Slack

[METABUG] NetX code contains reference to non-standard sun.* classes

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 562

Date: 2010-10-01 14:53:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>

Depends on: #563, #570, #571, #605, #657, #761, #762, #564
Blocker for: #572
Last updated: 2014-11-10 15:36:41 +0000

Comment 2926

Date: 2010-10-01 14:53:51 +0000
From: Andrew John Hughes <<gnu.andrew>>

Comment 2963

Date: 2010-10-14 21:57:57 +0000
From: Andrew John Hughes <<gnu.andrew>>

NetX and the plugin will shortly be split out into the icedtea-web project. This bug tracks issues
that make NetX dependent on internal OpenJDK code.

Logic error in checkApplicationLibraryAllowableCodebaseAttribute

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 1802

Date: 2014-05-30 09:21:00 +0000
From: Peter De Wachter <>
To: Omair Majid <>
CC: jvanek, unassigned

Last updated: 2016-02-01 14:36:41 +0000

Comment 8203

Date: 2014-05-30 09:21:32 +0000
From: Peter De Wachter <>

The code that deals with the Application-Library-Allowable-Codebase attribute does not match the
comments. The comment says that either documentBase or codebase should match, while the code requires
both to match (which is only possible if both are equal). For our site this caused an unnecessary
warning.

            --- icedtea-web-1.5.orig/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java
            +++ icedtea-web-1.5/netx/net/sourceforge/jnlp/runtime/ManifestAttributesChecker.java
            @@ -290,7 +290,7 @@ public class ManifestAttributesChecker {

            if (usedUrls.size() == 1) {
            if (UrlUtils.equalsIgnoreLastSlash(usedUrls.toArray(new URL[0])[0], codebase)
            - && UrlUtils.equalsIgnoreLastSlash(usedUrls.toArray(new URL[0])[0], documentBase)) {
            + || UrlUtils.equalsIgnoreLastSlash(usedUrls.toArray(new URL[0])[0], documentBase)) {
            //all resoources are from codebase or document base. it is ok to proceeed.
            OutputController.getLogger().log("All applications resources (" + usedUrls.toArray(new URL[0])[0] + ")
            are from codebas/documentbase " + codebase + "/" + documentBase + ", skipping
            Application-Library-Allowable-Codebase Attribute check.");
            return;

Comment 12393

Date: 2016-02-01 14:36:41 +0000
From: JiriVanek <>

Yes, this is security thightening. Isnt more simple to add more values or better value to
manifest?

closing jarfile on member of classpath is causing this member to be unusable for all classloaders

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3351

Date: 2017-04-07 11:44:00 +0000
From: stefan
To: JiriVanek <>
CC: unassigned

Last updated: 2017-04-19 15:33:02 +0000

Comment 15514

Date: 2017-04-07 11:44:43 +0000
From: stefan

Hi,
this regards the same applet using Java web start as on Bug #3350
Running OpenJDK Java 8 with latest IcedTea-Netx, ITW version 1.6.2-3ubuntu1

            Again this behaviour is only native on IcedTea, other platforms and OSs do not get this issue. For
            example it runs fine on Linux Oracle Java

            Applet code consists of two signed .jar files and works on a non-defined codebase (any server).
            JNLP file and manifests can be found in the thread of Bug #3350 if needed

            To reach this point, developer has to workaround the Case 3350 by using codebase="." in the jnlp file,
            so that the code starts loading.

            I am running default (empty) deployment.properties, except logging and console options and I am clearing
            cache between each run.

            So Jiri tested the code as well and gets the same behaviour as I do:

            I have an error check point in the beginning of the code.
            The applet tries to load a class from the second .jar and fails. My code catches the exception and exits
            prematurely with an user-friendly error message.

            If I disable the exception catching (in order to check the error in the clear), I get the following in
            the console:

            java.lang.reflect.InvocationTargetException
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1321)
            at java.awt.EventQueue.invokeAndWait(EventQueue.java:1296)
            at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1348)
            at net.sourceforge.jnlp.runtime.AppletEnvironment.startApplet(AppletEnvironment.java:191)
            at net.sourceforge.jnlp.Launcher.launchApplet(Launcher.java:655)
            at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:939)
            Caused by: java.lang.IllegalStateException: zip file closed
            at java.util.zip.ZipFile.ensureOpen(ZipFile.java:669)
            at java.util.zip.ZipFile.getEntry(ZipFile.java:309)
            at java.util.jar.JarFile.getEntry(JarFile.java:240)
            at java.util.jar.JarFile.getJarEntry(JarFile.java:223)
            at sun.misc.JarIndex.getJarIndex(JarIndex.java:137)
            at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:877)
            at sun.misc.URLClassPath$JarLoader$1.run(URLClassPath.java:869)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.misc.URLClassPath$JarLoader.ensureOpen(URLClassPath.java:868)
            at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:819)
            at sun.misc.URLClassPath$3.run(URLClassPath.java:565)
            at sun.misc.URLClassPath$3.run(URLClassPath.java:555)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.misc.URLClassPath.getLoader(URLClassPath.java:554)
            at sun.misc.URLClassPath.getLoader(URLClassPath.java:519)
            at sun.misc.URLClassPath.getNextLoader(URLClassPath.java:484)
            at sun.misc.URLClassPath.getResource(URLClassPath.java:238)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:365)
            at java.net.URLClassLoader$1.run(URLClassLoader.java:362)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(URLClassLoader.java:361)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.access$1701(JNLPClassLoader.java:103)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1666)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1663)
            at java.security.AccessController.doPrivileged(Native Method)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1662)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1699)
            at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1498)
            at Kemtrak.start(Kemtrak.java:915)
            at net.sourceforge.jnlp.runtime.AppletEnvironment$2.run(AppletEnvironment.java:199)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:301)
            at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
            at java.awt.EventQueue.access$500(EventQueue.java:97)
            at java.awt.EventQueue$3.run(EventQueue.java:709)
            at java.awt.EventQueue$3.run(EventQueue.java:703)
            at java.security.AccessController.doPrivileged(Native Method)
            at
            java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
            at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
            at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
            at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
            at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
            at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)


            The code that does not catch the exception is uploaded in the usual location that Jiri knows. So you can
            run it.

            I wanted to see if the code fails because it cannot load any non-main class or if the problem was only
            when loading a class from the second .jar file.
            I commented the line away (Line 915) and the code still fails on the next line that loads a class (Line
            1037) where it tries to load a class from the first (main) . jar file.
            So as far as I see it seems it cannot load any non-main classes at all.

Comment 15515

Date: 2017-04-07 12:43:20 +0000
From: JiriVanek <>

Hi!

            looking to it. The Kemtrak does:

            localObject3 = (java.net.JarURLConnection)localURL.openConnection();
            java.util.jar.JarFile localJarFile = ((java.net.JarURLConnection)localObject3).getJarFile();
            str9 = localJarFile.getName();
            i3 = localJarFile.size();
            localJarFile.close();
            ...
            org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
            org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(), Locale.getDefault(), 1, true,
            "HH:mm:ss");
            Do you mind to try to remove localJarFile.close(); ?


            Anyway this is interesting issue. If my bet is correct, then itw needs soem fix, of mayb java's
            JarURLConnection needs some fix. (first is more appropriate).

            In all cases the fix will not be easy.

Comment 15516

Date: 2017-04-07 13:26:27 +0000
From: stefan

Hi, I'll break you the good news first, we have the code working!!
Still some warnings in the terminal window but it runs at least.
See below

            (In reply to JiriVanek from comment #1)
            > Hi!
            >
            > looking to it. The Kemtrak does:
            >
            > localObject3 = (java.net.JarURLConnection)localURL.openConnection();
            > java.util.jar.JarFile localJarFile =
            > ((java.net.JarURLConnection)localObject3).getJarFile();
            > str9 = localJarFile.getName();
            > i3 = localJarFile.size();
            > localJarFile.close();
            > ...
            > org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
            > org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(),
            > Locale.getDefault(), 1, true, "HH:mm:ss");
            > Do you mind to try to remove localJarFile.close(); ?

            Hi,
            This is line 900, a part where I open a tentative connection to the jar file just to see if it exists
            (error control in case it is not there). Connection is/was closed in the end as it is not used anywhere
            (I thought it was good practice to close the connection when finished). After code confirms file exists,
            class is loaded on Line 915 (and it was giving the exception there).

            As soon as I comment away line 900, whole code starts working!!!
            Wow, that was an impressive catch you made.

            >
            >
            > Anyway this is interesting issue. If my bet is correct, then itw needs soem
            > fix, of mayb java's JarURLConnection needs some fix. (first is more
            > appropriate).

            I am just thinking here: If it was Java's JarURLConnection problem, wouldn't that mean that the applet
            would fail in other implementations as well ?(which it does not).

            In any case the code with the localJarFile.close(); commented away is in the usual place and you can see
            it running now :)

            Still some warning messages come up in the console but they are not "fatal" anyway.


            >
            > In all cases the fix will not be easy.


            Should I leave the code with that line commented away? Is it OK if I do *not* close that connection? I
            closed the connection after using it because I thought it was good practice. And because Java does not
            complain, except on the IcedTea case, the code has been running like that for years now. Would it create
            any problems leaving the connection open? Or it closes when the applet exits?

            Thanks!

Comment 15517

Date: 2017-04-07 13:56:56 +0000
From: JiriVanek <>

(In reply to stefan from comment #2)
> Hi, I'll break you the good news first, we have the code working!!
> Still some warnings in the terminal window but it runs at least.
> See below

            good!

            >
            > (In reply to JiriVanek from comment #1)
            > > Hi!
            ...
            >
            > I am just thinking here: If it was Java's JarURLConnection problem, wouldn't
            > that mean that the applet would fail in other implementations as well
            > ?(which it does not).

            Other implementations means proprietary Oracle javaws. HAve you tried on IBM javaws? They may even be
            returning different stream then JarURLConnection. This is not safe retyping...

            Last time I was looking into oracle plugin (and so a bit also to javaws) there was a lot of copypasted
            code from Openjdk. With small tweeks. MAybe Tehre was also JarURLConnection overwritten.
            That something ITW can not afford.


            >
            > In any case the code with the localJarFile.close(); commented away is in the
            > usual place and you can see it running now :)
            >
            > Still some warning messages come up in the console but they are not "fatal"
            > anyway.

            thank you for uplading the app again. As for wornings, I think you can ignore happily all http and
            bundle related.


            however the java.lang.ClassCastException: java.awt.Frame cannot be cast to javax.swing.JFrame is worty
            of thinking about. This is not first app having this problem:

            topFrame = ((javax.swing.JFrame)javax.swing.SwingUtilities.getWindowAncestor(this));

            If you can, try to cast it to something more deepr in inheritance. awt.Frame should be fine.

            >
            >
            > >
            > > In all cases the fix will not be easy.
            >
            >
            > Should I leave the code with that line commented away? Is it OK if I do
            > *not* close that connection? I closed the connection after using it because
            > I thought it was good practice. And because Java does not complain, except
            > on the IcedTea case, the code has been running like that for years now.
            > Would it create any problems leaving the connection open? Or it closes when
            > the applet exits?

            Dont forget we are no longer speaking about applet. But about javaws application. So having this opened
            will not harm to much (unlike applet, after closgin javaws, its done).

            Anyway - I would recommend you to get rid of those calls at all.

            If you simply call Class.forName on any class from jcalendar, you will immediately know if it is
            correctly downloaded and usable. No need to bother with urlstreams.
            Also when you have already have localURL = new java.net.URL("jar", "", cbase + "jcalendar.jar!/"); you
            can simply ocnvert it to File and you will have its size.


            Still - note - this may be serious issue in itw. Please fix your application so it works on all desired
            platforms, but dont close this issue. I will creeate autoamted reproducer (so you can remove the app you
            exposed for me) and debug internals of itw...

            happy your app runs fine now. Please get rid of that jarurl connection :)


            >
            > Thanks!

            np!

Comment 15547

Date: 2017-04-10 16:46:31 +0000
From: hg commits <>

details: http://icedtea.classpath.org//hg/icedtea-web?cmd=changeset;node=f34f9ca3c3ef
author: Jiri Vanek [email protected]
date: Mon Apr 10 18:55:17 2017 +0200

            Reproduced issue PR3351

            * tests/reproducers/signed/Kemtrakpro/resources/Kemtrak_javaws.jnlp: jnlp file to test also javaws (next
            to applet) behavior
            * tests/reproducers/signed/Kemtrakpro/srcs/Kemtrak.java: added code to reproduce issue
            * tests/reproducers/signed/Kemtrakpro/testcases/KemtrakTests.java: added testcases for applet to close
            jar and try to load class again. added same testcases for javaws. Added testcase for plain java run to
            prove underlying jdk is not guilty
            * tests/reproducers/signed/jcalendar/srcs/jcalendar.java: small modification to add distinguish call
            inside.

Comment 15548

Date: 2017-04-10 16:50:22 +0000
From: JiriVanek <>

Ok. So I reproduced outside of Kemtrak. This issue really is ITW specific and not jdk specific.

            If you insists on your jarchecks, you can make them run in ITW in following way:


            localObject3 = (java.net.JarURLConnection)localURL.openConnection();
            java.util.jar.JarFile localJarFile = ((java.net.JarURLConnection)localObject3).getJarFile();
            str9 = localJarFile.getName();
            i3 = localJarFile.size();
            insert here [1]
            localJarFile.close
            ...
            org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
            org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(), Locale.getDefault(), 1, true,
            "HH:mm:ss");


            [1]
            try{
            org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
            org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(), Locale.getDefault(), 1, true,
            "HH:mm:ss");
            } catch (Exeption ex){
            Log.info(ex)
            }


            By calling the jcalendar jar *BEFORE* closing it, is causing the counter of connections to open for ITW
            to ++ (so to 2) then closing will reduce to 1, and so it keeps open.


            I will try to fix this in ITW.

Comment 15549

Date: 2017-04-10 16:51:01 +0000
From: JiriVanek <>

(In reply to JiriVanek from comment #5)
> Ok. So I reproduced outside of Kemtrak. This issue really is ITW specific
> and not jdk specific.
>
> If you insists on your jarchecks, you can make them run in ITW in following
> way:
>
>
>
>
> localObject3 = (java.net.JarURLConnection)localURL.openConnection();
> java.util.jar.JarFile localJarFile =
> ((java.net.JarURLConnection)localObject3).getJarFile();
> str9 = localJarFile.getName();
> i3 = localJarFile.size();
> insert here [1]
> localJarFile.close
> ...
> org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
> org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(),
> Locale.getDefault(), 1, true, "HH:mm:ss");
>
>
> [1]
> try{
> org.freixas.jcalendar.JCalendarCombo localJCalendarCombo = new
> org.freixas.jcalendar.JCalendarCombo(java.util.Calendar.getInstance(),
> Locale.getDefault(), 1, true, "HH:mm:ss");
> } catch (Exeption ex){
> Log.info(ex)
> }
>
>
> By calling the jcalendar jar BEFORE closing it, is causing the counter of
> connections to open for ITW to ++ (so to 2) then closing will reduce to 1,
> and so it keeps open.
>
>
>
> I will try to fix this in ITW.

            Of ocurse first call to jcalendar may fail (that why exception is ony info) the call which meters is the
            second one. So keep it.

Comment 15550

Date: 2017-04-10 17:05:01 +0000
From: JiriVanek <>

due to order-workaround, reducing priority

Comment 15592

Date: 2017-04-19 15:33:02 +0000
From: stefan

I returned to office this week and I improved the code based on your comments, thank you very much
for the tips and for the nice discussions.
I also saw your more recent comments, really good you managed to reproduce and locate the issue.
You can see two short comments below if you want.

            (In reply to JiriVanek from comment #3)
            > (In reply to stefan from comment #2)
            > > Hi, I'll break you the good news first, we have the code working!!
            > > Still some warnings in the terminal window but it runs at least.
            > > See below
            >
            > good!
            >
            > >
            > > (In reply to JiriVanek from comment #1)
            > > > Hi!
            > ...
            > >
            > > I am just thinking here: If it was Java's JarURLConnection problem, wouldn't
            > > that mean that the applet would fail in other implementations as well
            > > ?(which it does not).
            >
            > Other implementations means proprietary Oracle javaws. HAve you tried on IBM
            > javaws? They may even be returning different stream then JarURLConnection.
            > This is not safe retyping...
            >
            > Last time I was looking into oracle plugin (and so a bit also to javaws)
            > there was a lot of copypasted code from Openjdk. With small tweeks. MAybe
            > Tehre was also JarURLConnection overwritten.
            > That something ITW can not afford.
            >
            >
            > >
            > > In any case the code with the localJarFile.close(); commented away is in the
            > > usual place and you can see it running now :)
            > >
            > > Still some warning messages come up in the console but they are not "fatal"
            > > anyway.
            >
            > thank you for uplading the app again. As for wornings, I think you can
            > ignore happily all http and bundle related.
            >
            >
            > however the java.lang.ClassCastException: java.awt.Frame cannot be cast to
            > javax.swing.JFrame is worty of thinking about. This is not first app having
            > this problem:
            >
            > topFrame =
            > ((javax.swing.JFrame)javax.swing.SwingUtilities.getWindowAncestor(this));
            >
            > If you can, try to cast it to something more deepr in inheritance. awt.Frame
            > should be fine.

            Fixed! Thank you very much for catching this!

            >
            > >
            > >
            > > >
            > > > In all cases the fix will not be easy.
            > >
            > >
            > > Should I leave the code with that line commented away? Is it OK if I do
            > > *not* close that connection? I closed the connection after using it because
            > > I thought it was good practice. And because Java does not complain, except
            > > on the IcedTea case, the code has been running like that for years now.
            > > Would it create any problems leaving the connection open? Or it closes when
            > > the applet exits?
            >
            > Dont forget we are no longer speaking about applet. But about javaws
            > application. So having this opened will not harm to much (unlike applet,
            > after closgin javaws, its done).
            >
            > Anyway - I would recommend you to get rid of those calls at all.
            >
            > If you simply call Class.forName on any class from jcalendar, you will
            > immediately know if it is correctly downloaded and usable. No need to bother
            > with urlstreams.
            > Also when you have already have localURL = new java.net.URL("jar", "", cbase
            > + "jcalendar.jar!/"); you can simply ocnvert it to File and you will have
            > its size.
            >

            Just for the sake of the discussion, that would not work. File.length() from non-local URL/URIs returns
            0 size . If the file size is needed, opening an http or jar connection is recommended, that's why I had
            to do it like this in the initial code.
            However this is a redundant check (jar file size) and I removed it. I can always catch the
            jar-file-not-exists-error by catching the failure of loading a class from it. I can't be 100% sure that
            the class does not load because the jar file is not there (it could be some permission problem) but it
            is the most probable reason, so I recoded using that and got rid of the jar connection.
            Thanks for the tip anyway!

            >
            >
            > Still - note - this may be serious issue in itw. Please fix your application
            > so it works on all desired platforms, but dont close this issue. I will
            > creeate autoamted reproducer (so you can remove the app you exposed for me)
            > and debug internals of itw...
            >
            > happy your app runs fine now. Please get rid of that jarurl connection :)
            >
            >
            >
            >
            >
            >
            > >
            > > Thanks!
            >
            > np!

Applet with Resource Library Fails to Load

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 856

Date: 2012-01-19 15:16:00 +0000
From: dale
To: JiriVanek <>
CC: gnu.andrew, unassigned

Last updated: 2016-03-15 11:40:19 +0000

Comment 4305

Date: 2012-01-19 15:16:36 +0000
From: dale

--- Problem ---

            The problem I'm experiencing is IcedTea fails to load an applet that has multiple JAR files where other
            classes and resources are stored (a base class library).

            --- Description ---

            I'm using a Virtual PC image of Linux-Fedora 13 with the stock OpenJDK/IcedTea runtime to launch a
            simple applet within the Firefox web browser.

            There's multiple scenarios where the web page fails to load the applet. Note: All scenarios use the HTML
            "EMBED" parameter to embed the applet within the web page.

            Scenario 1 and 2: Launching an applet which uses classes from another JAR file (a base class library)
            fails to load. This fails with or without the use of a JNLP file specified within the HTML "EMBED" tag.

            Scenario 3 and 4: Launching an applet where the base classes are all packaged into 1 "main" JAR file.
            Launching the applet with the JNLP file fails; whereas launching the applet without the JNLP file
            successfully loads it into the web page.

            --- Examples and Source Code ---

            I've created an example web page that demonstrates this error (source code is also provided) located
            here:

            http://dale.dns4me.com:8003/Bug_Reports/7_IcedTea_Libs/index.htm

Comment 12633

Date: 2016-03-15 11:40:19 +0000
From: JiriVanek <>

Hello! ITW evolved a lot since this bugreport. Is there some palce I can reproduce?

ITW seems to be not working on ipv6 only network

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 2827

Date: 2016-01-31 12:09:00 +0000
From: JiriVanek <>
To: JiriVanek <>
CC: gnu.andrew

Last updated: 2016-02-03 13:44:08 +0000

Comment 12364

Date: 2016-01-31 12:09:19 +0000
From: JiriVanek <>

ssia

Comment 12372

Date: 2016-02-01 12:56:53 +0000
From: JiriVanek <>

LOOKS LIKE wifi only:
https://bugs.openjdk.java.net/browse/JDK-8015415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

            I will add test for this, but look like JDK issue and probably not fixible in age of jdk8

Comment 12395

Date: 2016-02-01 15:23:08 +0000
From: Andrew John Hughes <<gnu.andrew>>

That bug isn't even assigned, so if it is still an issue and you can get more detail on what the
problem is, that would help getting it fixed.

Comment 12424

Date: 2016-02-03 13:44:08 +0000
From: JiriVanek <>

Yes I know. I noticed it on fosdem, where the wifi was ip6 only.
- 1) I need to test ITW on ip6 only wired for now
- 2) ipv6 wirelessonly
- 3) if all above will pass, then it was appearently some different settign of fosdem network which
brought me close to that upstream bug, but it was not it. both 1+2 will be very much time consuming. But
I hope to get to it.

Netx depends on sun.net.www.protocol.jar.URLJarFileCallBack

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 762

Date: 2011-07-20 14:52:00 +0000
From: Omair Majid <>
To: Omair Majid <>
CC: unassigned

Blocker for: #562
Last updated: 2011-07-20 14:52:31 +0000

Comment 3914

Date: 2011-07-20 14:52:31 +0000
From: Omair Majid <>

The changeset http://icedtea.classpath.org/hg/icedtea-web/rev/a9061a71cfc7 introduces a new
dependency on sun.net.www.protocol.jar.URLJarFileCallBack

NetX uses sun.security code

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 563

Date: 2010-10-01 14:56:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>
CC: a.kuckartz

Blocker for: #562
Last updated: 2014-11-10 15:36:25 +0000

Comment 2927

Date: 2010-10-01 14:56:09 +0000
From: Andrew John Hughes <<gnu.andrew>>

  1. ERROR in /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/tools/KeyTool.java
    (at line 51)
    import sun.security.provider.X509Factory;

            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/tools/JarSigner.java:import
            sun.security.x509.*;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/tools/JarSigner.java:import
            sun.security.util.*;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/tools/KeyTool.java:import
            sun.security.provider.X509Factory;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java:import
            sun.security.util.SecurityConstants;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/runtime/JNLPSecurityManager.java: if
            (perm.equals(new SecurityPermission("accessClassInPackage.sun.security.internal.spec"))) {
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:import
            sun.security.util.HostnameChecker;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/VariableX509TrustManager.java:import
            sun.security.validator.ValidatorException;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java:import
            sun.security.util.DerValue;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java:import
            sun.security.util.HostnameChecker;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/HttpsCertVerifier.java:import
            sun.security.x509.X500Name;
            /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/security/CertsInfoPane.java:import
            sun.security.x509.*;
    

Plugin tries to use a SOCKS proxy even if there is none configured

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 846

Date: 2012-01-05 15:05:00 +0000
From: vogel
To: Lukasz Dracz <>
CC: nhb_web, omajid, unassigned

Last updated: 2014-08-06 15:32:23 +0000

Comment 4234

Date: 2012-01-05 15:05:00 +0000
From: vogel

Created attachment 632
Log from "javaws -verbose" when using direct internet connection

            I'm using icedtea-web-1.1.4, i. e. the icedtea-web-1.1.4-3.fc16.x86_64.rpm in Fedora 16, with the
            Firefox browser.

            The applet in question gets started properly via HTTP, regardless if using a proxy for HTTP or not. But
            shortly after the applet was started, it tries to open a TCP connection. This works, if the browser is
            configured for direct internet access, i. e. without a proxy.

            When configuring the browser to use a proxy for HTTP, HTTPS and GOPHER, but
            leaving the SOCKS proxy configuration empty (i. e. when there is no SOCKS proxy needed and available),
            the applet is not able to open this very same TCP connection, but fails instead.

            I've created a small shell script to run javaws (from icedtea-web) with the -verbose option and
            configured Firefox to use this script instead of /usr/bin/javaws. With this setup I created two log
            files, using the applet with and without a configured proxy, as described above. I'll attach these logs.

            The interesting part is after the line that says "Selecting proxy for:
            socket://platane-irmc.mgt.folz.de:80": When having no proxy for HTTP, then it says "Selected proxies:
            [DIRECT]", but when having a valid proxy for HTTP and an empty proxy configuration for SOCKS, it says
            nothing. This is the point where the TCP connection of the applet fails and the applet complains with an
            alert box containing: "java.lang.illegalArgumentException: port out of range:-2147483648"

            So, icedtea-web's javaws tries to use a SOCKS proxy when there is none configured, but when proxy
            configurations exist for other protocols. This is a bad idea, since there is no other option to say that
            there is no SOCKS proxy.

Attached file: log.direct.txt (text/plain, 17618 bytes)
Description: Log from "javaws -verbose" when using direct internet connection

Comment 4235

Date: 2012-01-05 15:06:28 +0000
From: vogel

Created attachment 633
Log from "javaws -verbose" when using a proxy for HTTP

Attached file: log.using_proxy.txt (text/plain, 17228 bytes)
Description: Log from "javaws -verbose" when using a proxy for HTTP

Comment 7212

Date: 2013-10-05 00:21:22 +0000
From: Omair Majid <>

I am not entirely clear on where this problem is. You mention both 'plugin' and 'javaws'. These are
completely different program and use different ways of obtaining the proxy.

            I suspect the problem with javaws was fixed by:
            http://icedtea.classpath.org/hg/icedtea-web/rev/c4476a810053

            But I don't see what could be wrong with the plugin. Could follow the steps on
            http://icedtea.classpath.org/wiki/IcedTea-Web#Filing_bugs and attach the logs for the plugin?

Comment 7264

Date: 2013-10-16 17:53:53 +0000
From: vogel

(In reply to comment #2)
> I am not entirely clear on where this problem is. You mention both 'plugin'
> and 'javaws'. These are completely different program and use different ways
> of obtaining the proxy.

            It's now 1.75 years later...

            AFAIR, with "plugin" I referred to the browser plugin that then uses javaws
            to start the app. When writing the title of the bug I didn't know which
            part of the setup is doing wrong, i. e. if it's the browser plugin that
            reads the proxy setup from the Firefox configuration, or if that is done
            by javaws, or if javaws does nonsense with a configuration read correctly
            by the browser plugin.

            >
            > I suspect the problem with javaws was fixed by:
            > http://icedtea.classpath.org/hg/icedtea-web/rev/c4476a810053
            >
            > But I don't see what could be wrong with the plugin. Could follow the steps
            > on http://icedtea.classpath.org/wiki/IcedTea-Web#Filing_bugs and attach the
            > logs for the plugin?

            Fedora 16 is long after EOL, and I've re-installed my computer with
            Linux Mint Debian Edition. This uses packages from Debian, the versions
            of the browser plugin and the javaws binary are:
            icedtea-6-plugin:amd64 1.3.2-1
            icedtea-netx:amd64 1.3.2-1

            I've so far not tried to test the error condition with LMDE, because I had
            to find my ways around this bug, and I use the workaround ever since. This
            means to use more than one browser, and have Firefox configured with no
            proxy, and working proxy settings in the other browsers.

            Should version 1.3.2 have the fix you mentioned? If so, then it would make
            sense to test again.

Comment 7276

Date: 2013-10-18 14:12:04 +0000
From: Andrew Azores <>

(In reply to comment #3)
> Should version 1.3.2 have the fix you mentioned? If so, then it would make
> sense to test again.

            If that particular changeset Omair linked is indeed the fix, then no, it would not be in 1.3.2. But
            could you check that 1.3.2 still exhibits this behaviour? Perhaps it was fixed by some other changeset
            since 1.1.4.

NetX depends on sun.applet.AppletViewPanel

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 570

Date: 2010-10-18 13:32:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>
CC: dbhole

Blocker for: #562
Last updated: 2014-11-10 15:39:44 +0000

Comment 2965

Date: 2010-10-18 13:32:07 +0000
From: Andrew John Hughes <<gnu.andrew>>

  1. ERROR in /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/NetxPanel.java (at
    line 31)
    import sun.applet.AppletViewerPanel;
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    The import sun.applet.AppletViewerPanel cannot be resolved
    ----------
    2. ERROR in /home/andrew/projects/openjdk/icedtea6/netx/net/sourceforge/jnlp/NetxPanel.java (at line 39)
    public class NetxPanel extends AppletViewerPanel
    ^^^^^^^^^^^^^^^^^
    AppletViewerPanel cannot be resolved to a type

Minimum Set of Project bootstrapping

🆕🐥🐶 First Timers Only
This issue is reserved for people who never contributed to Open Source before. We know that the process of creating a pull request is the biggest barrier for new contributors. This issue is for you 💝

👾 Description of the issue
The following small changes / additions should be done for the repository

  • README.md
  • CONTRIBUTING.md - including IP flow (e.g. signed commits), code quality and a security review. We use GitHub PR templates for this.
  • LICENSE
  • Tests / CI (Jenkins as a minimum, Travis or others as need be)
  • Release Notes
  • Clear Versioning (Semver optional but preferred)

📋 Step by Step
🙋 Claim this issue: Comment below.
🍴 fork the repository in github by simply clicking the 'fork' button.
⤵️ check out the forked repository
🔀 create a feature branch for the issue. We do not have any naming definition for branches.
💾 Commit your changes.
🔀 Start a Pull Request.
🏁 Done 👍 Ask in comments for a review :)
🔬 If the reviewer find some missing peaces or a problem he will start a discussion with you and describe the next steps how the problem can be solved.
💥 you did it! We will merge the fix in the master of the IcedTeaWeb project.
💐 Thanks, thanks, thanks for being part as an open source contributor for IcedTeaWeb
🤔❓ Questions

You can join our community chat at Slack

Passing Number and Array parameters to applet methods doesn't work

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 737

Date: 2011-05-30 12:51:00 +0000
From: Oleg Shparber <>
To: Deepak Bhole <>
CC: unassigned

Last updated: 2011-05-31 19:57:35 +0000

Comment 3748

Date: 2011-05-30 12:51:53 +0000
From: Oleg Shparber <>

Developing an applet using LiveConnect I got stuck with passing different parameters to my applet
methods.

            The first bug is that passing simple number or Number object to method(int param) leads to 'Error
            calling method on NPObject', but passing String to the same method works fine.

            The second problem is broken arrays support. So, passing simple JavaScript array like [1, 2, 3] or new
            Array(1, 2, 3) to method(byte[] array) (byte type used for example, actually all other types I tried
            (String[], int[], Object[]) do not works correctly) leads to calling method with empty array
            (array.length=0).

            No such problems with Sun's plugin.

            Tested on Chromium 13 and Firefox 4 on Ubuntu 11.04 x86_64.

            Here's some tests which don't work with IcedTea plugin
            http://opensource.apple.com/source/WebCore/WebCore-955.66/manual-tests/liveconnect-applet-array-parameters.html

Comment 3793

Date: 2011-05-31 19:57:35 +0000
From: Deepak Bhole <>

Targeting for 1.1.1

Packed resources are unnecessarily cached after unpacking

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3715

Date: 2019-03-28 14:56:00 +0000
From: Lars Herschke <>
To: JiriVanek <>
CC: unassigned

Last updated: 2019-04-02 09:08:40 +0000

Comment 17483

Date: 2019-03-28 14:56:03 +0000
From: Lars Herschke <>

Created attachment 1730
described patch

            Enclosed a patch, which ensures that the packed resources are deleted from the cache. They are no longer
            needed because only the unpacked resources are accessed.

Attached file: src_726d53216a2621706543644c479b48cad847b651_3.patch (text/plain, 4733 bytes)
Description: described patch

Comment 17484

Date: 2019-03-28 15:32:25 +0000
From: Lars Herschke <>

pull request:
#6

Comment 17500

Date: 2019-04-02 09:08:40 +0000
From: Lars Herschke <>

new pull request, with desired commit-message:
#13

ExtensionInstallerService is not supported by IcedTea-Web

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 1028

Date: 2012-06-04 19:32:00 +0000
From: Danesh Dadachanji <>
To: Saad Mohammad <>
CC: ddadacha, gnu.andrew, smohammad, unassigned

Last updated: 2012-08-16 14:11:33 +0000

Comment 4920

Date: 2012-06-04 19:32:52 +0000
From: Danesh Dadachanji <>

Webstart and plugin do not yet support ExtensionInstallerService:

            http://docs.oracle.com/javase/7/docs/jre/api/javaws/jnlp/javax/jnlp/ExtensionInstallerService.html

IcedTea-Web plug-in hardcodes jpi-version to 1.6.0

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 779

Date: 2011-08-30 17:32:00 +0000
From: Deepak Bhole <>
To: JiriVanek <>
CC: unassigned

Last updated: 2014-11-10 15:36:45 +0000

Comment 3971

Date: 2011-08-30 17:32:45 +0000
From: Deepak Bhole <>

The plug-in currently hardcodes jpi-version in the mime type to be 1.6.0. This should be made
dynamic.

icedtea 1.8.9 fails to build in CachedJarFileCallback.java

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 764

Date: 2011-07-25 20:28:00 +0000
From: Steve Beattie <>
To: Lukasz Dracz <>
CC: gnu.andrew, unassigned

Last updated: 2014-08-06 15:32:14 +0000

Comment 3919

Date: 2011-07-25 20:28:03 +0000
From: Steve Beattie <>

Created attachment 553
icedtea 1.8.9 build failure log

            IcedTea 1.8.9, released to fix CVE-2011-2513, fails to build on Ubuntu with the following errors:

            /build/buildd/openjdk-6b18-6b18-1.8.8/build/bootstrap/jdk1.6.0/bin/javac -g -encoding utf-8 \
            -d /build/buildd/openjdk-6b18-6b18-1.8.8/build/netx.build \
            -classpath /build/buildd/openjdk-6b18-6b18-1.8.8/build/lib/rt:/usr/lib/jvm/java-gcj/jre/lib/rt.jar \
            -sourcepath
            /build/buildd/openjdk-6b18-6b18-1.8.8/build/../netx:/build/buildd/openjdk-6b18-6b18-1.8.8/build/generated:openjdk-ecj/jdk/src/share/classes:openjdk-ecj/jdk/src/solaris/classes:openjdk-ecj/langtools/src/share/classes:openjdk-ecj/corba/src/share/classes
            \
            -bootclasspath \'\' \
            @netx-source-files.txt
            incorrect classpath: ''
            ----------
            1. ERROR in
            /build/buildd/openjdk-6b18-6b18-1.8.8/build/../netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java
            (at line 84)
            public JarFile retrieve(URL url) throws IOException {
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
            The method retrieve(URL) of type CachedJarFileCallback must override a superclass method
            ----------
            2. ERROR in
            /build/buildd/openjdk-6b18-6b18-1.8.8/build/../netx/net/sourceforge/jnlp/runtime/CachedJarFileCallback.java
            (at line 120)
            public JarFile run() throws IOException {
            ^^^^^^^^^^^^^^^^^^^^^^^^
            The method run() of type new PrivilegedExceptionAction<JarFile>(){} must override a superclass
            method

            This looks to my untrained eyes to be an issue caused by the semantic difference in the @override
            keyword between 1.5 and 1.6; icedtea 1.8.x builds with '-source 1.5' specified in a number of places,
            whereas 1.9.x and newer specify '-source 6' by default.

            Complete build failure log attached

Attached file:
og_ubuntu-maverick-armel.openjdk-6b18_6b18-1.8.8-0ubuntu110.10.2+1.8.9testbuild1_FAILEDTOBUILD.txt
(text/plain, 286948 bytes)
Description: icedtea 1.8.9 build failure log

Comment 3920

Date: 2011-07-25 22:23:49 +0000
From: Andrew John Hughes <<gnu.andrew>>

This is odd; I don't see these errors in my build and I don't see any configuration differences to
suggest this issue.

            What ecj is being used here? As far as I can tell, everything will be compiled as 1.5 (javac.in)
            contains this and the classes referenced should contain those methods.

            You could try with the attached patch to remove the redundant @Override annotations. They don't have any
            value anyway and I don't know why they were added.

Comment 3921

Date: 2011-07-25 22:24:20 +0000
From: Andrew John Hughes <<gnu.andrew>>

Created attachment 554
Remove @OverRide

Attached file: override.patch (text/plain, 823 bytes)
Description: Remove @OverRide

Comment 3924

Date: 2011-07-26 20:52:24 +0000
From: Steve Beattie <>

Thanks, building without the @OverRide attributes compiles successfully.

            ecj is 3.5.1-1 from Ubuntu 10.10 (aka maverick). We only build the icedtea 1.8.x series for ARM (armel);
            for all other architectures we support, we use 1.9.x or newer.

Comment 4429

Date: 2012-02-15 14:12:40 +0000
From: Andrew John Hughes <<gnu.andrew>>

Moving to IcedTea-Web. A solution may need to be backported to IcedTea6 1.9.x. 1.8 is no longer
supported.

Remove plugin. Both native and java parts

Removal of plugin is isimple. (especially if the current makefile is going to burn down). Also removal of separate applet parts. Issue is hidden in extracting applet-specific parts from shared code.

Plugin depends on com.sun/jndi.toolkit.url.UrlUtil

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 575

Date: 2010-10-18 19:06:00 +0000
From: Andrew John Hughes <<gnu.andrew>>
To: JiriVanek <>

Blocker for: #572
Last updated: 2014-11-10 15:36:25 +0000

Comment 2971

Date: 2010-10-18 19:06:06 +0000
From: Andrew John Hughes <<gnu.andrew>>

IcedTea-Web depends on sun.misc.JarIndex

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 657

Date: 2011-03-02 19:53:00 +0000
From: Deepak Bhole <>
To: Omair Majid <>
CC: gnu.andrew, omajid, unassigned

Blocker for: #562
Last updated: 2012-08-16 14:17:13 +0000

Comment 3379

Date: 2011-03-02 19:53:04 +0000
From: Deepak Bhole <>

JNLPClassLoader uses sun.misc.JarIndex to process indexed jar files correctly.

            Since there is no public API to handle Jar Indexes, the only options are to either keep the dependency
            or copy it over. The copy option may be considered for 2.0, but not before then.

Classloader doesn't load jar correctly from JNLP extension

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3672

Date: 2018-12-19 11:00:00 +0000
From: dmf <>
To: JiriVanek <>
CC: unassigned

Last updated: 2019-02-22 08:55:14 +0000

Comment 17144

Date: 2018-12-19 11:00:33 +0000
From: dmf <>

Hello,

            We have a problem with classloader, we have a main JNLP, and we use some JNLP as extension. These JNLP
            contains some jar used in application from main JNLP. We have some errors because classloader don't load
            correctly resources from jar declared in extended JNLP used in main application.

            On the other hand, if we put all jar in only one JNLP, all is ok.

            With javaws from oracle, we have no problem with use of some JNLP as extension to load some jar.

            Cordially

Comment 17145

Date: 2018-12-19 16:43:27 +0000
From: JiriVanek <>

By resources you mean not-class files or whole content of jars? Can you create minimalistic
reproducer please?

Comment 17152

Date: 2018-12-20 07:09:18 +0000
From: dmf <>

By resources, I mean not-class files. In this case, We use Axis 1.4 to call a jax-rpc webservice.

            We have run Eclipse debugger when we run application to find the problem, and we find that an exception
            is catch because there is a config file that is not loaded. This file is client-config.wsdd, it is
            located in axis.jar\org\apache\axis\client\

            Otherwise, if we activate log4j debug level, an exception is throw in another place because of a message
            cannot be read. This message is present in a ".properties" file.

Comment 17153

Date: 2018-12-20 07:35:04 +0000
From: JiriVanek <>

How are the resources loaded?
Please, to debug this I really need an reproducer.

Comment 17154

Date: 2018-12-21 09:43:36 +0000
From: dmf <>

A reproducer was sent to your email address because of file size.

Comment 17171

Date: 2018-12-27 08:26:46 +0000
From: JiriVanek <>

ugh. I have not yet checked my inbox since Christmas, but can reproducer be narrowed? best what i
can imagine is two jars reprodcuer one withmain class, second with one resource. You already know best
what is the issue in your application. But of course once axis is in play, some cstom classlaoder
hierarchy can be in play.

Comment 17188

Date: 2019-01-02 08:05:49 +0000
From: dmf <>

Reproducer can narrowed if I put only SWT libraries for your OS, what is your OS ?

Comment 17189

Date: 2019-01-02 08:23:20 +0000
From: dmf <>

However, I have already tried to reproduce bug without axis but without success... That's why, my
reproducer is with Axis

Comment 17195

Date: 2019-01-03 07:52:26 +0000
From: JiriVanek <>

(In reply to dmf from comment #7)
> However, I have already tried to reproduce bug without axis but without
> success... That's why, my reproducer is with Axis

            That what I was afraid. Thanx. Reproducer downloaded and in queue.

Comment 17422

Date: 2019-02-22 08:54:03 +0000
From: JiriVanek <>

reproducer uploaded: https://jvanek.fedorapeople.org/3672/resource_tester_jws.zip

Comment 17423

Date: 2019-02-22 08:54:58 +0000
From: JiriVanek <>

            There is 2 JNLP, one with log4j debug mode activated, maybe you need to change path of log4j properties
            file in JNLP and re-sign jar.

            Second JNLP doesn't load log4j properties file.


            There is 2 JNLP because exception is not the same if debug mode is activated or not.

Comment 17424

Date: 2019-02-22 08:55:14 +0000
From: JiriVanek <>

            Application display a button that init Axis client, if init is OK, “OK” is displayed (This is the case
            for javaws Oracle). For Iced Tea, this is not the case, there is an exception that is not visible in
            console but visible in eclipse debug mode.

System jars (jars of the jre itself) are not recognized as such under windows

This issue was imported from bugzilla with bugzilla2github

Bugzilla Bug Referenze: 3720

Date: 2019-04-01 08:26:00 +0000
From: Lars Herschke <>
To: JiriVanek <>
CC: unassigned

Last updated: 2019-04-02 15:08:03 +0000

Comment 17493

Date: 2019-04-01 08:26:39 +0000
From: Lars Herschke <>

Created attachment 1731
described patch

            In that they are not recognized as such, it then attempts to acquire permissions based on the system
            policies, which then fails and leads to an exception.
            I think if the jre directory contains blank characters, the problem also appears under linux.
            The problem arises from comparing a URL with a platform-specific string.

            Under linux e.g. made the following comparison that works.

            "/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext/sunjce_provider.jar".startsWith("/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/ext");

            Under windows e.g. made the following comparison that does not work.

            "/C:/Program%20Files/Java/jre1.8.0_201/lib/ext/sunjce_provider.jar".startsWith("C:\Program
            Files\Java\jre1.8.0_201\lib\ext");

            Enclosed a patch that fixes the problem.

Attached file: net_sourceforge_jnpl_runtime_JNLPPolicy.java.patch (text/plain, 1150 bytes)
Description: described patch

Comment 17494

Date: 2019-04-01 08:55:43 +0000
From: Lars Herschke <>

pull request:
#7

Comment 17495

Date: 2019-04-01 09:46:55 +0000
From: Lars Herschke <>

new pull request, the old one was with windows line feeds:
#8

Comment 17497

Date: 2019-04-01 14:49:39 +0000
From: Lars Herschke <>

new pull request, with desired commit-message:
#9

Comment 17501

Date: 2019-04-02 15:08:03 +0000
From: JiriVanek <>

test

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.