Skip to content

Using the murach's Java programming 6th edition assignment 19-1 #5035

@RaymondR31

Description

@RaymondR31

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

Oops, something went wrong.  Please report this bug with the details below.
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new
-----------------------------------------------------------------------
Last 50 Keys:
 Space & Space ' C : \ U s e r s \ R a y m o n d \ A p p D a t a \ L o c a l \ P r o g r a m s \ E c l i p s

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: left
Actual value was -2.
   at System.Console.SetCursorPosition(Int32 left, Int32 top)
   at Microsoft.PowerShell.Internal.VirtualTerminal.set_CursorLeft(Int32 value)
   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)
-----------------------------------------------------------------------
PS C:\Users\Raymond\Favorites\COSC-2336-002\Chapter 19>  & 'C:\Users\Raymond\AppData\Local\Programs\Eclipse Adoptium\jdk-21.0.5.11-hotspot\bin\java.exe' '-XX:+ShowCodeDetailsInExceptionMessages' '-cp' 'C:\Users\Raymond\AppData\Roaming\Code\User\workspaceStorage\0e4f60624593b8acb112bbb8df572252\redhat.java\jdt_ws\Chapter 19_48766d54\bin' 'DBTesterApp' 
java.sql.SQLException: No suitable driver found for jdbc:sqlite:products.sqlite

Screenshot

N/A

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: 176
BufferHeight: 24

Steps to reproduce

I am using VS Code and I download the assignment for the book and just hit ran on the java code.

Expected behavior

allow me to interact with a data base

Actual behavior

It does not run at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions