3.0.1



On Tue, May 28, 2013 at 1:30 PM, Dmitry Onoprienko <[log in to unmask]> wrote:
What version of Jas3 are you running ?

From: [log in to unmask]
[mailto:[log in to unmask]] On Behalf Of Dylan Mead
Sent: Tuesday, May 28, 2013 1:29 PM
To: Johnson, Tony; Kyle Travis; Strom, David M.
Cc: kpix-beamtest-software
Subject: Re: [KPIX-BEAMTEST-SOFTWARE] Fwd: RE: can't run jas3.0.1

I successfully switched over to the Oracle java
java -version
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

and Jas is not failing where it did before but unfortunately it is still
failing

Exception in thread "main" java.lang.NoClassDefFoundError:
org/freehep/graphicsio/PathConstructor
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2413)
        at java.lang.Class.getConstructor0(Class.java:2723)
        at java.lang.Class.newInstance0(Class.java:345)
        at java.lang.Class.newInstance(Class.java:327)
        at
org.openide.util.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.j
ava:267)
        at
org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:57
5)
        at
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:368)
        at
org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:319)
        at
org.freehep.jas.extensions.recordloop.RecordLoopPlugin.resultChanged(RecordL
oopPlugin.java:232)
        at
org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:3
89)
        at
org.openide.util.lookup.ProxyLookup$R.resultChanged(ProxyLookup.java:405)
        at
org.openide.util.lookup.AbstractLookup$R.fireStateChanged(AbstractLookup.jav
a:543)
        at
org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:4
03)
        at
org.openide.util.lookup.AbstractLookup.addPair(AbstractLookup.java:147)
        at
org.openide.util.lookup.AbstractLookup$Content.addPair(AbstractLookup.java:6
98)
        at org.freehep.util.FreeHEPLookup.add(FreeHEPLookup.java:49)
        at
org.freehep.jas.plugin.web.SimpleWebBrowser.postInit(SimpleWebBrowser.java:1
42)
        at
org.freehep.application.studio.Studio.fireInitializationComplete(Studio.java
:333)
        at
org.freehep.application.Application.createFrame(Application.java:736)
        at org.freehep.jas.JAS3.main(JAS3.java:231)
Caused by: java.lang.ClassNotFoundException:
org.freehep.graphicsio.PathConstructor
        at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:423)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
        ... 21 more


please advise

Dylan

On Tue, May 28, 2013 at 11:29 AM, Tony Johnson
<[log in to unmask]> wrote:
Hi, I am this to the e-mail list, since otherwise it appears to be bouncing
around without reaching its intended recipient, and anyway it is likely
others may run into the same problem.

Dylan -- I think Dmitry guess is right you are using "OpenJDK Runtime
Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)". It would be better
to use the Oracle JDK which you can download from here:

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Independently we should try to understand why VectorGraphics does not run
with OpenJDK.

Tony

-------- Original Message --------
Subject:
RE: can't run jas3.0.1
Date:
Tue, 28 May 2013 09:07:58 -0700
From:
Onoprienko, Dmitry <[log in to unmask]>
To:
Johnson, Tony <[log in to unmask]>

I cannot verify it but the likely reason for failure is that you are using
OpenJDK Runtime Environment 1.6. Its AWT toolkit implementation was reported
to have multiple issues and might be incompatible with FreeHEP graphics
libraries. Could you try Oracle JRE 1.7 instead ?

- Dmitry.


From: Johnson, Tony [mailto:[log in to unmask]]
Sent: Tuesday, May 28, 2013 7:04 AM
To: Onoprienko, Dmitry
Subject: Fwd: can't run jas3.0.1




-------- Original Message --------
Subject:
can't run jas3.0.1
Date:
Mon, 27 May 2013 23:17:57 -0700
From:
Dylan Mead <[log in to unmask]>

To:
Johnson, Tony <[log in to unmask]>

Tony,

I've put in the hours and can't seem to fix this one. I'm trying to run
jas3.0.1. It does not start successfully. I already killed my old extensions
file (and I get the same error as before).

here is the error message and my OS and Java versions

dylan@d23-139:~/jas-assembly-3.0.1$ cat /etc/debian_version
6.0.6
dylan@d23-139:~/jas-assembly-3.0.1$ java -version
java version "1.6.0_18"
OpenJDK Runtime Environment (IcedTea6 1.8.13) (6b18-1.8.13-0+squeeze2)
OpenJDK 64-Bit Server VM (build 14.0-b16, mixed mode)
dylan@d23-139:~/jas-assembly-3.0.1$ ./jas3
Exception in thread "main" java.lang.NoClassDefFoundError:
org/freehep/graphics2d/VectorGraphics
 at java.lang.Class.getDeclaredConstructors0(Native Method)
 at java.lang.Class.privateGetDeclaredConstructors(Class.java:2406)
 at java.lang.Class.getConstructor0(Class.java:2716)
 at java.lang.Class.newInstance0(Class.java:343)
 at java.lang.Class.newInstance(Class.java:325)
 at
org.openide.util.MetaInfServicesLookup$P.getInstance(MetaInfServicesLookup.j
ava:267)
 at
org.openide.util.lookup.AbstractLookup$R.allInstances(AbstractLookup.java:57
5)
 at
org.openide.util.lookup.ProxyLookup$R.computeResult(ProxyLookup.java:368)
 at org.openide.util.lookup.ProxyLookup$R.allInstances(ProxyLookup.java:319)
 at
org.freehep.jas.extensions.recordloop.RecordLoopPlugin.resultChanged(RecordL
oopPlugin.java:232)
 at
org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:3
89)
 at
org.openide.util.lookup.ProxyLookup$R.resultChanged(ProxyLookup.java:405)
 at
org.openide.util.lookup.AbstractLookup$R.fireStateChanged(AbstractLookup.jav
a:543)
 at
org.openide.util.lookup.AbstractLookup.notifyListeners(AbstractLookup.java:4
03)
 at org.openide.util.lookup.AbstractLookup.addPair(AbstractLookup.java:147)
 at
org.openide.util.lookup.AbstractLookup$Content.addPair(AbstractLookup.java:6
98)
 at org.freehep.util.FreeHEPLookup.add(FreeHEPLookup.java:49)
 at
org.freehep.jas.plugin.web.SimpleWebBrowser.postInit(SimpleWebBrowser.java:1
42)
 at
org.freehep.application.studio.Studio.fireInitializationComplete(Studio.java
:333)
 at org.freehep.application.Application.createFrame(Application.java:736)
 at org.freehep.jas.JAS3.main(JAS3.java:231)
Caused by: java.lang.ClassNotFoundException:
org.freehep.graphics2d.VectorGraphics
 at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
 at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
 ... 21 more


I've also attached a screen capture of the point where the jas startup
freezes. I could probably dick around with this more and figure it out
eventually but my overhead is pressing me to get this display done asap.
Thanks.

Dylan






________________________________________
Use REPLY-ALL to reply to list
To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following
link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&
A=1



________________________________________
Use REPLY-ALL to reply to list
To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following
link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&
A=1





Use REPLY-ALL to reply to list

To unsubscribe from the KPIX-BEAMTEST-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=KPIX-BEAMTEST-SOFTWARE&A=1