You are not logged in.

#1 2013-07-11 20:11:30

ratdude747
Member
From: Madison, IN
Registered: 2013-07-05
Posts: 42

[Solved] Chromium + Icedtea not working

Recently installed Icedtea to run some java apps for an online college class. However, it isn't workign at all.

This is under Chromium.

IIRC I have all the stuff I need installed:

# pacman -Qs Icedtea
local/icedtea-web-java7 1.4-1
    provides a Free Software web browser plugin running applets written in
    the Java programming language and an implementation of Java Web Start,
    originally based on the NetX project
local/jdk7-openjdk 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing
    binary plugs - SDK
local/jre7-openjdk 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing
    binary plugs - Full Java runtime environment - needed for executing Java
    GUI and Webstart programs
local/jre7-openjdk-headless 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing
    binary plugs - Minimal Java runtime - needed for executing non GUI Java
    programs

Chromium does this bit when I go to the page of the applet:

Error: Unable to fetch applet instance id from Java side.
java.lang.NullPointerException
	at javax.swing.SwingUtilities.appContextGet(SwingUtilities.java:1857)
	at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1827)
	at javax.swing.JWindow.<init>(JWindow.java:185)
	at javax.swing.JWindow.<init>(JWindow.java:137)
	at net.sourceforge.jnlp.runtime.JNLPSecurityManager.<init>(JNLPSecurityManager.java:121)
	at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:232)
	at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:252)
	at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:270)
	at sun.applet.PluginMain.main(PluginMain.java:109)
Something very bad happened. I don't know what to do, so I am going to exit :

A few days ago it was running well under manajaro linux... but under Arch, no luck. I'm at wits end. I looked everywhere and I can't come up with anything.

Suggestions?

Last edited by ratdude747 (2013-07-16 17:02:03)

Offline

#2 2013-07-11 20:38:24

jkav77
Member
Registered: 2013-07-11
Posts: 9

Re: [Solved] Chromium + Icedtea not working

I am having the same problem, except I am using google-chrome.  I also tried firefox.  I can't find any site where a java applet will load, including http://www.mdbg.net/chindict/chindict.php and http://java.com/en/download/installed.jsp?detect=jre.

┌(user@arch)─(01:28 PM Thu Jul 11)
└─(~)─(2 files, 1:132Kb)─> pacman -Qs icedtea
local/icedtea-web-java7 1.4-1
    provides a Free Software web browser plugin running applets written in the Java programming language and an
    implementation of Java Web Start, originally based on the NetX project
local/jdk7-openjdk 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - SDK
local/jre7-openjdk 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Full Java runtime environment -
    needed for executing Java GUI and Webstart programs
local/jre7-openjdk-headless 7.u40_2.4.1-1
    Free Java environment based on OpenJDK 7.0 with IcedTea7 replacing binary plugs - Minimal Java runtime - needed
    for executing non GUI Java programs
Jul 11 13:35:31 arch slim[282]: at javax.swing.JWindow.<init>(JWindow.java:185)
Jul 11 13:35:31 arch slim[282]: at javax.swing.JWindow.<init>(JWindow.java:137)
Jul 11 13:35:31 arch slim[282]: at net.sourceforge.jnlp.runtime.JNLPSecurityManager.<init>(JNLPSecurityManager.java:1
Jul 11 13:35:31 arch slim[282]: at net.sourceforge.jnlp.runtime.JNLPRuntime.initialize(JNLPRuntime.java:232)
Jul 11 13:35:31 arch slim[282]: at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:252
Jul 11 13:35:31 arch slim[282]: at sun.applet.PluginAppletSecurityContext.<init>(PluginAppletSecurityContext.java:270
Jul 11 13:35:31 arch slim[282]: at sun.applet.PluginMain.main(PluginMain.java:109)
Jul 11 13:35:31 arch slim[282]: Something very bad happened. I don't know what to do, so I am going to exit :(

Offline

#3 2013-07-11 20:54:43

pekka
Member
Registered: 2011-07-21
Posts: 104

Re: [Solved] Chromium + Icedtea not working

Offline

#4 2013-07-12 12:26:13

plitter
Member
Registered: 2010-10-07
Posts: 33

Re: [Solved] Chromium + Icedtea not working

Same here. With firefox as well.

Offline

#5 2013-07-12 13:09:11

mokkurkalve
Member
From: Bergen, Norway
Registered: 2009-08-29
Posts: 80

Re: [Solved] Chromium + Icedtea not working

Same here on i686. No java working in any browser after latest update to jdk7-openjdk 7.u40_2.4.1-1 and jre7-openjdk 7.u40_2.4.1-1.

I have the same stuff installed as ratdude747 in the first post.


"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

Offline

#6 2013-07-12 13:43:01

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: [Solved] Chromium + Icedtea not working

Some Arch user filed a bug report upstream, so there's nothing left to do but wait.

Offline

#7 2013-07-12 19:30:18

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Chromium + Icedtea not working

There's one only thing left to do, downgrade to jdk7-openjdk 7.?25. When a new release will come then try  the upgrade


do it good first, it will be faster than do it twice the saint wink

Offline

#8 2013-07-12 20:43:50

Bastian
Member
Registered: 2012-05-17
Posts: 43

Re: [Solved] Chromium + Icedtea not working

Experiencing the same thing here. Tried downgrading down to 2.3.9-4 and did the same with iced-tea-web but with no luck. I think I'll just await an upstream fix..

Offline

#9 2013-07-13 07:02:42

mokkurkalve
Member
From: Bergen, Norway
Registered: 2009-08-29
Posts: 80

Re: [Solved] Chromium + Icedtea not working

Downgrading jdk7-openjdk, jre7-openjdk and jre7-openjdk-headless to version 7.u40_2.4.0-1 fixes the issue for me. Atleast with Firefox. Chromium  seems OK too. Java still crashes in Opera.


"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

Offline

#10 2013-07-13 07:16:29

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Chromium + Icedtea not working

I meant /jdk7-openjdk-7.u21_2.3.9-4, I don't know is the same as referred here above.


do it good first, it will be faster than do it twice the saint wink

Offline

#11 2013-07-13 13:46:13

mokkurkalve
Member
From: Bergen, Norway
Registered: 2009-08-29
Posts: 80

Re: [Solved] Chromium + Icedtea not working

TheSaint wrote:

I meant /jdk7-openjdk-7.u21_2.3.9-4, I don't know is the same as referred here above.

I referred to the previous Arch Linux package versions of the named packages, 7.u40_2.4.0-1, released on 2013-06-10, as found on Arch Linux Rollback Machine.
You are referring to version 7.u21_2.3.9-4, the previous version before the previous version.... released 2013-05-20. As downgrading from 7.u40_2.4.1-1 to 7.u40_2.4.0-1 fixed the issue for me I did not test any yet older versions....


So, using latest icedtea-web-java7 1.4-1,  java works in Firefox (and more) with previous Arch packages, version 7.u40_2.4.0-1,. on my i686 system atleast....


"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

Offline

#12 2013-07-15 02:36:39

TheSaint
Member
From: my computer
Registered: 2007-08-19
Posts: 1,536

Re: [Solved] Chromium + Icedtea not working

Your information is better than mine and  taken for good, of course smile
Mine was just someone else report, not my direct test.


do it good first, it will be faster than do it twice the saint wink

Offline

#13 2013-07-15 03:36:09

mokkurkalve
Member
From: Bergen, Norway
Registered: 2009-08-29
Posts: 80

Re: [Solved] Chromium + Icedtea not working

TheSaint wrote:

Your information is better than mine and  taken for good, of course smile
Mine was just someone else report, not my direct test.

I can only vouch for the results on my i686 system with the couple of browsers and couple of java apps I did try, your mileage may vary......
However one thing was clear, with the latest packages of openjdk, version 7.u40_2.4.1-1, everything was dead, none of the browsers could even detect java on the system....
Let's hope upstream can fix this soon. Until then I've frozen version 7.u40_2.4.0-1 of the openjdk packages by putting them on hold in pacman.conf. Works for my needs. However, others might need to downgrade to even older versions for their needs, what do I know.....?  smile


"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

Offline

#14 2013-07-16 03:01:35

luked80
Member
Registered: 2013-07-16
Posts: 1

Re: [Solved] Chromium + Icedtea not working

This bug broke citrix in google-chrome for me.
I downgraded openjdk and it's working again.

Here's what I did to downgrade:

wget http://arm.konnichi.com/2013/06/07/extra/os/x86_64/jre7-openjdk-7.u21_2.3.9-4-x86_64.pkg.tar.xz
pacman -U jre7-openjdk-7.u21_2.3.9-4-x86_64.pkg.tar.xz
wget http://arm.konnichi.com/2013/06/07/extra/os/x86_64/jre7-openjdk-headless-7.u21_2.3.9-4-x86_64.pkg.tar.xz
pacman -U jre7-openjdk-headless-7.u21_2.3.9-4-x86_64.pkg.tar.xz

Offline

#15 2013-07-16 10:37:32

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 393

Re: [Solved] Chromium + Icedtea not working

I pushed a fixed icedtea. Next time you guys should search for patches and proper fixes instead of trying to workaround the problems by downgrading. That is not the Arch way.

Offline

#16 2013-07-16 17:01:24

ratdude747
Member
From: Madison, IN
Registered: 2013-07-05
Posts: 42

Re: [Solved] Chromium + Icedtea not working

Update came through, all runs well. cool

Offline

#17 2013-07-16 17:56:42

clickit
Member
From: Athens, Hellas
Registered: 2007-07-18
Posts: 93

Re: [Solved] Chromium + Icedtea not working

unfortunatelly,
it didn't work for me sad

16/07/2013 08:57:29[SNXNetMode] Could not connect to SNX Network Mode, probably not installed.
16/07/2013 08:57:29[Launcher] Launching /usr/bin/snx -Z
16/07/2013 08:57:30[Component] Trying to create socket to 127.0.0.1:7776
16/07/2013 08:57:30[SNXNetMode] Successfully connected to SNX Network Mode.
16/07/2013 08:57:30[SNXNetMode] Connection to SNX Network Mode is ok
java.lang.NullPointerException
    at sun.applet.PluginAppletSecurityContext.handleMessage(PluginAppletSecurityContext.java:526)
    at sun.applet.AppletSecurityContextManager.handleMessage(AppletSecurityContextManager.java:70)
    at sun.applet.PluginStreamHandler.handleMessage(PluginStreamHandler.java:234)
    at sun.applet.PluginMessageHandlerWorker.run(PluginMessageHandlerWorker.java:93)
Error on Java side: null
Error: Error occurred on Java side: null .

Offline

#18 2013-07-16 18:03:39

Svenstaro
Administrator
From: Germany
Registered: 2008-11-19
Posts: 393

Re: [Solved] Chromium + Icedtea not working

Restart your browser or something.

Offline

#19 2013-07-16 18:11:13

clickit
Member
From: Athens, Hellas
Registered: 2007-07-18
Posts: 93

Re: [Solved] Chromium + Icedtea not working

Svenstaro wrote:

Restart your browser or something.

I have pc restarted
downgrade, proper or not, to previous versions

NOT working : jdk7-openjdk-7.u40_2.4.1-1  jre7-openjdk-7.u40_2.4.1-1  jre7-openjdk-headless-7.u40_2.4.1-1 icedtea-web-java7-1.4-2
working : jdk7-openjdk-7.u40_2.4.0-1  jre7-openjdk-7.u40_2.4.0-1  jre7-openjdk-headless-7.u40_2.4.0-1 icedtea-web-java7 1.3.2-1

Last edited by clickit (2013-07-16 18:14:32)

Offline

#20 2013-07-18 12:37:39

mokkurkalve
Member
From: Bergen, Norway
Registered: 2009-08-29
Posts: 80

Re: [Solved] Chromium + Icedtea not working

Thanks! With the fixed icedtea latest openjdk packages works just fine in browsers.


"ONLY THOSE WHO ATTEMPT THE IMPOSSIBLE WILL ACHIEVE THE ABSURD"
- Oceania Association of Autonomous Astronauts

Offline

#21 2013-09-12 13:43:12

northbear
Member
Registered: 2013-09-12
Posts: 1

Re: [Solved] Chromium + Icedtea not working

Hi, ppl...

I'm still experience this issue in firefox with latest java and new icedtea from package 1.4-2. Console output is below:

(process:5145): GLib-CRITICAL **: g_slice_set_config: assertion `sys_page_size == 0' failed
java version "1.7.0_40"
OpenJDK Runtime Environment (IcedTea 2.4.1) (ArchLinux build 7.u40_2.4.1-3-x86_64)
OpenJDK 64-Bit Server VM (build 24.0-b50, mixed mode)
java.lang.ArrayIndexOutOfBoundsException: 2
    at net.sourceforge.jnlp.PluginBridge.<init>(PluginBridge.java:156)
    at net.sourceforge.jnlp.PluginBridge.<init>(PluginBridge.java:64)
    at net.sourceforge.jnlp.NetxPanel.runLoader(NetxPanel.java:100)
    at sun.applet.AppletPanel.run(AppletPanel.java:380)
    at java.lang.Thread.run(Thread.java:724)
Error on Java side:
Error: Unable to fetch applet instance id from Java side.

Thank you in advice for any idea how to solve it...

Sincerely...

Offline

Board footer

Powered by FluxBB