[ 
https://issues.apache.org/jira/browse/PIVOT-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337471#comment-14337471
 ] 

Sandro Martini commented on PIVOT-964:
--------------------------------------

Hi,
even after your updates and eclipse launch files (thanks :-) ) I get some 
errors running your app.

I had to change this line in ReceiveBattleState.java:
            // pane = (GamePane) bxmlSerializer.readObject(new 
FileInputStream(new File("data/bxml/GamePane.bxml")));  // original
            pane = (GamePane) bxmlSerializer.readObject(this.getClass(), 
"data/bxml/GamePane.bxml");  // new, temp

Server:
[DEBUG] Starting state manager with state 
org.fullthrust.server.states.LoadTutorialState@29af45f4
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@1a543937)
[ERROR] Util.loadScenario: IOException Test.xml
[DEBUG] Terminated stateorg.fullthrust.server.states.LoadTutorialState@29af45f4
[DEBUG] Initiating 
stateorg.fullthrust.server.states.WaitForConnectionsState@31395750
[DEBUG] EventManager(org.fullthrust.server.events.ServerLoginEvent@18b679e1)
[DEBUG] EventManager(org.fullthrust.core.events.state.LogMsgEvent@1f13cd63)
[LOG] User a(/127.0.0.1) logged in.
[DEBUG] Terminated 
stateorg.fullthrust.server.states.WaitForConnectionsState@31395750
[DEBUG] Initiating stateorg.fullthrust.server.states.BattleSyncState@5b21cbdb
[DEBUG] EventManager(org.fullthrust.core.events.state.BattleSyncEvent@13060ee9)
[DEBUG] Terminated stateorg.fullthrust.server.states.BattleSyncState@5b21cbdb
[DEBUG] Initiating stateorg.fullthrust.server.states.FactionChoiceState@79662429
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@5349b9a8)
[ERROR] IOException while reading object from a(/127.0.0.1)
[ERROR] IOException while writing object a(/127.0.0.1)
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@72e9625d)
[DEBUG] EventManager(org.fullthrust.server.events.ServerLoginEvent@3839029b)
[DEBUG] EventManager(org.fullthrust.core.events.state.LogMsgEvent@26da2af3)
[LOG] User a(/127.0.0.1) logged in.

Client:
[DEBUG] EventManager(org.fullthrust.core.events.state.ErrorMsgEvent@23617fc5)
[ERROR] Problem reading font data/font/Monkirta Pursuit NC.ttf. Defaulting to 
Arial.
[DEBUG] Starting state manager with state Login
[DEBUG] EventManager(org.fullthrust.core.events.state.LoginEvent@4921bae7)
[DEBUG] Terminated stateLogin
[DEBUG] Initiating stateSynchronising
[DEBUG] EventManager(ChangedStateEvent: ReceiveBattle, Synchronising)
[DEBUG] EventManager(ChangedStateEvent: Login, Login)

And then in the Client GUI I only see all black with a Label "Server waiting 
for other connections..." but even after waiting some seconds I can only 
terminate it, sorry ...


In the meantime I'll try to focus on minimal Test classes.


> Changes in SVG viewBox attribute causes SVG not to render.
> ----------------------------------------------------------
>
>                 Key: PIVOT-964
>                 URL: https://issues.apache.org/jira/browse/PIVOT-964
>             Project: Pivot
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>         Environment: Windows 7, Java 1.7, Eclipse, Pivot 2.0.4, svgSalamander
>            Reporter: João Martins
>            Assignee: Sandro Martini
>              Labels: svgSalamander
>             Fix For: 2.1, 2.0.5
>
>         Attachments: TestClient2.java, TestClient3.java
>
>
> We try to display a simple SVG file with a rect of width 2000 and height 
> 1000. This is done using an ImageView.
> We have two values of viewBox, both of which capture at least part of the 
> rectangle. For one of them, the rectangle is rendered. For the other, it 
> isn't (but should).
> The exact same scenario, using svgSalamander & Java Swing, works. With Pivot 
> instead of Swing, it does not.
> Here is a Swing minimal example: http://pastebin.com/i0xJbUTg
> Here is a Pivot minimal example: http://pastebin.com/tpgnVe0c



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to