Skip to content
Discussion options

You must be logged in to vote

Interesting. The state sequence matches a startup with an existing lock (another NetBeans process running). That lock file encodes the TCP port that instance listens on. That matches the last line:

FINEST: state: 28 thread: Thread[#3,main,5,main]

This is the corresponding code following that:

enterState(28, block);
Socket socket = new Socket(localHostAddress (), port);
// wait max of 1s for reply
socket.setSoTimeout(5000);
DataOutputStream os = new DataOutputStream(socket.getOutputStream());
if (version == -1) {
os.write(VERSION);
} else {
os.w…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Yser2025
Comment options

@matthiasblaesing
Comment options

@Yser2025
Comment options

@matthiasblaesing
Comment options

Answer selected by Yser2025
@Yser2025
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants