Help get this topic noticed by sharing it on Twitter Twitter, Facebook Facebook, or email.
Bill Carlson

SocketException when recording in Eclipse

When trying to record my application execution in Eclipse (version, I get a SocketException with the following stack trace: Socket closed
at Method)

This error appears to be dependent on the number of classes included in the recording, but running my current test even with a very small number of classes included still causes this error to occur. I can't find anything in the documentation indicating socket communications or what might be causing this problem. HELP!

Properties: OpenJDK Runtime Environment
sun.boot.library.path: /usr/lib/jvm/java-1.7.0-openjdk-
java.vm.version: 23.7-b01
java.vm.vendor: Oracle Corporation
path.separator: : OpenJDK 64-Bit Server VM
file.encoding.pkg: US SUN_STANDARD
sun.os.patch.level: unknown Java Virtual Machine Specification
java.runtime.version: 1.7.0_19-mockbuild_2013_04_17_07_11-b00
java.awt.graphicsenv: sun.awt.X11GraphicsEnvironment
java.endorsed.dirs: /usr/lib/jvm/java-1.7.0-openjdk-
os.arch: amd64
java.vm.specification.vendor: Oracle Corporation Linux
sun.jnu.encoding: UTF-8 Java Platform API Specification
java.class.version: 51.0 HotSpot 64-Bit Tiered Compilers
os.version: 3.8.1-201.fc18.x86_64
java.specification.version: 1.7 64
user.language: en
java.specification.vendor: Oracle Corporation
awt.toolkit: sun.awt.X11.XToolkit mixed mode
java.version: 1.7.0_19
1 person has
this problem
  • bill,
    sorry for the late reply.
    the error is not in fact related to the amount of classes being recorded.

    the chronon eclipse plugin makes a connection with the program being recorded to enable the blue 'stop' button in the console view.

    This error will occur if you try to use a firewall to block communication between eclipse and the application.
    If you want, you can change the port that is used for communication by going to :
    window > preferences>chronon > recorder > advanced settings > 'GUI Listener Port'
  • (some HTML allowed)
    How does this make you feel? Add Image

    e.g. sad, anxious, confused, frustrated indifferent, undecided, unconcerned kidding, amused, unsure, silly happy, confident, thankful, excited