Bug Issue: Silent failure of a behaviour import


Pages: 1

danielle53

  • Subscriber - Stencyl Indie
  • *
April 06, 2016, 05:12:43 pm
The process of import would not go through for some behaviours.

Quote
2016-04-04 09:01:18,088 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App:
Action: Import Resource...
2016-04-04 09:01:34,294 DEBUG [AWT-EventQueue-0] stencyl.sw.SW: Dragged
In: /home/dan/essai2command Copy.png
2016-04-04 09:01:34,421 DEBUG [AWT-EventQueue-0]
stencyl.sw.app.center.snippet.SnippetPage: Dropping into Snippet Page

But there is nothing dropped on the snippet page ..
(and when the import is successful ..  The import is more verbose

Quote
2016-04-03 21:45:11,658 DEBUG [AWT-EventQueue-0]
stencyl.sw.util.NotifierHashMap: HashMapEvent [type=VALUE_ADDED,
value=PopupManager]
2016-04-03 21:45:11,670 DEBUG [AWT-EventQueue-0]
stencyl.core.lib.io.ResourceImporter: Remapping design mode snippet's
attributes: /home/dan/Barbouillis/stencylworks/games/test
import/snippets/Design_3_3_PopupManager.design
2016-04-03 21:45:11,682 DEBUG [AWT-EventQueue-0]
stencyl.sw.app.forge.ForgeDownloader: Remapping design mode snippet's
attributes to: 3
.....

I don't know, ... I have tried to extract the METADATA ..  of the png .. and decoded with the help of Base64 Decoder de http://opinionatedgeek.com/DotNet/Tools/Base64Decode/.
It is  without warranty ... the resulting xml looked ok  but for the start :
<xm is missing

Code: [Select]
ml version="1.0" encoding="UTF-8" standalone="no"?>
<root type="snippet">
    <snip-root>
        <snippet attachedevent="false" class="scripts.Design_3_3" classname="scripts.Design_3_3" desc="" description="" design="true" drawOrder="0" id="0" name="essai2command Copy" oid="-1" package="scripts" scenespecific="false" shared="false" type="scene">
            <list default="list" defaultValue="list" desc="" dropdown="" fullname="temp_texLlist" hidden="true" id="1" name="_temptexLlist" order="0"/>
            <blocks>
                <receiver blockID="1" id="1"/>
            </blocks>
            <events>
                <event displayName="Custom Block" enabled="true" id="1" name="event-custom-block" order="1" repeats="true"/>
            </events>
        </snippet>
        <custom-blocks>
            <custom-block blocktag="custom-1" blocktype="ACTION" code="sayToScene(&quot;essai2command Copy&quot;, &quot;_customBlock_e2&quot;, [, ]);" desc="" global="false" gui="command %0 with %1" id="1" message="e2" name="e2" oid="-1" return="void" shared="false" snippetID="0">
                <blank name="textCommand" order="0" type="text"/>
                <blank name="textArguments" order="1" type="text"/>
            </custom-block>
        </custom-blocks>
        <groups>
    <group eventID="1" id="0">
        <receiver-1-1 comment="false" x="45" y="32">
            <group eventID="1" id="-1">
                <print comment="false" x="56" y="62">
                    <int id="0" val="command 2"/>
                </print>
                <set-val-3-1 comment="false" x="56" y="82">
                    <str-split comment="false" id="0" x="0" y="0">
.......


captaincomic

  • Master Stencyler
  • *
April 06, 2016, 05:41:25 pm
Please attach the behavior which fails to be imported (essai2command Copy.png).
  • Status changed from New to Need Info


New attachment added by danielle53 - April 06, 2016, 06:32:41 pm


New attachment added by danielle53 - April 07, 2016, 12:08:53 am


captaincomic

  • Master Stencyler
  • *
April 07, 2016, 10:31:32 am
Hmm, I can import the attached "essai2command Copy.png" just fine.

Here's the metadata of the file:
Code: [Select]
PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+Cjxy
b290IHR5cGU9InNuaXBwZXQiPgogICAgPHNuaXAtcm9vdD4KICAgICAgICA8c25pcHBldCBhdHRh
Y2hlZGV2ZW50PSJmYWxzZSIgY2xhc3M9InNjcmlwdHMuRGVzaWduXzNfMyIgY2xhc3NuYW1lPSJz
Y3JpcHRzLkRlc2lnbl8zXzMiIGRlc2M9IiIgZGVzY3JpcHRpb249IiIgZGVzaWduPSJ0cnVlIiBk
cmF3T3JkZXI9IjAiIGlkPSIwIiBuYW1lPSJlc3NhaTJjb21tYW5kIENvcHkiIG9pZD0iLTEiIHBh
Y2thZ2U9InNjcmlwdHMiIHNjZW5lc3BlY2lmaWM9ImZhbHNlIiBzaGFyZWQ9ImZhbHNlIiB0eXBl
PSJzY2VuZSI+CiAgICAgICAgICAgIDxsaXN0IGRlZmF1bHQ9Imxpc3QiIGRlZmF1bHRWYWx1ZT0i
bGlzdCIgZGVzYz0iIiBkcm9wZG93bj0iIiBmdWxsbmFtZT0idGVtcF90ZXhMbGlzdCIgaGlkZGVu
PSJ0cnVlIiBpZD0iMSIgbmFtZT0iX3RlbXB0ZXhMbGlzdCIgb3JkZXI9IjAiLz4KICAgICAgICAg
ICAgPGJsb2Nrcz4KICAgICAgICAgICAgICAgIDxyZWNlaXZlciBibG9ja0lEPSIxIiBpZD0iMSIv
PgogICAgICAgICAgICA8L2Jsb2Nrcz4KICAgICAgICAgICAgPGV2ZW50cz4KICAgICAgICAgICAg
ICAgIDxldmVudCBkaXNwbGF5TmFtZT0iQ3VzdG9tIEJsb2NrIiBlbmFibGVkPSJ0cnVlIiBpZD0i
MSIgbmFtZT0iZXZlbnQtY3VzdG9tLWJsb2NrIiBvcmRlcj0iMSIgcmVwZWF0cz0idHJ1ZSIvPgog
ICAgICAgICAgICA8L2V2ZW50cz4KICAgICAgICA8L3NuaXBwZXQ+CiAgICAgICAgPGN1c3RvbS1i
bG9ja3M+CiAgICAgICAgICAgIDxjdXN0b20tYmxvY2sgYmxvY2t0YWc9ImN1c3RvbS0xIiBibG9j
a3R5cGU9IkFDVElPTiIgY29kZT0ic2F5VG9TY2VuZSgmcXVvdDtlc3NhaTJjb21tYW5kIENvcHkm
cXVvdDssICZxdW90O19jdXN0b21CbG9ja19lMiZxdW90OywgWywgXSk7IiBkZXNjPSIiIGdsb2Jh
bD0iZmFsc2UiIGd1aT0iY29tbWFuZCAlMCB3aXRoICUxIiBpZD0iMSIgbWVzc2FnZT0iZTIiIG5h
bWU9ImUyIiBvaWQ9Ii0xIiByZXR1cm49InZvaWQiIHNoYXJlZD0iZmFsc2UiIHNuaXBwZXRJRD0i
MCI+CiAgICAgICAgICAgICAgICA8YmxhbmsgbmFtZT0idGV4dENvbW1hbmQiIG9yZGVyPSIwIiB0
eXBlPSJ0ZXh0Ii8+CiAgICAgICAgICAgICAgICA8YmxhbmsgbmFtZT0idGV4dEFyZ3VtZW50cyIg
b3JkZXI9IjEiIHR5cGU9InRleHQiLz4KICAgICAgICAgICAgPC9jdXN0b20tYmxvY2s+CiAgICAg
ICAgPC9jdXN0b20tYmxvY2tzPgogICAgICAgIDxncm91cHM+CiAgICA8Z3JvdXAgZXZlbnRJRD0i
MSIgaWQ9IjAiPgogICAgICAgIDxyZWNlaXZlci0xLTEgY29tbWVudD0iZmFsc2UiIHg9IjQ1IiB5
PSIzMiI+CiAgICAgICAgICAgIDxncm91cCBldmVudElEPSIxIiBpZD0iLTEiPgogICAgICAgICAg
ICAgICAgPHByaW50IGNvbW1lbnQ9ImZhbHNlIiB4PSI1NiIgeT0iNjIiPgogICAgICAgICAgICAg
ICAgICAgIDxpbnQgaWQ9IjAiIHZhbD0iY29tbWFuZCAyIi8+CiAgICAgICAgICAgICAgICA8L3By
aW50PgogICAgICAgICAgICAgICAgPHNldC12YWwtMy0xIGNvbW1lbnQ9ImZhbHNlIiB4PSI1NiIg
eT0iODIiPgogICAgICAgICAgICAgICAgICAgIDxzdHItc3BsaXQgY29tbWVudD0iZmFsc2UiIGlk
PSIwIiB4PSIwIiB5PSIwIj4KICAgICAgICAgICAgICAgICAgICAgICAgPGdldC1ieW9idmFsLTMt
MS0xIGNvbW1lbnQ9ImZhbHNlIiBpZD0iMCIgeD0iMCIgeT0iMCIvPgogICAgICAgICAgICAgICAg
ICAgICAgICA8aW50IGlkPSIxIiB2YWw9Ii0iLz4KICAgICAgICAgICAgICAgICAgICA8L3N0ci1z
cGxpdD4KICAgICAgICAgICAgICAgIDwvc2V0LXZhbC0zLTE+CiAgICAgICAgICAgICAgICA8aWYg
Y29tbWVudD0iZmFsc2UiIHg9IjU2IiB5PSIxMTIiPgogICAgICAgICAgICAgICAgICAgIDxncm91
cCBldmVudElEPSIxIiBpZD0iLTEiPgogICAgICAgICAgICAgICAgICAgICAgICA8cHJpbnQgY29t
bWVudD0iZmFsc2UiIHg9IjY3IiB5PSIxNDIiPgogICAgICAgICAgICAgICAgICAgICAgICAgICAg
PHN0ci1jb21iaW5lIGNvbW1lbnQ9ImZhbHNlIiBpZD0iMCIgeD0iMCIgeT0iMCI+CiAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgPGdldC1ieW9idmFsLTMtMS0wIGNvbW1lbnQ9ImZhbHNl
IiBpZD0iMCIgeD0iMCIgeT0iMCIvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxn
ZXQtaXRlbSBjb21tZW50PSJmYWxzZSIgaWQ9IjEiIHg9IjAiIHk9IjAiPgogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICA8Z2V0LXZhbC0zLTEgY29tbWVudD0iZmFsc2UiIGlkPSIw
IiB4PSIwIiB5PSIwIi8+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxpbnQg
aWQ9IjEiIHZhbD0iMCIvPgogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDwvZ2V0LWl0
ZW0+CiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3N0ci1jb21iaW5lPgogICAgICAgICAg
ICAgICAgICAgICAgICA8L3ByaW50PgogICAgICAgICAgICAgICAgICAgIDwvZ3JvdXA+CiAgICAg
ICAgICAgICAgICAgICAgPGlzLWVtcHR5IGNvbW1lbnQ9ImZhbHNlIiBpZD0iMCIgeD0iMCIgeT0i
MCI+CiAgICAgICAgICAgICAgICAgICAgICAgIDxnZXQtdmFsLTMtMSBjb21tZW50PSJmYWxzZSIg
aWQ9IjAiIHg9IjAiIHk9IjAiLz4KICAgICAgICAgICAgICAgICAgICA8L2lzLWVtcHR5PgogICAg
ICAgICAgICAgICAgPC9pZj4KICAgICAgICAgICAgICAgIDxlbHNlIGNvbW1lbnQ9ImZhbHNlIiB4
PSI1NiIgeT0iMTg5Ij4KICAgICAgICAgICAgICAgICAgICA8Z3JvdXAgZXZlbnRJRD0iMSIgaWQ9
Ii0xIj4KICAgICAgICAgICAgICAgICAgICAgICAgPHByaW50IGNvbW1lbnQ9ImZhbHNlIiB4PSI2
NyIgeT0iMjA5Ij4KICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxzdHItY29tYmluZSBjb21t
ZW50PSJmYWxzZSIgaWQ9IjAiIHg9IjAiIHk9IjAiPgogICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgIDxnZXQtYnlvYnZhbC0zLTEtMCBjb21tZW50PSJmYWxzZSIgaWQ9IjAiIHg9IjAiIHk9
IjAiLz4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8Z2V0LWl0ZW0gY29tbWVudD0i
ZmFsc2UiIGlkPSIxIiB4PSIwIiB5PSIwIj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
ICAgICAgPGdldC12YWwtMy0xIGNvbW1lbnQ9ImZhbHNlIiBpZD0iMCIgeD0iMCIgeT0iMCIvPgog
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8aW50IGlkPSIxIiB2YWw9IjAiLz4K
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L2dldC1pdGVtPgogICAgICAgICAgICAg
ICAgICAgICAgICAgICAgPC9zdHItY29tYmluZT4KICAgICAgICAgICAgICAgICAgICAgICAgPC9w
cmludD4KICAgICAgICAgICAgICAgICAgICA8L2dyb3VwPgogICAgICAgICAgICAgICAgPC9lbHNl
PgogICAgICAgICAgICA8L2dyb3VwPgogICAgICAgICAgICA8Z2V0LWJ5b2J2YWwtMy0xLTAgY29t
bWVudD0iZmFsc2UiIGlkPSIwIiB4PSIwIiB5PSIwIi8+CiAgICAgICAgICAgIDxnZXQtYnlvYnZh
bC0zLTEtMSBjb21tZW50PSJmYWxzZSIgaWQ9IjEiIHg9IjAiIHk9IjAiLz4KICAgICAgICA8L3Jl
Y2VpdmVyLTEtMT4KICAgIDwvZ3JvdXA+CiAgICA8Z3JvdXAgZXZlbnRJRD0iMSIgaWQ9IjUiPgog
ICAgICAgIDxzdHItY29tYmluZSBjb21tZW50PSJmYWxzZSIgeD0iMjM2IiB5PSIyNDYiPgogICAg
ICAgICAgICA8aW50IGlkPSIwIiB2YWw9IiIvPgogICAgICAgICAgICA8Z2V0LWl0ZW0gY29tbWVu
dD0iZmFsc2UiIGlkPSIxIiB4PSIwIiB5PSIwIj4KICAgICAgICAgICAgICAgIDxpbnQgaWQ9IjAi
IHZhbD0iIi8+CiAgICAgICAgICAgICAgICA8aW50IGlkPSIxIiB2YWw9IjAiLz4KICAgICAgICAg
ICAgPC9nZXQtaXRlbT4KICAgICAgICA8L3N0ci1jb21iaW5lPgogICAgPC9ncm91cD4KICAgIDxn
cm91cCBldmVudElEPSIxIiBpZD0iNyI+CiAgICAgICAgPG5vdCBjb21tZW50PSJmYWxzZSIgeD0i
Mjk0IiB5PSIxNzciPgogICAgICAgICAgICA8aW50IGlkPSIwIiB2YWw9IiIvPgogICAgICAgIDwv
bm90PgogICAgPC9ncm91cD4KICAgIDxncm91cCBldmVudElEPSIxIiBpZD0iOSI+CiAgICAgICAg
PGltYWdlLWluc3QtaHVkIGNvbW1lbnQ9ImZhbHNlIiB4PSI0MCIgeT0iMzY0Ij4KICAgICAgICAg
ICAgPGludCBpZD0iMCIgdmFsPSIiLz4KICAgICAgICAgICAgPGludCBpZD0iMSIgdmFsPSIiLz4K
ICAgICAgICAgICAgPGludCBpZD0iMiIgdmFsPSIiLz4KICAgICAgICA8L2ltYWdlLWluc3QtaHVk
PgogICAgPC9ncm91cD4KICAgIDxncm91cCBldmVudElEPSIxIiBpZD0iLTEiPgogICAgICAgIDxn
ZXQtYnlvYnZhbC0zLTEtMSBjb21tZW50PSJmYWxzZSIgeD0iMTEwIiB5PSIxNTQiLz4KICAgIDwv
Z3JvdXA+CjwvZ3JvdXBzPgogICAgPC9zbmlwLXJvb3Q+Cjwvcm9vdD4K

And here's the metadata decoded:
Code: [Select]
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<root type="snippet">
    <snip-root>
        <snippet attachedevent="false" class="scripts.Design_3_3" classname="scripts.Design_3_3" desc="" description="" design="true" drawOrder="0" id="0" name="essai2command Copy" oid="-1" package="scripts" scenespecific="false" shared="false" type="scene">
            <list default="list" defaultValue="list" desc="" dropdown="" fullname="temp_texLlist" hidden="true" id="1" name="_temptexLlist" order="0"/>
            <blocks>
                <receiver blockID="1" id="1"/>
            </blocks>
            <events>
                <event displayName="Custom Block" enabled="true" id="1" name="event-custom-block" order="1" repeats="true"/>
            </events>
        </snippet>
        <custom-blocks>
            <custom-block blocktag="custom-1" blocktype="ACTION" code="sayToScene(&quot;essai2command Copy&quot;, &quot;_customBlock_e2&quot;, [, ]);" desc="" global="false" gui="command %0 with %1" id="1" message="e2" name="e2" oid="-1" return="void" shared="false" snippetID="0">
                <blank name="textCommand" order="0" type="text"/>
                <blank name="textArguments" order="1" type="text"/>
            </custom-block>
        </custom-blocks>
        <groups>
    <group eventID="1" id="0">
        <receiver-1-1 comment="false" x="45" y="32">
            <group eventID="1" id="-1">
                <print comment="false" x="56" y="62">
                    <int id="0" val="command 2"/>
                </print>
                <set-val-3-1 comment="false" x="56" y="82">
                    <str-split comment="false" id="0" x="0" y="0">
                        <get-byobval-3-1-1 comment="false" id="0" x="0" y="0"/>
                        <int id="1" val="-"/>
                    </str-split>
                </set-val-3-1>
                <if comment="false" x="56" y="112">
                    <group eventID="1" id="-1">
                        <print comment="false" x="67" y="142">
                            <str-combine comment="false" id="0" x="0" y="0">
                                <get-byobval-3-1-0 comment="false" id="0" x="0" y="0"/>
                                <get-item comment="false" id="1" x="0" y="0">
                                    <get-val-3-1 comment="false" id="0" x="0" y="0"/>
                                    <int id="1" val="0"/>
                                </get-item>
                            </str-combine>
                        </print>
                    </group>
                    <is-empty comment="false" id="0" x="0" y="0">
                        <get-val-3-1 comment="false" id="0" x="0" y="0"/>
                    </is-empty>
                </if>
                <else comment="false" x="56" y="189">
                    <group eventID="1" id="-1">
                        <print comment="false" x="67" y="209">
                            <str-combine comment="false" id="0" x="0" y="0">
                                <get-byobval-3-1-0 comment="false" id="0" x="0" y="0"/>
                                <get-item comment="false" id="1" x="0" y="0">
                                    <get-val-3-1 comment="false" id="0" x="0" y="0"/>
                                    <int id="1" val="0"/>
                                </get-item>
                            </str-combine>
                        </print>
                    </group>
                </else>
            </group>
            <get-byobval-3-1-0 comment="false" id="0" x="0" y="0"/>
            <get-byobval-3-1-1 comment="false" id="1" x="0" y="0"/>
        </receiver-1-1>
    </group>
    <group eventID="1" id="5">
        <str-combine comment="false" x="236" y="246">
            <int id="0" val=""/>
            <get-item comment="false" id="1" x="0" y="0">
                <int id="0" val=""/>
                <int id="1" val="0"/>
            </get-item>
        </str-combine>
    </group>
    <group eventID="1" id="7">
        <not comment="false" x="294" y="177">
            <int id="0" val=""/>
        </not>
    </group>
    <group eventID="1" id="9">
        <image-inst-hud comment="false" x="40" y="364">
            <int id="0" val=""/>
            <int id="1" val=""/>
            <int id="2" val=""/>
        </image-inst-hud>
    </group>
    <group eventID="1" id="-1">
        <get-byobval-3-1-1 comment="false" x="110" y="154"/>
    </group>
</groups>
    </snip-root>
</root>

However, the " Copy.png" file is empty (0 bytes).
« Last Edit: April 07, 2016, 10:32:05 am by captaincomic »


danielle53

  • Subscriber - Stencyl Indie
  • *
April 08, 2016, 01:18:50 am
the 0k file reflects the general state of my connexion :(
For the rest, I am awfully sorry I had certainly made a mistake ...

I apologize for the lost time

 (mistake in uploading this file and not an another one ... the good "bad one".. )


danielle53

  • Subscriber - Stencyl Indie
  • *
April 08, 2016, 01:27:06 am
It should not have happened ..
please help the messy would be developer : look at my suggestion 309

if I am alone in this case ... forget  it otherwise

may be a debate could be open ... in order to trigger better ideas.



danielle53

  • Subscriber - Stencyl Indie
  • *
April 08, 2016, 04:17:57 am
 How embarrassing ...
The 0k file was due to a bad connexion .. but I try the other one in 2 different games ..
and the import are successful !
or it depends of the game, or .. I made a mistake

Sorry


danielle53

  • Subscriber - Stencyl Indie
  • *
April 13, 2016, 01:20:12 am
I could import a behaviour B  in an empty game but not in my actual game :

no error message ..
 as you can see I've waited 3 minutes or so for the HashMapEvent

Code: [Select]
2016-04-13 08:30:02,854 DEBUG [AWT-EventQueue-0] stencyl.sw.util.Util: Running command: [xdg-open, /home/dan/Bar/export]
2016-04-13 08:30:33,869 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Import Resource...
2016-04-13 08:30:36,749 DEBUG [AWT-EventQueue-0] stencyl.sw.SW: Dragged In: /home/dan/Bar/export/HUD.png
2016-04-13 08:30:36,839 DEBUG [AWT-EventQueue-0] stencyl.sw.app.center.snippet.SnippetPage: Dropping into Snippet Page
2016-04-13 08:33:52,318 DEBUG [AWT-EventQueue-0] stencyl.thirdparty.pulpcore.assettools.ConvertFontTask: Creating preview for font: /home/dan/Bar/stencylworks/games/2016_04_17/resources/71.fnt

When I reimport the same behaviour B (instead of duplicating it) I've got a Java Exception
Code: [Select]
2016-04-13 08:55:58,872 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Import Resource...
2016-04-13 08:56:00,581 DEBUG [AWT-EventQueue-0] stencyl.sw.SW: Dragged In: /home/dan/Bar/export/HUD.png
2016-04-13 08:56:00,652 ERROR [AWT-EventQueue-0] root: Unexpected problem on thread AWT-EventQueue-0: null
java.lang.NullPointerException
at stencyl.sw.editors.snippet.designer.block.Group.fromXML(Group.java:261)
at stencyl.sw.editors.snippet.designer.EditArea.paste(EditArea.java:2805)
at stencyl.sw.SW.handleDrop(SW.java:1403)
at stencyl.sw.SW.importResource(SW.java:1209)
at stencyl.sw.app.App.actionPerformed(App.java:359)
at stencyl.sw.actions.ActionManager.actionPerformed(ActionManager.java:54)
at stencyl.sw.actions.SAction.actionPerformed(SAction.java:120)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

I am now with the build 9099
« Last Edit: September 07, 2016, 09:34:28 pm by Justin »


Justin

  • Master Stencyler
  • *
April 19, 2016, 12:24:44 pm
Could you send us the game as well as the behavior that won't import? You can change the view status of this issue to private if you wish to attach the game here.
  • Issue Assigned from (none) to Justin


danielle53

  • Subscriber - Stencyl Indie
  • *
April 20, 2016, 09:31:43 am
When you import an actor, if there is one having the same original name, it will be renamed with a prefix New

But it is not the case with a behaviour ... where you have first to rename the existing one before importing one of the same name.

Not very coherent ...

Nothing much is done to work by team :(


Justin

  • Master Stencyler
  • *
April 20, 2016, 09:37:29 am
Please create a separate issue for other bugs/suggestions, or we might miss them or lose track of them. :)


yoplalala

  • Subscriber - Stencyl Studio
  • *
April 20, 2016, 09:49:47 am
In fact me and danielle53 work together. I could try to upload the game ( as danielle53 live in a country with crappy internet bandwidth )to see what you can do for the first problem but the thing is there are many extensions attached . So I'll open a suggestion to be able to export a game with the extensions ;)


danielle53

  • Subscriber - Stencyl Indie
  • *
April 20, 2016, 10:32:42 am
and it is not very smooth you can encounter java exceptions like

(may be if you have 2 imports to do ..)

Code: [Select]
java.lang.NullPointerException
at stencyl.sw.editors.snippet.designer.block.Group.fromXML(Group.java:261)
at stencyl.sw.editors.snippet.designer.EditArea.paste(EditArea.java:2841)
at stencyl.sw.SW.handleDrop(SW.java:1403)
at stencyl.sw.SW.importResource(SW.java:1209)
at stencyl.sw.app.App.actionPerformed(App.java:359)
at stencyl.sw.actions.ActionManager.actionPerformed(ActionManager.java:54)
at stencyl.sw.actions.SAction.actionPerformed(SAction.java:120)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

the actors are not properly imported .. only one way : open 2 stencyl and paste by hand the events ...
 
renaming is not always suitable as you can have hard link to behaviours  in trigger blocks ... and to actors type
« Last Edit: September 07, 2016, 09:35:27 pm by Justin »


Justin

  • Master Stencyler
  • *
April 20, 2016, 08:32:49 pm
@yoplalala:
For the sake of this bug, could you send me the game and the behavior that won't import? If it turns out that I need an extension and it's not available, I'll ask you for it then. Thanks.


Justin

  • Master Stencyler
  • *
April 20, 2016, 08:39:31 pm
I've gone ahead and opened an issue for the inability to import resources with the same name.
http://community.stencyl.com/index.php?issue=335.0


danielle53

  • Subscriber - Stencyl Indie
  • *
April 27, 2016, 05:02:39 am
with version 9142 ... 
Importing a behaviour having a already used name fails silently but .. 

I could check that *now* ( I mean with 9142 vs 9119) if I change the name of the existing behaviour, the import is successful


Justin

  • Master Stencyler
  • *
September 07, 2016, 09:39:31 pm
I never did get the game with the behavior that wouldn't important. If you still have it, would either of you care to send it to me? Otherwise I'd like to close this issue as one that can't be reproduced.


danielle53

  • Subscriber - Stencyl Indie
  • *
September 08, 2016, 08:52:19 pm
It looks that I can't reproduced it anymore .. (with build 9203)

the references to the game attributes are lost, but I could expect it.

but as I told you I didn't have anymore problems since 9142

Yes you can close this issue, If I encounter another failure, I let you know.
Thanks
« Last Edit: September 08, 2016, 08:57:27 pm by danielle53 »


Issue updated by Justin - September 08, 2016, 10:09:12 pm
  • Status changed from Need Info to Closed


Pages: 1

Details

  • Reported
    April 06, 2016, 05:12:43 pm
  • Updated
    September 08, 2016, 10:09:12 pm

  • View Status
    Public
  • Type
    Bug
  • Status
    Closed
  • Priority
    Normal
  • Version
    Stencyl 3.4, 3.4.0 beta2
  • Fixed in
    (none)
  • Assigned to
    Justin
  • Category
    Design Mode

Tags


Attachments

*  Copy.png (0 kB - downloaded 30 times.)

* essai2command Copy.png (8.47 kB, 48x48 - viewed 95 times.)