Stencyl 3.4.0 is now out. Get it now!

Stencyl 3.3 - 64-bit iOS, Google Purchases v3, Design Mode improvements

Hectate

  • *
  • Posts: 4643
I'll update it, thanks.
:
:
Patience is a Virtue,
But Haste is my Life.
Proud member of the League of Idiotic Stencylers; doing things in Stencyl that probably shouldn't be done.

Donni11

  • *
  • Posts: 2174
I'll update it, thanks.
The Stencylpedia is sure looking good :) !
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

evanyeti

  • *
  • Posts: 47
Hello. I've encountered four problems since the 3.3update. One of which forces me to force close Stencyl constantly.
The main offender is this error that eventually makes Stencyl freeze. It appears usually when I am opening a scene or character or adding graphics

Unexpected problem on thread AWT-EventQueue-0: null
java.lang.ArrayIndexOutOfBoundsException

I tried downgrading to Java 6 -no dice. Updated back to Java 8.

The other errors are just gripes but maybe they can shed light on what is going wrong.
*Grid guide in scene builder is the color of selected BG color rendering it invisible.
*Tabs stay hi lighted. Example: If I switch from actor position to motion- position stays hi lighted.
*When selecting Images to use for graphics, the folder I select from is not remembered forcing me to re navigate folders to import individual frames of animation.

Hope someone can help with this. I'm currently working on two games. One I hope to have done for Stencyl Jam and the other I have been working on for two years. I'm looking forward to buying the studio kit but need to resolve at least the one problem that is making Stencyl unusable for me.

Justin

  • *
  • Posts: 3814
I may have run into the same problem, but it's difficult to say for sure with the very basic stack trace Java gave you. Try adding the following line to your vm arguments for Stencyl.

-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot

You should be able to do so by following the same procedure that you would for increasing Stencyl's memory cap.

You can also add the following line, so that even if that doesn't work, Java should give you a more helpful error to relay back to us.

-XX:-OmitStackTraceInFastThrow

For Live Support: Join our discord channel and ping me @justin.

evanyeti

  • *
  • Posts: 47
Thanks for the help Justin.  I'm not savvy enough yet to know where to place that code so I put it here as a guess


# check whether $JAVACMD is a file and executable
if [ -f "$JAVACMD" ] && [ -x "$JAVACMD" ] ; then

   exec "$JAVACMD" \
      -cp ".:sw.jar:lib.jar" \
      -Xdock:icon="${ResourcesFolder}/cog.icns" \
      -Xdock:name="Stencyl" \
      -Xms64m \
      -Xmx1536m \
      -Dapple.laf.useScreenMenuBar=true \
      -Djava.library.path=./lib \
      -jar ./sw.jar
                -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot
                -XX:-OmitStackTraceInFastThrow

I got the same error when trying to open an actor. Is the code in the wrong spot?

Irock

  • *
  • Posts: 2838
It should look like this:

Code: [Select]
exec "$JAVACMD" \
-cp ".:sw.jar:lib.jar" \
-Xdock:icon="${ResourcesFolder}/cog.icns" \
-Xdock:name="Stencyl" \
-Xms64m \
-Xmx1536m \
-Dapple.laf.useScreenMenuBar=true \
-Djava.library.path=./lib \
-XX:-OmitStackTraceInFastThrow \
-XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot \
-jar ./sw.jar

evanyeti

  • *
  • Posts: 47
Thanks guys! Tested both games several times after correctly implementing code and no sign of that error so far. :D

captaincomic

  • *
  • Posts: 6109
That's great! The fix is now in build 8365.


Donni11

  • *
  • Posts: 2174
That's great! The fix is now in build 8365.
When is the new build coming out for non - subscribers ?
The Stencyl Discord Channel , Where the real Stencyl work happens ;).

1MrPaul1

  • *
  • Posts: 1234
I posted about this problems many times, since very first S3 beta, but nothing was changed in this question.
So, this is why I placed it here it is not bug report but my vision of what features we need to have in the new builds....
Will repost it in helpdesk, hopes it will not be forgotten there...

« Last Edit: May 09, 2015, 09:15:38 am by 1MrPaul1 »

rob1221

  • *
  • Posts: 9050
You should make a new thread about those problems, and then I'll respond there.  I can't move the post myself since it's under News.

Northfield82

  • Posts: 649
Sorry, where do I put this code:

   exec "$JAVACMD" \
      -cp ".:sw.jar:lib.jar" \
      -Xdock:icon="${ResourcesFolder}/cog.icns" \
      -Xdock:name="Stencyl" \
      -Xms64m \
      -Xmx1536m \
      -Dapple.laf.useScreenMenuBar=true \
      -Djava.library.path=./lib \
      -XX:-OmitStackTraceInFastThrow \
      -XX:CompileCommand=exclude,javax/swing/text/GlyphView,getBreakSpot \
      -jar ./sw.jar

Justin

  • *
  • Posts: 3814
The instructions are in the Mac section of the StencylPedia article I linked to earlier.

For Live Support: Join our discord channel and ping me @justin.

saman7977

  • Posts: 1
Is there any news from new versions ? new features ? new anythings ?