What steps will reproduce the problem?
1. git clone https://code.google.com/p/playn-samples
2. cd playn-samples/showcase
3. mvn test
What is the expected output?
No errors in my console, and the possibility to run all the demos.
What do you see instead?
main:
[java] Failed to create QuadShader: java.lang.RuntimeException: Failed to link program: Too many vertex shader constants
Clicking "Sprites" option in the menu makes the program crash with the
following exception:
[java] Sound initialization failed 'sprites/ding.mp3': java.lang.NegativeArraySizeException
[java] Exception in thread "main" java.lang.IllegalStateException: Line not open
[java] at org.classpath.icedtea.pulseaudio.PulseAudioClip.setFramePosition(PulseAudioClip.java:460)
[java] at playn.java.JavaSound.play(JavaSound.java:82)
[java] at playn.showcase.core.sprites.SpritesDemo.addPea(SpritesDemo.java:68)
[java] at playn.showcase.core.sprites.SpritesDemo.init(SpritesDemo.java:62)
[java] at playn.showcase.core.Showcase.activateDemo(Showcase.java:58)
[java] at playn.showcase.core.Menu$2.onEmit(Menu.java:93)
[java] at react.UnitSlot.onEmit(UnitSlot.java:16)
[java] at react.AbstractSignal.notifyEmit(AbstractSignal.java:47)
[java] at react.Signal.emit(Signal.java:25)
[java] at tripleplay.ui.Button.onClick(Button.java:65)
[java] at tripleplay.ui.ClickableTextWidget.onRelease(ClickableTextWidget.java:56)
[java] at tripleplay.ui.ClickableTextWidget.onPointerEnd(ClickableTextWidget.java:33)
[java] at tripleplay.ui.Widget$2.onPointerEnd(Widget.java:45)
[java] at playn.core.PointerImpl$3.interact(PointerImpl.java:113)
[java] at playn.core.PointerImpl$3.interact(PointerImpl.java:111)
[java] at playn.core.AbstractLayer.interact(AbstractLayer.java:285)
[java] at playn.core.AbstractLayer.interact(AbstractLayer.java:266)
[java] at playn.core.PointerImpl.onPointerEnd(PointerImpl.java:111)
[java] at playn.java.JavaPointer.onMouseUp(JavaPointer.java:30)
[java] at playn.java.JavaMouse.update(JavaMouse.java:75)
[java] at playn.java.JavaPlatform.run(JavaPlatform.java:220)
[java] at playn.core.PlayN.run(PlayN.java:47)
[java] at playn.showcase.java.ShowcaseJava.main(ShowcaseJava.java:28)
[java] Java Result: 1
The other demos run successfully.
What version of the product are you using? On what operating system?
PlayN 1.4, Linux Mint 64 bit
Please provide any additional information below.
Our own application which uses PlayN outputs the same error, but fails to
render anything.
Original issue reported on code.google.com by martin.n...@gmail.com on 17 Aug 2012 at 12:49
Original issue reported on code.google.com by
martin.n...@gmail.com
on 17 Aug 2012 at 12:49