THM-MoTE / MoVE

Modelica Vector graphics Editor
https://thm-mote.github.io//projects/move
Mozilla Public License 2.0
16 stars 8 forks source link

Exception: textString has to be defined! #3

Open tbeu opened 7 years ago

tbeu commented 7 years ago

The Modelica text from https://github.com/modelica/Modelica_DeviceDrivers/issues/186#issuecomment-273717595 saved as A.mo cannot be opened in v0.7 and gives

de.thm.move.loader.parser.ModelicaParserLike$ParsingError: textString has to be defined!
    at de.thm.move.loader.parser.ModelicaParser.de$thm$move$loader$parser$ModelicaParser$$missingKeyError(ModelicaParser.scala:239)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92$$anonfun$apply$93$$anonfun$8.apply(ModelicaParser.scala:191)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92$$anonfun$apply$93$$anonfun$8.apply(ModelicaParser.scala:191)
    at scala.Option.getOrElse(Option.scala:121)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92$$anonfun$apply$93.apply(ModelicaParser.scala:191)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92$$anonfun$apply$93.apply(ModelicaParser.scala:190)
    at de.thm.move.util.ValidationSuccess.map(Validation.scala:34)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92.apply(ModelicaParser.scala:190)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91$$anonfun$apply$92.apply(ModelicaParser.scala:189)
    at de.thm.move.util.ValidationSuccess.flatMap(Validation.scala:35)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91.apply(ModelicaParser.scala:189)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$textFields$1$$anonfun$apply$91.apply(ModelicaParser.scala:187)
    at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:137)
    at scala.util.parsing.combinator.Parsers$Success.map(Parsers.scala:136)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:865)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:864)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.RegexParsers$$anon$3.apply(RegexParsers.scala:135)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1$$anonfun$apply$2.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Failure.append(Parsers.scala:197)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:865)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:864)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.RegexParsers$$anon$3.apply(RegexParsers.scala:135)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:865)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:864)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.RegexParsers$$anon$3.apply(RegexParsers.scala:135)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$append$1.apply(Parsers.scala:249)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:865)
    at scala.util.parsing.combinator.Parsers$$anonfun$positioned$1.apply(Parsers.scala:864)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.RegexParsers$$anon$3.apply(RegexParsers.scala:135)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$map$1.apply(Parsers.scala:237)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Success.flatMapWithNext(Parsers.scala:143)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anonfun$rep1$1.apply(Parsers.scala:727)
    at scala.util.parsing.combinator.Parsers$$anonfun$rep1$1.apply(Parsers.scala:712)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$Parser$$anonfun$flatMap$1.apply(Parsers.scala:234)
    at scala.util.parsing.combinator.Parsers$$anon$3.apply(Parsers.scala:217)
    at scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:882)
    at scala.util.parsing.combinator.Parsers$$anon$2$$anonfun$apply$14.apply(Parsers.scala:882)
    at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
    at scala.util.parsing.combinator.Parsers$$anon$2.apply(Parsers.scala:881)
    at scala.util.parsing.combinator.RegexParsers$class.parse(RegexParsers.scala:164)
    at de.thm.move.loader.parser.ModelicaParser.parse(ModelicaParser.scala:22)
    at scala.util.parsing.combinator.RegexParsers$class.parseAll(RegexParsers.scala:172)
    at de.thm.move.loader.parser.ModelicaParser.parseAll(ModelicaParser.scala:22)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$parse$1.apply(ModelicaParser.scala:226)
    at de.thm.move.loader.parser.ModelicaParser$$anonfun$parse$1.apply(ModelicaParser.scala:226)
    at scala.util.Try$.apply(Try.scala:192)
    at de.thm.move.loader.parser.ModelicaParser.parse(ModelicaParser.scala:225)
    at de.thm.move.loader.parser.ModelicaParserLike$class.parse(ModelicaParserLike.scala:24)
    at de.thm.move.loader.parser.ModelicaParser.parse(ModelicaParser.scala:22)
    at de.thm.move.controllers.FileCtrl.de$thm$move$controllers$FileCtrl$$parseFile(FileCtrl.scala:82)
    at de.thm.move.controllers.FileCtrl$$anonfun$openFile$2.apply(FileCtrl.scala:106)
    at de.thm.move.controllers.FileCtrl$$anonfun$openFile$2.apply(FileCtrl.scala:104)
    at scala.util.Success.flatMap(Try.scala:231)
    at de.thm.move.controllers.FileCtrl.openFile(FileCtrl.scala:104)
    at de.thm.move.controllers.MoveCtrl.onOpenClicked(MoveCtrl.scala:426)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.Trampoline.invoke(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
    at javafx.fxml.FXMLLoader$MethodHandler.invoke(FXMLLoader.java:1769)
    at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(FXMLLoader.java:1657)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:86)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:49)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.control.MenuItem.fire(MenuItem.java:462)
    at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.doSelect(ContextMenuContent.java:1405)
    at com.sun.javafx.scene.control.skin.ContextMenuContent$MenuItemContainer.lambda$createChildren$343(ContextMenuContent.java:1358)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(CompositeEventHandler.java:218)
    at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:80)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:238)
    at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:191)
    at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(CompositeEventDispatcher.java:59)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:58)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:56)
    at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:114)
    at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:74)
    at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:54)
    at javafx.event.Event.fireEvent(Event.java:198)
    at javafx.scene.Scene$MouseHandler.process(Scene.java:3757)
    at javafx.scene.Scene$MouseHandler.access$1500(Scene.java:3485)
    at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1762)
    at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2494)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:381)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.lambda$handleMouseEvent$354(GlassViewEventHandler.java:417)
    at com.sun.javafx.tk.quantum.QuantumToolkit.runWithoutRenderLock(QuantumToolkit.java:389)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:416)
    at com.sun.glass.ui.View.handleMouseEvent(View.java:555)
    at com.sun.glass.ui.View.notifyMouse(View.java:937)
    at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
    at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
    at java.lang.Thread.run(Unknown Source)
njustus commented 7 years ago

The source of this exception is in the definition of the Text annotation. Currently we support the new Text definition only. As a result, it is not possible to use lineColor. This property is inherited from FilledShape and this inheritance is deprecated according to Modelica Language Specification V 3.3. Using textColor instead fixes the exception. (The exception is totally misleading.)

There are some other bugs too:

I have no time to fix this at the moment, sorry.

tbeu commented 7 years ago

Thanks for looking into it. I even learned that lineColor is deprecated in favour of textColor.