[ https://issues.apache.org/jira/browse/DAEMON-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mark Thomas resolved DAEMON-448. -------------------------------- Fix Version/s: 1.3.2 Resolution: Fixed Fixed. It was a NULL pointer de-reference when no JVM was configured. > Service start fails with default Eclipse Temurin install > -------------------------------------------------------- > > Key: DAEMON-448 > URL: https://issues.apache.org/jira/browse/DAEMON-448 > Project: Commons Daemon > Issue Type: Bug > Components: prunsrv > Affects Versions: 1.3.1 > Environment: * Windows 10 Pro 21H2 (OS Build 19044.1889) 64 bit > * Eclipse Temurin Windows x64 JRE 11 (jdk-11.0.16.1+1) x64 > ** Screenshot from website, no direct link possible: > ** !image-2022-09-16-14-53-28-807.png! > Reporter: Glenn Matthys > Priority: Major > Fix For: 1.3.2 > > Attachments: image-2022-09-16-14-49-32-981.png, > image-2022-09-16-14-53-28-807.png, image-2022-09-16-15-02-53-131.png > > > When installing Eclipse Temurin JRE version 11, notice _Set JAVA_HOME > variable_ and _JavaSoft (Oracle) registry keys_ options are disabled in the > default setup: > !image-2022-09-16-14-49-32-981.png! > prunsrv.exe successfully installs the service, but when trying to start it > prunsrv.exe crashes: > {{Faulting application name: xxx.exe, version: 1.3.1.0, time stamp: > 0x6271349d}} > {{Faulting module name: xxx.exe, version: 1.3.1.0, time stamp: 0x6271349d}} > {{Exception code: 0xc0000005}} > {{Fault offset: 0x0000000000007130}} > {{Faulting process id: 0x1ddc}} > {{Faulting application start time: 0x01d8c9ca012bfb46}} > {{Faulting application path: C:\Program Files\xxx\xxx.exe}} > {{Faulting module path: C:\Program Files\xxx\xxx.exe}} > {{Report Id: a35b4a6a-63a3-4426-8061-495550439a97}} > {{Faulting package full name: }} > {{Faulting package-relative application ID: }} > However when the default options are overridden and _Set JAVA_HOME variable_ > and _JavaSoft (Oracle) registry keys_ options are enabled: > !image-2022-09-16-15-02-53-131.png! > prunsrv.exe works correctly. > Having prunsrv.exe work correctly or at least not die with an 0xc0000005 > (Access Denied) exception would improve user experience. -- This message was sent by Atlassian Jira (v8.20.10#820010)