Closed stephaneberle9 closed 10 years ago
Where do you still see the problem?
in com.itemis.smartmeter.ssec.implementation.metrology.MetrologyDataPublisherStack
simply remove
delegate measurementIntervalResultHandler to energyDataPublisherInst.measurementIntervalResultHandler
on
energyDataPublisherInst
I can see the error. Can you please F5 and check again. Do you run with the powerSave mode enabled?
F5 doesn't help. Tested on 2 different machines (Windows 7 and Windows 8.1). Power save is definitely not enabled.
There is still no error message in this case. Check e.g.,
com.itemis.embedded.platform.energy.tests.helpers.PowerReadingsComputationTestHarnessImpl
There is a "provides ISimulatedEnergyData simulatedEnergyData" which is not connected to any inner instance port and no error message complaining about that.
The problem is that the error only appears for client/server interfaces. However, the one discussed here is a S/R interface.
I have fixed the problem. However, it does not yet take into account "direct use" of the S/R interface by the composite component. In the case of the C/S interface we check for triggers. It is not clear what we need to check for in the case of S/R interfaces. Closing for now.
One gets only an InvocationTargetException at generation time and then has to do some "advanced guessing"...