Java browser plugin regulary crashes

Scopus Document Download Manager uses java and IcedTea doesn’t runs it . So I decided to install Oracle Java as mentioned on https://en.opensuse.org/SDB:Installing_Java
I installed jre-7u67-linux-x64.rpm, as I’m using openSUSE 13.1 x86_64 with firefox user agent

Mozilla/5.0 (X11; Linux x86_64; rv:31.0)  Gecko/20100101 Firefox/31.0

It was successfully installed. The java website https://www.java.com/en/download/installed.jsp also says the same.
Firefox about:plugins also says same



**Java(TM) Plug-in 10.67.2**

File: libnpjp2.soPath: /usr/java/jre1.7.0_67/lib/amd64/libnpjp2.soVersion: 10.67.2State: EnabledNext Generation Java Plug-in 10.67.2 for Mozilla browsers
|
|
|application/x-java-vm|Java&#153 Plug-in||
|application/x-java-applet|Java&#153 Plug-in Applet||
|application/x-java-bean|Java&#153 Plug-in JavaBeans||
|application/x-java-applet;version=1.1|Java&#153 Plug-in||
|application/x-java-bean;version=1.1|Java&#153 Plug-in||
|application/x-java-applet;version=1.1.1|Java&#153 Plug-in||
|application/x-java-bean;version=1.1.1|Java&#153 Plug-in||
|application/x-java-applet;version=1.1.2|Java&#153 Plug-in||
|application/x-java-bean;version=1.1.2|Java&#153 Plug-in||
|application/x-java-applet;version=1.1.3|Java&#153 Plug-in||
|application/x-java-bean;version=1.1.3|Java&#153 Plug-in||
|application/x-java-applet;version=1.2|Java&#153 Plug-in||
|application/x-java-bean;version=1.2|Java&#153 Plug-in||
|application/x-java-applet;version=1.2.1|Java&#153 Plug-in||
|application/x-java-bean;version=1.2.1|Java&#153 Plug-in||
|application/x-java-applet;version=1.2.2|Java&#153 Plug-in||
|application/x-java-bean;version=1.2.2|Java&#153 Plug-in||
|application/x-java-applet;version=1.3|Java&#153 Plug-in||
|application/x-java-bean;version=1.3|Java&#153 Plug-in||
|application/x-java-applet;version=1.3.1|Java&#153 Plug-in||
|application/x-java-bean;version=1.3.1|Java&#153 Plug-in||
|application/x-java-applet;version=1.4|Java&#153 Plug-in||
|application/x-java-bean;version=1.4|Java&#153 Plug-in||
|application/x-java-applet;version=1.4.1|Java&#153 Plug-in||
|application/x-java-bean;version=1.4.1|Java&#153 Plug-in||
|application/x-java-applet;version=1.4.2|Java&#153 Plug-in||
|application/x-java-bean;version=1.4.2|Java&#153 Plug-in||
|application/x-java-applet;version=1.5|Java&#153 Plug-in||
|application/x-java-bean;version=1.5|Java&#153 Plug-in||
|application/x-java-applet;version=1.6|Java&#153 Plug-in||
|application/x-java-bean;version=1.6|Java&#153 Plug-in||
|application/x-java-applet;version=1.7|Java&#153 Plug-in||
|application/x-java-bean;version=1.7|Java&#153 Plug-in||
|application/x-java-applet;jpi-version=1.7.0_67|Java&#153 Plug-in||
|application/x-java-bean;jpi-version=1.7.0_67|Java&#153 Plug-in||
|application/x-java-applet;deploy=10.67.2|Java&#153 Plug-in||
|application/x-java-applet;javafx=2.2.67|Java&#153 Plug-in||
|application/x-java-vm-npruntime|Java&#153 Plug-in|



But still Java plugin crashes.

See the crash report https://crash-stats.mozilla.com/report/index/d83b780d-49e6-496e-9542-6c6862140904

On 2014-09-04 15:46, vish 99 wrote:

> It was successfully installed. The java website
> https://www.java.com/en/download/installed.jsp also says the same.

Then it is probably application specific.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Infomation for Java Developer. Find the java console output below

Java Plug-in 10.67.2.01
Using JRE version 1.7.0_67-b01 Java HotSpot(TM) 64-Bit Server VM
User home directory = /home/akashopensuse
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------
current host: www.scopus.com
!!! DOWNLOAD starting, url - http://scddm.quosavl.com/ddm/server
!!! cookie are empty!
!!! Finding 'auth' parameter in url - http://scddm.quosavl.com/ddm/server
!!!   NOT found!
Download thread Thread-15 started
Download thread Thread-16 started
Download thread Thread-17 started
!!! request != null
!!! DOWNLOAD starting, url - http://scddm.quosavl.com/ddm/server
!!! cookie are empty!
!!! Finding 'auth' parameter in url - http://scddm.quosavl.com/ddm/server
!!!   NOT found!
updateContext begin:
createWebPage
createWebPage begin:
makePagesHeader
makeSettings
makeContent
makeEditNamingContent
executeScript
Exception in thread "Thread-18" java.lang.NullPointerException
    at com.quosa.ql.core.w.n(Unknown Source)
    at com.quosa.ql.applet.a.writeMultivalueProperty(Unknown Source)
    at com.quosa.ql.applet.k.run(Unknown Source)
!!! Status: 3, Response code: 200
!!! Final URL: http://scddm.quosavl.com/ddm/server
!!! Original URL: http://scddm.quosavl.com/ddm/server
!!! Delegate: null
!!! S Delegate: com.quosa.ql.b.j@54940cbb


I ran a chrome browser against the URL in your java console output.
It looks like a new Tomcat server, but nothing is being served at the URL you’re testing
You can open a browser debugger yourself (In any chrome family browser (besides chrome, chromium and canary) with the keystroke CTL-SHFT-J, then navigate to your URL. You will see that the location exists, but nothing is being served.
You can compare output navigating to any known working webpage.

So, at least for me it doesn’t look like the java plugin “crashed” – The problem is likely server-side.

HTH,
TSU

vish,

Just wondering your opinion and experience following the Java SDB.
I assume you followed the top part which describes installing only the JRE.

I have mixed feelings about what the SDB has changed into.
From the original content,

  • I made improvements and updates as noted in the Discussion
  • Then, it looks like two new sections have been added
    The JRE section which is not entirely clear (BTW - The JRE approach can be substituted by simply
    running my JDK scripts and doing the plugin install per the instructions on the Oracle website
    total time probably < 10 minutes even for very slow people, prob < 1minute for anyone who
    knows what they are doing)
    An additional JDK section has been added has added for JDK 8, will need to be inspected
    Changes to the original JDK 7 instructions without clearly describing is only for JDK7

So, can you verify which set of instructions you followed and whether you felt it was clear and concise?

TSU

tsu2:

So, at least for me it doesn’t look like the java plugin “crashed” – The problem is likely server-side.

tsu2 java is perfectly running the ‘Scopus Document Download Manager’ on windows. So, I don’t think so it would be a server-side problem.

While running on windows there is a considerable lag after opening the given java app, for which time the app is unresponsive. But, after that lag the app works fine. Also, while running the same app on Java in openSUSE there is considerable lag but after that firefox notifies that java plugin has crashed.

tsu2:

Just wondering your opinion and experience following the Java SDB.
I assume you followed the top part which describes installing only the JRE.

Yes, tsu2 I installed jre. And, regarding Java SDB, explanation of jre installation is simple and lucid but explanation of jdk installation is a little complex. Anyways, I don’t require jdk.

I didn’t mean that anything is necessarily wrong with Java in general server-side but that the code which is supposed to be served from your server to your client does not exist.

Since I don’t know if your content is supposed to be dynamically created or is simply missing files, I don’t know what your actual problem is… Only that when the browser requests something, it’s receiving null (does not exist).

TSU

So, I interpret it as, there is delay between browser request and server response. While in windows java is able to work even after the delay but in linux the java plugin crashes.

And there is no problem in installation because java website verifies so. Will update the java plugin once again to see if it helps.

tsu2: On the mozilla support forum https://support.mozilla.org/en-US/questions/1018354#answer-625806 I got advise to check java 8. Should I?

On 2014-09-09 12:16, vish 99 wrote:

>
> So, I interpret it as, there is delay between browser request and server
> response. While in windows java is able to work even after the delay but
> in linux the java plugin crashes.

Or, the server knows it is not a Windows client, and refuses to serve.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

On 2014-09-09 12:16, vish 99 wrote:

> So, I interpret it as, there is delay between browser request and server
> response. While in windows java is able to work even after the delay but
> in linux the java plugin crashes.

I tried


http://scddm.quosavl.com/ddm/server


cer@Telcontar:~/tmp/vish> wget http://scddm.quosavl.com/ddm/server
--2014-09-09 13:25:52--  http://scddm.quosavl.com/ddm/server
Resolving scddm.quosavl.com (scddm.quosavl.com)... 54.88.231.219, 54.85.158.255
Connecting to scddm.quosavl.com (scddm.quosavl.com)|54.88.231.219|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 0
Saving to: ‘server’

 <=>                                            ] 0           --.-K/s   in 0s

2014-09-09 13:25:53 (0,00 B/s) - ‘server’ saved [0/0]

cer@Telcontar:~/tmp/vish>

You see, zero bytes downloaded. That site is not working.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)

Ok. I should have written this before.
Steps to recreate the problem I’m facing:

  1. Go to www.scopus.com (in firefox)
  2. Search a phrase in search box
  3. Select the multiple search results using the check box.
  4. Download them by clicking the download button.
  5. A new browser window opens.
  6. There is considerable delay both in case of windows and openSUSE. Java plugin successfully runs after the delay in case of windows but not in case of openSUSE. The IcedTea plugin doesn’t crashes but doesn’t work properly either

Downloading the http://scddm.quosavl.com/ddm/server will obviously give zero sized result.

Please, redo the steps and then post the results.

You have to be a member to log on so can’t test it.

Seems that only I can solve my problem. Should I install JRE 8 from http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
But I’m not finding enough documentation to do it.

On 2014-09-14 18:26, vish 99 wrote:
>
> Seems that only I can solve my problem. Should I install JRE 8 from
> http://tinyurl.com/pyy48to
> But I’m not finding enough documentation to do it.

I use JRE 7.


Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)