-
Notifications
You must be signed in to change notification settings - Fork 318
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues, especially the pinned issues.
Exception report
-----------------------------------------------------------------------
Last 200 Keys:
e p o s i t o r y \ c h \ q o s \ l o g b a c k \ l o g b a c k - c l a s s i c \ 1 . 4 . 1 4 \ l o g b a c k - c l
a s s i c - 1 . 4 . 1 4 . j a r ; C : \ U s e r s \ A D M I N \ . m 2 \ r e p o s i t o r y \ c o m m o n s - i o \ c o m m o n s - i o \ 2 . 1 5 . 1 \ c o m m o n s - i o - 2 . 1 5 . 1 . j a r ' Space ' c o m . j p m c . m i d a s c
o r e . M i d a s C o r e A p p l i c a t i o n ' Space Enter
Exception:
System.ArgumentOutOfRangeException: The value must be greater than or equal to zero and less than the console's buffer size in that dimension.
Parameter name: top
Actual value was -60.
at System.Console.SetCursorPosition(Int32 left, Int32 top)
at Microsoft.PowerShell.PSConsoleReadLine.ReallyRender(RenderData renderData, String defaultColor)
at Microsoft.PowerShell.PSConsoleReadLine.ForceRender()
at Microsoft.PowerShell.PSConsoleReadLine.Insert(Char c)
at Microsoft.PowerShell.PSConsoleReadLine.SelfInsert(Nullable`1 key, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.ProcessOneKey(ConsoleKeyInfo key, Dictionary`2 dispatchTable, Boolean ignoreIfNoAction, Object arg)
at Microsoft.PowerShell.PSConsoleReadLine.InputLoop()
at Microsoft.PowerShell.PSConsoleReadLine.ReadLine(Runspace runspace, EngineIntrinsics engineIntrinsics)Screenshot
Environment data
PS Version: 5.1.19041.6575
PS HostName: ConsoleHost
PSReadLine Version: 2.0.0-beta2
PSReadLine EditMode: Windows
OS: 10.0.19041.1 (WinBuild.160101.0800)
BufferWidth: 117
BufferHeight: 12Steps to reproduce
Steps to Reproduce
Environment Setup
Clone the repository:
git clone https://github.com/vagabond-systems/forage-midas.git
cd forage-midas
Verify Java version is set to 21 or later:
On Windows PowerShell:
$env:JAVA_HOME = "C:\Program Files\Java\jdk-25"
On macOS/Linux:
export JAVA_HOME=/path/to/java-21-or-later
Verify Maven is installed:
mvn --version
Steps to Reproduce the Issue
Build the application:
mvn --version
Run the application:
java -jar target/midas-core-1.0.0.jar
Expected Result:
Application starts successfully
Tomcat web server initializes on port 8080
REST API endpoint /api/health responds with HTTP 200 status
Logs show: "Started MidasCoreApplication in XX.XXX seconds"
Test the API endpoint:
Using PowerShell:
Invoke-WebRequest -Uri "http://localhost:8080/api/health"
Or using curl:
curl http://localhost:8080/api/health
Run the test suite:
mvn clean verify
Expected behavior
All tests pass
Application responds to HTTP requests on port 8080
No port binding errors
Actual behavior
[Describe what went wrong, e.g., "Application exits immediately after startup" or "Port 8080 already in use"]
[Include any error messages from the logs]