com.sun.jna.platform.win32.Win32Exception: The parame ter is incorrect.

tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    How to read error type event log using JNA?

    Stack Overflow | 7 months ago | Bhuvanesh Waran
    com.sun.jna.platform.win32.Win32Exception: The parame ter is incorrect.

    1 unregistered visitors

    Root Cause Analysis

    1. com.sun.jna.platform.win32.Win32Exception

      The parame ter is incorrect.

      at com.sun.jna.platform.win32.Advapi32Util$EventLogIterator.read()
    2. Java Native Access Platform
      Advapi32Util$EventLogIterator.hasNext
      1. com.sun.jna.platform.win32.Advapi32Util$EventLogIterator.read(Advapi32Util.java:1433)
      2. com.sun.jna.platform.win32.Advapi32Util$EventLogIterator.hasNext(Advapi32Util.java:1465)
      2 frames
    3. com.sample.eventlog
      EvernLogReader.main
      1. com.sample.eventlog.reader.EvernLogReader.readLogs(EvernLogReader.java:55)
      2. com.sample.eventlog.reader.EvernLogReader.main(EvernLogReader.java:47)
      2 frames