Q7

Problem with large workspace context capturing

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Cannot Reproduce
  • Affects Version/s: 1.0RC5
  • Fix Version/s: 1.2.20
  • Component/s: Runtime, UI
  • Labels:
    None

Description

When something fails on AUT side (like resource is out of sync with file system) during capturing, I see just EOFException: Connection not available

Activity

Hide
komaz added a comment - 27/Jul/11 6:51 PM

Exact stacktrace:

java.io.EOFException
at java.io.DataInputStream.readInt(DataInputStream.java:375)
at org.eclipse.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:54)
at org.eclipse.ecl.internal.client.tcp.TcpSession$1.run(TcpSession.java:58)
at java.lang.Thread.run(Thread.java:680)

Show
komaz added a comment - 27/Jul/11 6:51 PM Exact stacktrace: java.io.EOFException at java.io.DataInputStream.readInt(DataInputStream.java:375) at org.eclipse.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:54) at org.eclipse.ecl.internal.client.tcp.TcpSession$1.run(TcpSession.java:58) at java.lang.Thread.run(Thread.java:680)
Hide
komaz added a comment - 28/Jul/11 2:18 PM

I think we just need correctly send error status into pipe and show error message on client side

Show
komaz added a comment - 28/Jul/11 2:18 PM I think we just need correctly send error status into pipe and show error message on client side
Hide
Ulyana Skorokhodova added a comment - 29/Jul/11 12:19 PM

Another steps to reproduce:

1) Import the attached workspace to VSD;
2) Create new workspace context and press "Capture" button;

Q7 will throw "Connection is not Available" error:

java.io.EOFException
at java.io.DataInputStream.readInt(Unknown Source)
at org.eclipse.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:54)
at org.eclipse.ecl.internal.client.tcp.TcpSession$1.run(TcpSession.java:58)
at java.lang.Thread.run(Unknown Source)

Show
Ulyana Skorokhodova added a comment - 29/Jul/11 12:19 PM Another steps to reproduce: 1) Import the attached workspace to VSD; 2) Create new workspace context and press "Capture" button; Q7 will throw "Connection is not Available" error: java.io.EOFException at java.io.DataInputStream.readInt(Unknown Source) at org.eclipse.ecl.internal.core.EMFStreamPipe.take(EMFStreamPipe.java:54) at org.eclipse.ecl.internal.client.tcp.TcpSession$1.run(TcpSession.java:58) at java.lang.Thread.run(Unknown Source)
Hide
Evgeny Tarasenko added a comment - 29/Jul/11 2:30 PM

Implemented changes:
Use new ECL TCP Server/Client.
Use binary serialization in EMFStreamPipe.
Show workaround solution when cannot capture context. (to increase -Xms -Xmx AUT VM arguments).

Show
Evgeny Tarasenko added a comment - 29/Jul/11 2:30 PM Implemented changes: Use new ECL TCP Server/Client. Use binary serialization in EMFStreamPipe. Show workaround solution when cannot capture context. (to increase -Xms -Xmx AUT VM arguments).
Hide
komaz added a comment - 01/Aug/13 7:33 PM

since we have linked resources, this problem is gone

Show
komaz added a comment - 01/Aug/13 7:33 PM since we have linked resources, this problem is gone

People

  • Assignee:
    komaz
    Reporter:
    komaz
Vote (0)
Watch (0)

Dates

  • Created:
    27/Jul/11 6:48 PM
    Updated:
    01/Aug/13 7:33 PM
    Resolved:
    01/Aug/13 7:33 PM