Welcome, Guest
Username: Password: Remember me

TOPIC: Failing to open .xcas with Fudaa-Mascaret 3.6

Failing to open .xcas with Fudaa-Mascaret 3.6 4 years 2 months ago #36643

  • MaximeL
  • MaximeL's Avatar
Hi,

When I try to import a Mascaret model parameterized with a .xcas file (such as the ones provided with OpenTelemac, say Test7/rezo.xcas), the model is not loaded by Fudaa-Mascaret (v3.6). I get the following error in the console:
java.lang.NullPointerException
	at org.fudaa.fudaa.hydraulique1d.Hydraulique1dImport.importMascaretCommon(Hydraulique1dImport.java:2467)
	at org.fudaa.fudaa.hydraulique1d.Hydraulique1dImport.importXCasMascaret(Hydraulique1dImport.java:1913)
	at org.fudaa.fudaa.mascaret.MascaretImplementation.importerXCas(MascaretImplementation.java:1313)
	at org.fudaa.fudaa.mascaret.MascaretImplementation.actionPerformed(MascaretImplementation.java:464)
	at com.memoire.bu.BuMenuBar.actionPerformed(BuMenuBar.java:341)
	at com.memoire.bu.BuMenu.actionPerformed(BuMenu.java:787)
	at com.memoire.bu.BuMenu.actionPerformed(BuMenu.java:787)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
	at java.awt.Component.processMouseEvent(Component.java:6539)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at org.GNOME.Accessibility.AtkWrapper$6.dispatchEvent(AtkWrapper.java:715)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

However I can open the corresponding .masc model Test7/masc_file/rezo.masc without any problem.

Tested both on Ubuntu 18.04 and Windows 10 with Java 8.


If there's no solution to this problem, I'd be interested in a solution with the official QGIS plugin, even if I haven't been able to use it so far due to a lack of user manual.

Thanks in advance for your help!
The administrator has disabled public write access.
Moderators: JFourdrinoy

The open TELEMAC-MASCARET template for Joomla!2.5, the HTML 4 version.