Comments (6)
I get the same issue, here is the code snip where i get this:
//alarmpsm.thingml
configuration fragment AlarmPIMMQTTConfig {
instance mqttalarmpsm : MQTTClientPSM
instance alarmpim : AlarmPim
connector alarmpim.mqttport => mqttalarmpsm.mqttport
}
//alarmpim.thingml
configuration AlarmGatewayTest
@output_folder "/home/tmp/"
@add_c_libraries "paho-mqtt3a tmlmqtt cson"
{
group alarmmqttpsm : AlarmPIMMQTTConfig
instance gateway : GatewayImpl
connector gateway.alarmSirene => alarmmqttpsm.alarmpim.sirene
connector gateway.alarmAlert => alarmmqttpsm.alarmpim.alert
connector gateway.alarmMonitor => alarmmqttpsm.alarmpim.monitor
}
for the second and third connector in AlarmGatewayTest, the following error pops up
Description Resource Path Location Type
An expection occured while resolving the proxy for: EMFTEXT_INTERNAL_URI_FRAGMENT_14_alert. (java.lang.NullPointerException) gateway_g2_test_config.thingml /ThingMLSamples/thingmlg2demo line 22 EMFText Problem
from thingml.
@Lyadis this one you should look into in priority.
from thingml.
Seems like an EMFText issue... do we have good motivations for keeping this group concept or should we re-think it a bit? @Lyadis is going to write a few tests.
from thingml.
Well, it is useful e.g in the case of Anatoly, as it makes it easy to include a pre-configured PSM fragment into a PIM model, without polluting the model with the PSM details. Then it is more in the methodology we should advise people to use it wisely.
from thingml.
After some tests, it appears that the problem happens only when the fragment configuration is in a separated file.
Indeed when both configurations are in the same file, the compiler doesn't complain.
from thingml.
Ok. Can you create proper test cases for both cases, so that we can have them included in the test suite.
from thingml.
Related Issues (20)
- Composite states properties are initialised only once HOT 3
- Consider migrating JS compiler towards state lib 8.0.0 HOT 4
- Signature in Messages? HOT 5
- Is there any documentation for protocol keyword for configuration? HOT 1
- Implement a Rust compiler HOT 5
- Have you ever ran eslint on the JavaScript generated code ? HOT 1
- False error : Expected Object[], assigned with Object HOT 3
- How to register annotations ? HOT 4
- Why is SourceBuilder deprecated ? What should it be instead ? HOT 3
- [JavaScript] Messages can't have the same names anymore HOT 15
- [JavaScript] prints may crash on internet explorer HOT 3
- Updating the Xtext Community Website HOT 4
- Variable shadowing and priorities
- Mermaid as an alternative to PlantUML HOT 1
- Workaround comment exists in language/thingml/pom.xml file while the related issues are already fixed.
- http://thingml.org/dist/update2 is not reachable HOT 3
- Function is never called warning on fragment HOT 1
- Memory leak on the TimerJS implementation
- How to get started with a new compiler/extend the existing ones?
- I can't build text
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from thingml.