Java computation module exception

7 posts / 0 new
Last post
RPH
Java computation module exception

Hello,
I ran many times the fides expert tool without problems, but I got errors with some files recently (you will find hereafter the log I have).
Is someone can support me to solve the issue ?
Thanks

RPH
Java computation module exception
Electronic component (160)...OK
Part Count component (0)...OK
Familly Count component (0)...OK
HFRF component (0)...OK
VS component (0)...OK
HYBRID component (0)...OK
No cots board
computation module exception :null
java.lang.NullPointerException
        at com.lgm.jdom2tools.JDOMTools.getDoubleValueChildElement(JDOMTools.java:226)
        at com.lgm.fides.motor.fidesElement.electronics.Connector.<init>(Connector.java:56)
        at com.lgm.fides.motor.fidesElement.Element.getElement(Element.java:96)
        at com.lgm.fides.motor.FidesProduct.setComponentList(FidesProduct.java:172)
        at com.lgm.fides.motor.FidesProduct.<init>(FidesProduct.java:148)
        at com.lgm.fides.motor.FidesProduct.<init>(FidesProduct.java:119)
        at com.lgm.fides.main.Computation.execute(Computation.java:118)
        at com.lgm.fides.ihm.FidesFrame.initCalcul(FidesFrame.java:198)
        at com.lgm.fides.ihm.FidesFrame.actionPerformed(FidesFrame.java:107)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(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$200(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$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.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$1.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)
Computation Failed
Ecriture du log d'erreur :0 erreur(s)
Fin ecriture du log d'erreur
RPH
Java computation module exception

Problem solved, it comes from a value (N Cycles_annuel) not completed for some connectors (empty cell).

Import phase seems ok (no error reported in log) but computation phase fails.

 

Import phase :
Status : Successfull
Duration : 733 ms
Computation phase :
Status : Failed
Duration : 61 ms
Export phase :
Status : Failed
Duration : null ms
tourtelier_d
ENThe block you come across

EN

The block you come across is unusual, but it's possible that the verification module hasn't tested a variable yet (the latter isn't exhaustive). I recommend that you check that all fields highlighted in color are filled in.

If despite this advice you are still stucked, I suggest to provideyou direct support if you are allowed to share your calculation file. You can contact me privately on the website

 

FR

Le blocage que vous rencontrez est atypique mais il est possible qu’il manque encore une variable qui n’est pas testée par le module de vérification (ce dernier n’est pas exhaustif). Je vous recommande de vérifier que tous les champs surligné en couleur sont bien remplis.

Si malgré ce conseil vous restez coincé je vous propose de vous apporter un soutien direct si vous êtes autorisé à partager votre fichier de calcul. Vous pouvez me contacter en privé sur le site

 

RPH
As indicated, my problem was

As indicated, my problem was solved (once the field was completed). Hope this Return of Experience will help to improve the verification tool in the next update.
Thanks for your support's proposal.

hajara
FIDES Expert Tool Errors

Hello, 

I try to use FIDES Expert tool to calculate the FIT of an electronic system, but I have a failed status. 

Import phase :
Status : Failed
Duration : 450 ms
Computation phase :
Status : Failed
Duration : null ms
Export phase :
Status : Failed
Duration : null ms
 
I also have these errors in the CMD : 
import module exception :import error
java.lang.Exception: import error
        at com.lgm.fides.main.Computation.execute(Computation.java:78)
        at com.lgm.fides.ihm.FidesFrame.initCalcul(FidesFrame.java:198)
        at com.lgm.fides.ihm.FidesFrame.actionPerformed(FidesFrame.java:107)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(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$200(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$1.doIntersectionPrivilege(Unknown Source)
        at java.security.ProtectionDomain$1.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$1.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)
Computation Failed
Ecriture du log d'erreur :156 erreur(s)
Fin ecriture du log d'erreur 
 
Could anyone please Help me?
Kind Regards.
 

 

tourtelier_d
Hi,Please have a look at the

Hi,

Please have a look at the log file. With 156 errors, it seems that some data is missing. The log file is generated in a folder created when launching a computation.

Checking the error log is the first step in debugging a file.

When the log error is resolved, check the command prompt, the information isn't always clear, so please post again with the command line text.

If you are still