APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Problems with Elements in new version

Return to the EJS Modeling forum
Login to post to this thread

Problems with elements in new version of EJS
Léo Santos
10 Posts

Hello there. recently i have some problems with elements in the new version of EJS. I wanted to use elements how Tracker, and the console doesn't find some of these elements in "External" and "inputOutput".

In the console, appears some differents msgs of errors when I open this section's elements.

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.opensourcephysics.tools.ResourceLoader.getIcon(Ljava/lang/String;)Ljavax/swing/ImageIcon;
at es.uned.jchacon.model_elements.audio.AudioElement.(AudioElement.java:25)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.colos.ejs.osejs.edition.variables.ModelElementsPalette.instantiateModelElement(ModelElementsPalette.java:348)
at org.colos.ejs.osejs.edition.variables.ModelElementsPalette.readModelElements(ModelElementsPalette.java:287)
at org.colos.ejs.osejs.edition.variables.ModelElementsPalette.readElements(ModelElementsPalette.java:202)
at org.colos.ejs.osejs.edition.variables.ModelElementsPalette.access$1(ModelElementsPalette.java:173)
at org.colos.ejs.osejs.edition.variables.ModelElementsPalette$1.mousePressed(ModelElementsPalette.java:88)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Léo Rodrigues Macena dos Santos Departament of Physics - Faculdade de Ciências da Universidade do Porto.

Current Replies - View all
Re: Problems with element...   (Francisco Esquembre - )
Re: Re: Problems with ele...   (Léo Santos - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book