OS: Windows 11 23H2
H/W: 5800X3D w 32G RAM
Browser: Google Chrome 127.0.6533.100
Installed Version: ArduinoCloudAgent-1.6.1-windows-amd64-installer (ArduinoCloudAgent-1.6.1-windows-386-installer also does not work)
After installing and running Cloud Agent, nothing happens, and the icon does not appear in the system tray. I have tested various versions from 1.6.1 to 1.3.9 and also tried rebooting, but it still does not work. The following error occurs with all versions
What can I do to resolve this issue?
can u try a clean stripped install? version interference?
For every installation, I run uninstall.exe and deleted the ArduinoCloudAgent, ArduinoCreateAgent folder in \AppData\Roaming\ but it did not work.
do you download it directly from the official link?
i tried official link
https://cloud.arduino.cc/download-agent
and also github
Arduino Cloud Agent
both didn't work
if there is any crash reports or data can share, pls share. send it in another post. also add the text directly, preferably in code tags
1 Like
PS C:\Users\KJH> & "$Env:APPDATA\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out-String -Stream
Arduino_Cloud_Agent.exe : panic: runtime error: invalid memory address or nil pointer dereference
위치 줄:1 문자:1
+ & "$Env:APPDATA\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (panic: runtime ...ter dereference:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[signal 0xc0000005 code=0x1 addr=0x20 pc=0xea5918]
goroutine 14 [running]:
fyne.io/systray.(*winTray).setIcon(0x16938e0, {0xc00007aae0?, 0x1aa93?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:238 +0xb8
fyne.io/systray.SetIcon({0x1635d80?, 0x0?, 0x0?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:901 +0xbe
fyne.io/systray.SetTemplateIcon(...)
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:912
github.com/arduino/arduino-create-agent/systray.(*Systray).start(0x1693380)
D:/a/arduino-create-agent/arduino-create-agent/systray/systray_real.go:53 +0x34
fyne.io/systray.Register.func2()
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:98 +0x2f
created by fyne.io/systray.Register in goroutine 1
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:96 +0xb1
I changed "crashreport = true" in config.ini
but no crashreport generated in .arduino-create folder
magp720:
PS C:\Users\KJH> & "$Env:APPDATA\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out-String -Stream
Arduino_Cloud_Agent.exe : panic: runtime error: invalid memory address or nil pointer dereference
위치 줄:1 문자:1
+ & "$Env:APPDATA\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (panic: runtime ...ter dereference:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[signal 0xc0000005 code=0x1 addr=0x20 pc=0xea5918]
goroutine 14 [running]:
fyne.io/systray.(*winTray).setIcon(0x16938e0, {0xc00007aae0?, 0x1aa93?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:238 +0xb8
fyne.io/systray.SetIcon({0x1635d80?, 0x0?, 0x0?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:901 +0xbe
fyne.io/systray.SetTemplateIcon(...)
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:912
github.com/arduino/arduino-create-agent/systray.(*Systray).start(0x1693380)
D:/a/arduino-create-agent/arduino-create-agent/systray/systray_real.go:53 +0x34
fyne.io/systray.Register.func2()
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:98 +0x2f
created by fyne.io/systray.Register in goroutine 1
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:96 +0xb1
Hi
can u try disabling the firewall, and giving admin permissions?
I disabled firewall and anti-virus and ran it with administrator privileges, but it didn't work
In order to make all relevant information available to any who are interested in this subject, I'll share a link to the formal bug report @magp720 submitted to the Arduino Cloud Agent developers:
opened 07:31AM - 14 Aug 24 UTC
type: imperfection
### Describe the problem
I encountered a runtime error when trying to install a… nd run the Arduino Cloud Agent. after running Arduino_Cloud_Agent.exe, icon does not appear in the system tray, no error window, just nothing happens. need to enter command in the PowerShell to check for the error.
Below is error output:
```
Arduino_Cloud_Agent.exe : panic: runtime error: invalid memory address or nil pointer dereference
위치 줄:1 문자:1
+ & "C:\Users\KJH\AppData\Roaming\ArduinoCloudAgent\Arduino_Cloud_Agent ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (panic: runtime ...ter dereference:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
[signal 0xc0000005 code=0x1 addr=0x20 pc=0x1505918]
goroutine 7 [running]:
fyne.io/systray.(*winTray).setIcon(0x1cf38e0, {0xc0006a0060?, 0x1aa93?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:238 +0xb8
fyne.io/systray.SetIcon({0x1c95d80?, 0x0?, 0x0?})
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:901 +0xbe
fyne.io/systray.SetTemplateIcon(...)
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray_windows.go:912
github.com/arduino/arduino-create-agent/systray.(*Systray).start(0x1cf3380)
D:/a/arduino-create-agent/arduino-create-agent/systray/systray_real.go:53 +0x34
fyne.io/systray.Register.func2()
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:98 +0x2f
created by fyne.io/systray.Register in goroutine 1
C:/Users/runneradmin/go/pkg/mod/fyne.io/systray@v1.10.0/systray.go:96 +0xb1
```
### To reproduce
Attempt to run the Arduino Cloud Agent using the following command on PowerShell
`& "C:\Users\KJH\AppData\Roaming\ArduinoCloudAgent\Arduino_Cloud_Agent.exe" 2>&1 | Out-String -Stream`
The error appears immediately upon execution.
### Expected behavior
Agent should run
### Arduino Create Agent version
ArduinoCloudAgent-1.6.1-windows-amd64
### Operating system
Windows
### Operating system version
Win11
### Browser
Chrome
### Browser version
127.0.6533.100
### Additional context
I have tried various versions of the Arduino Cloud Agent, from 1.6.1 to 1.3.9. Before each reinstallation, I deleted the ArduinoCloudAgent and ArduinoCreateAgent folders. The same error occurs across all versions.
The issue occurs with both the amd64 and i386 versions.
I modified the config.ini file setting crashreport = true, but no crash report was generated.
I disabled both the firewall and antivirus software, and I ran the agent with administrator privileges, but same problem happens.
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-create-agent/issues?q=)
- [X] I verified the problem still occurs when using the latest version
- [X] My report contains all necessary details
Thanks for your report @magp720 !
1 Like