LISTSERV mailing list manager LISTSERV 16.5

Help for HPS-SOFTWARE Archives


HPS-SOFTWARE Archives

HPS-SOFTWARE Archives


HPS-SOFTWARE@LISTSERV.SLAC.STANFORD.EDU


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

HPS-SOFTWARE Home

HPS-SOFTWARE Home

HPS-SOFTWARE  September 2012

HPS-SOFTWARE September 2012

Subject:

Re: JAS3 error

From:

"McCormick, Jeremy I." <[log in to unmask]>

Reply-To:

Software for the Heavy Photon Search Experiment <[log in to unmask]>

Date:

Wed, 5 Sep 2012 12:50:24 -0700

Content-Type:

multipart/mixed

Parts/Attachments:

Parts/Attachments

text/plain (317 lines) , winmail.dat (317 lines)

The mailer ate some of my commands.  

Downloading and untarring JAS3 should be...

wget http://java.freehep.org/maven2/org/freehep/jas-assembly/0.9.5/jas-assembly-0.9.5-distribution.tar.gz 

tar -zxvf jas-assembly-0.9.5-distribution.tar.gz

Let's see if it does it again.

--Jeremy

-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of McCormick, Jeremy I.
Sent: Wednesday, September 05, 2012 12:48 PM
To: Sarah Phillips
Cc: Graham, Mathew Thomas; hps-software
Subject: RE: JAS3 error

Hi, Sarah.

I'm able to get it working.

Here's what I did to test everything from scratch on Linux...

# Check your Maven (install not covered here)
> mvn -version
Apache Maven 3.0.4

# Clobber old stuff
> rm -rf ~/.m2/*
> rm -rf ~/.JAS3

# Build LCSim
> cvs co lcsim
> cd lcsim
> mvn clean install -DskipTests -U
> cd ..

# Build hps-java
> cvs co hps-java
> cd hps-java
> mvn clean install -DskipTests
> cd ..

# Run JAS3
> wget 
> http://java.freehep.org/maven2/org/freehep/jas-assembly/0.9.5/jas-asse
> mbly-0.9.5-distribution.tar.gz tar -zxvf 
> jas-assembly-0.9.5-distribution.tar.gz
> ./jas-assembly-0.9.5/jas3

Then in JAS3, I went to View > Plugin Manager.

I installed from Available > hep > visualization ...

HepRep Plugin
Wired 4 Base Library
Wired 4

I kept "Install in user extensions directory" checked (it is the default).

You can select all three plugins to install at once by holding Ctrl and left clicking each of them.  Then click on "Install selected plugins".

Then I restarted JAS3 by doing File > Exit and executing "jas3" again (from above).

After those steps, everything seems to work fine, including...

LCSim Event Browser => File > New > LCSim Event Browser

AIDA files => Opening an AIDA file using File > Open

Wired Event Display => File > New > Wired 4 View

Can you try all that and let me know if it fixes your issues?

I suppose this stuff should be documented someplace at some point.

--Jeremy

>
> -----Original Message-----
> From: Sarah Phillips [mailto:[log in to unmask]]
> Sent: Wednesday, September 05, 2012 11:50 AM
> To: McCormick, Jeremy I.
> Subject: RE: JAS3 error
>
> Hi Jeremy,
>
> hps-java now builds, and I have my updated jas3, and I installed the plugins, but when it says that at least one plugin fails to load, and when I look in the manager, it is the org.lcsim one.  Here's what was in the details box:
>
>
> java.lang.NoClassDefFoundError:
> org/freehep/record/loop/event/RecordLoopListener
>     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.freehep.application.studio.Studio.initializePlugin(Studio.java:101)
>     at org.freehep.application.studio.Studio.startPlugin(Studio.java:92)
>     at
> org.freehep.jas.plugin.pluginmanager.InstalledPluginPanel$PluginActivationPanel.startButtonActionPerformed(InstalledPluginPanel.java:336)
>     at
> org.freehep.jas.plugin.pluginmanager.InstalledPluginPanel$PluginActivationPanel.actionPerformed(InstalledPluginPanel.java:360)
>     at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
>     at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
>     at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
>     at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>     at
> javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:253)
>     at java.awt.Component.processMouseEvent(Component.java:6203)
>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>     at java.awt.Component.processEvent(Component.java:5968)
>     at java.awt.Container.processEvent(Container.java:2105)
>     at java.awt.Component.dispatchEventImpl(Component.java:4564)
>     at java.awt.Container.dispatchEventImpl(Container.java:2163)
>     at java.awt.Component.dispatchEvent(Component.java:4390)
>     at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
>     at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
>     at java.awt.Container.dispatchEventImpl(Container.java:2149)
>     at java.awt.Window.dispatchEventImpl(Window.java:2478)
>     at java.awt.Component.dispatchEvent(Component.java:4390)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
>     at java.awt.EventQueue.access$000(EventQueue.java:96)
>     at java.awt.EventQueue$1.run(EventQueue.java:608)
>     at java.awt.EventQueue$1.run(EventQueue.java:606)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
>     at java.awt.EventQueue$2.run(EventQueue.java:622)
>     at java.awt.EventQueue$2.run(EventQueue.java:620)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
>     at
> org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
>     at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
>     at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
>     at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:194)
>     at java.awt.Dialog$1.run(Dialog.java:1072)
>     at java.awt.Dialog$3.run(Dialog.java:1126)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.awt.Dialog.show(Dialog.java:1124)
>     at java.awt.Component.show(Component.java:1496)
>     at java.awt.Component.setVisible(Component.java:1448)
>     at java.awt.Window.setVisible(Window.java:842)
>     at java.awt.Dialog.setVisible(Dialog.java:1011)
>     at
> org.freehep.jas.plugin.pluginmanager.PluginManager.showPluginManager(PluginManager.java:330)
>     at
> org.freehep.jas.plugin.pluginmanager.PluginManager.access$300(PluginManager.java:39)
>     at
> org.freehep.jas.plugin.pluginmanager.PluginManager$Commands.onPluginManager(PluginManager.java:398)
>     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:616)
>     at
> org.freehep.util.commanddispatcher.CommandProcessor.invoke(CommandProcessor.java:125)
>     at
> org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:162)
>     at
> org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.doCommand(CommandProcessor.java:290)
>     at
> org.freehep.util.commanddispatcher.CommandProcessor.invokeCommand(CommandProcessor.java:136)
>     at
> org.freehep.util.commanddispatcher.CommandProcessor$SimpleTarget.invoke(CommandProcessor.java:326)
>     at
> org.freehep.util.commanddispatcher.CommandSourceAdapter.actionPerformed(CommandSourceAdapter.java:89)
>     at
> javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
>     at
> javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
>     at
> javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
>     at
> javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
>     at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
>     at
> javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
>     at
> javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
>     at
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>     at
> java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
>     at java.awt.Component.processMouseEvent(Component.java:6203)
>     at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
>     at java.awt.Component.processEvent(Component.java:5968)
>     at java.awt.Container.processEvent(Container.java:2105)
>     at java.awt.Component.dispatchEventImpl(Component.java:4564)
>     at java.awt.Container.dispatchEventImpl(Container.java:2163)
>     at java.awt.Component.dispatchEvent(Component.java:4390)
>     at
> java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
>     at
> java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
>     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
>     at java.awt.Container.dispatchEventImpl(Container.java:2149)
>     at java.awt.Window.dispatchEventImpl(Window.java:2478)
>     at java.awt.Component.dispatchEvent(Component.java:4390)
>     at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
>     at java.awt.EventQueue.access$000(EventQueue.java:96)
>     at java.awt.EventQueue$1.run(EventQueue.java:608)
>     at java.awt.EventQueue$1.run(EventQueue.java:606)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
>     at java.awt.EventQueue$2.run(EventQueue.java:622)
>     at java.awt.EventQueue$2.run(EventQueue.java:620)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at
> java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
>     at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
>     at
> org.freehep.jas.util.waitcursor.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:47)
>     at
> java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
>     at
> java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
>     at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
>     at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
>     at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
>     at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
>
>
>
> What's up with that?
>
>
> With Regards,
>
> Sarah
>
>
>
>
> On Wed, 5 Sep 2012, McCormick, Jeremy I. wrote:
>
>> Hi,
>>
>> I've CC'd to hps-software, because I think others might run into the same issues.
>>
>> I just plowed ahead and did a fixup to hps-java today.  The problem was that it used to use a fixed, older version of lcsim, but people kept putting in incompatible code referencing the current version.  So I just went ahead and changed it.  (See last message to hps-software.)  This should fix the compilation error you saw today.
>>
>> Then I think you should do the following to get a new working environment.
>>
>> -Remove your Maven cache at ~/.m2 by renaming or deleting it.
>>
>> -Remove your JAS3 cache at ~/.JAS3 by renaming or deleting it.
>>
>> -Update your JAS3 client to this one.  Older versions are incompatible.
>>
>> http://java.freehep.org/maven2/org/freehep/jas-assembly/0.9.5/jas-ass
>> e
>> mbly-0.9.5-distribution.tar.gz
>>
>> -Update your version of Maven to 3.0.4 (might not be necessary but I recommend it).
>>
>> http://maven.apache.org/download.html
>>
>> -Do a 'cvs up' on hps-java and rebuild it.
>>
>> Then let me know what does or doesn't work.  I think all the jars referenced by hps-java should be deployed to our Maven repository, but it is possible I missed something.
>>
>> The only major change should be that Track.getTrackStates() should work now, as Tracks in the new version can have multiple states.  There is a possibility that calls to Track.getMomentum() may return (0,0,0) now, depending on what implementation is backing it.  We should thoroughly check the code for this.  Possible this could be fixed up in lcsim if it was broken.  Getting track parameters should now go through getTrackStates() instead of Track.  Those older methods should be deprecated, which I'll do at some point.
>>
>> --Jeremy
>>
>> -----Original Message-----
>> From: Sarah Phillips [mailto:[log in to unmask]]
>> Sent: Wednesday, September 05, 2012 8:42 AM
>> To: McCormick, Jeremy I.
>> Subject: RE: JAS3 error
>>
>> Hi Jeremy,
>>
>> I tried running 'mvn install' on my hps-java, but I still got the same error from jas.  I decided to update my hps-java, so I did a full update of all my various packages (hps-detectors, hpas-java, etc.), but now I get a build failure on hps-java that I cannot seem to resolve (seem below).
>> The rest all compiled fine.  Where does HelixParamCalculator come in?
>>
>> With Regards,
>>
>> Sarah
>>
>>
>


########################################################################
Use REPLY-ALL to reply to list

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

Top of Message | Previous Page | Permalink

Advanced Options


Options

Log In

Log In

Get Password

Get Password


Search Archives

Search Archives


Subscribe or Unsubscribe

Subscribe or Unsubscribe


Archives

November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
December 2022
November 2022
October 2022
September 2022
August 2022
June 2022
April 2022
March 2022
February 2022
January 2022
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011

ATOM RSS1 RSS2



LISTSERV.SLAC.STANFORD.EDU

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager

Privacy Notice, Security Notice and Terms of Use