-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
compat1x: missing imports #133
Comments
Should the imports marked be optional? |
Do you understand why it throws this exception at all? All it should do is to close any playing stream. |
A breakpoint at org.openhab.core.compat1x.internal.CompatibilityActivator.stop(CompatibilityActivator.java:57) is catched, but that one on the playStream method not. |
Also get this one: 2015-02-18 17:21:18,069 | ERROR | FelixStartLevel | ReflectionTypeFactory | 112 - org.eclipse.xtext.common.types - 2.6.2.v201407030533 | Incomplete methods for org.openhab.io.multimedia.actions.Audio: java.lang.NoClassDefFoundError: javax/sound/sampled/UnsupportedAudioFileException 2015-02-18 17:21:18,071 | ERROR | FelixStartLevel | ReflectionTypeFactory | 112 - org.eclipse.xtext.common.types - 2.6.2.v201407030533 | Incomplete constructors for org.openhab.io.multimedia.actions.Audio: java.lang.NoClassDefFoundError: javax/sound/sampled/UnsupportedAudioFileException 2015-02-18 17:21:18,071 | ERROR | FelixStartLevel | ReflectionTypeFactory | 112 - org.eclipse.xtext.common.types - 2.6.2.v201407030533 | Incomplete fields for org.openhab.io.multimedia.actions.Audio: java.lang.NoClassDefFoundError: javax/sound/sampled/UnsupportedAudioFileException Will create a PR that adds javax.sound to the Import-Package, soon. |
Thanks. Does the import already solve this issue? |
Yes. |
Signed-off-by: Kai Kreuzer <[email protected]>
org.openhab.core.compat1x.internal.CompatibilityActivator calls in the stop function the method playStream of "org.openhab.io.multimedia.actions.Audio" with a null object.
This will throw a "UnsupportedAudioFileException" (javax.sound.sampled.UnsupportedAudioFileException).
The Import-Package is missing the javax.sound stuff completely.
The Audio class is using imports of javax.sound
So IMHO this have to be added to the MANIFEST.MF.
Should I create a PR?
The text was updated successfully, but these errors were encountered: