Incomplete transmission of response #28

Closed
opened 2026-03-30 23:34:54 +02:00 by lars.winzer · 5 comments
lars.winzer commented 2026-03-30 23:34:54 +02:00 (Migrated from git.scicore.unibas.ch)

Bug Report

Environment

  • Branch & Commit: feat/27-finalize-serverside-exception-handling (c6ac3d4aff)
  • Operating system: macOS
  • How was execution started (Gradle task / IDE debug / IDE run): IDE debug
  • Java version: 25
  • Gradle version: 9.3.1

Summary

The transmission of the server is incomplete.

Expected Behavior

The data of what should and what is send, should match.

It should be send

RawPacket[requestId=1, payload=-ERR
        CODE=UNKNOWN_COMMAND
        MSG='This command is unknown to the server.'
END]

Actual Behavior

Instead only a part is send

RawPacket[requestId=76, payload=-ERR]

Steps to Reproduce

  1. Create simple client
  2. Send request to server
  3. Recieve incomplete data

Stack Trace / Error Message

Nothing.

Possible Cause / Notes

None.

Checklist

  • I reproduced the problem using the steps above
  • I searched documentation docs for relevant information
  • I added relevant labels
## Bug Report <!--The reccommended type is: Issue--> ### Environment - **Branch & Commit:** `feat/27-finalize-serverside-exception-handling` (c6ac3d4affaf758cdf7cbd1057d6fc28625cc160) - **Operating system:** macOS - **How was execution started (Gradle task / IDE debug / IDE run):** IDE debug - **Java version:** `25` - **Gradle version**: `9.3.1` ### Summary The transmission of the server is incomplete. ### Expected Behavior The data of what should and what is send, should match. It should be send ``` RawPacket[requestId=1, payload=-ERR CODE=UNKNOWN_COMMAND MSG='This command is unknown to the server.' END] ``` ### Actual Behavior Instead only a part is send ``` RawPacket[requestId=76, payload=-ERR] ``` ### Steps to Reproduce 1. Create simple client 2. Send request to server 3. Recieve incomplete data ### Stack Trace / Error Message ``` Nothing. ``` ### Possible Cause / Notes None. ### Checklist - [x] I reproduced the problem using the steps above - [x] I searched documentation docs for relevant information - [x] I added relevant labels
lars.winzer commented 2026-03-31 12:00:18 +02:00 (Migrated from git.scicore.unibas.ch)

created branch fix/28-incomplete-transmission-of-response to address this issue

created branch [`fix/28-incomplete-transmission-of-response`](/cs108-fs26/Gruppe-13/-/compare/main...fix%2F28-incomplete-transmission-of-response) to address this issue
lars.winzer commented 2026-03-31 12:00:49 +02:00 (Migrated from git.scicore.unibas.ch)

assigned to @lars.winzer

assigned to @lars.winzer
lars.winzer commented 2026-03-31 12:04:04 +02:00 (Migrated from git.scicore.unibas.ch)

added 20m of time spent at 2026-03-31 12:00:00 +0200

added 20m of time spent at 2026-03-31 12:00:00 +0200
lars.winzer commented 2026-03-31 12:12:05 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in merge request !59

mentioned in merge request !59
lars.winzer commented 2026-03-31 12:12:58 +02:00 (Migrated from git.scicore.unibas.ch)

mentioned in commit 238cf937f4

mentioned in commit 238cf937f4851455ecc4a53f5a9971423de98667
lars.winzer (Migrated from git.scicore.unibas.ch) closed this issue 2026-03-31 12:12:59 +02:00
This repo is archived. You cannot comment on issues.
1 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: University-of-Basel-Studentprojects/Programmierprojekt#28