Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You cannot call a method on a null-valued expression #364

Open
gabrc52 opened this issue Feb 22, 2024 · 0 comments
Open

You cannot call a method on a null-valued expression #364

gabrc52 opened this issue Feb 22, 2024 · 0 comments

Comments

@gabrc52
Copy link
Contributor

gabrc52 commented Feb 22, 2024

~/.local/share/winapps/detected shows some PowerShell errors which trips up the shell script:

EXES+=("C:\Program Files (x86)\SAP\FrontEnd\sapgui\gnbax.exe")
ICONS+=("AAABAAEAICAQ2wAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB3MwAAAAAAAAAAAAAAAAAAd4MzMWYAAAAAAAAARGAAAHeLszN4h3YAAAAAAGZmAAB3i7uTeIiHeDERAABmZkAAd4u7k3iIh3g5mTAAZmZgBHeLu5N/iId4OZkwAGZmZkd3i7uTf4iHeDmZMABmZmZnd4u7k3+Ih3g5mXAAZmZmZ3eLu5N/iIh4OZlwAGZ2Zmd3i7uTf4iIeDmZcABmdmZneIdzM3+IiHg5mXAAZnZmZ3iIiIiPiIh4mZlwAGZ2Zmd4////j4iIeJmZcABmdmZneP///4+IiHiZmXAAZoZmZ3j///+PiIh4mZlwAGaGZmd4////iIiIeJmZcABmhmZneP//////j4iZmXAAZodmZ3j///////+ImZlwAGaHZnd4////////iJmZcABmh3Z3eP///////4iZmXAAZod2d3j///////+Hd5lwAGb4dnd3iIiIiIiIiIiIcABm+HdmZmZnd3d3d3d3d3AAZviHdmZmZmZmRAAHd3dwAGb4iHd3dmZmZmZAAAAAAABm+IiId3d2ZmZmYAAAAAAAZv////iIiHd3ZmYAAAAAAGZmZmZmZmZmZmZmYAAAAAD//////wf///wAP/+MAAD/AAAABwAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAfwAAAH8AAAA/AAAAfw==")
You cannot call a method on a null-valued expression.
At \\tsclient\home\.local\share\winapps\ExtractPrograms.ps1:215 char:9
+         $Name = (Get-Item $Exe).VersionInfo.FileDescription.Trim() -r ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : InvokeMethodOnNull
 
NAMES+=("SAP BarChart Graphics, displays date based objects within a bar chart")
EXES+=("C:\Program Files (x86)\SAP\FrontEnd\sapgui\gnbmx.exe")
ICONS+=("AAABAAEAICAQ2wAAAADoAgAAFgAAACgAAAAgAAAAQAAAAAEABAAAAAAAgAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAACAAAAAgIAAgAAAAIAAgACAgAAAgICAAMDAwAAAAP8AAP8AAAD//wD/AAAA/wD/AP//AAD///8AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB3MwAAAAAAAAAAAAAAAAAAd4MzMWYAAAAAAAAARGAAAHeLszN4h3YAAAAAAGZmAAB3i7uTeIiHeDERAABmZkAAd4u7k3iIh3g5mTAAZmZgBHeLu5N/iId4OZkwAGZmZkd3i7uTf4iHeDmZMABmZmZnd4u7k3+Ih3g5mXAAZmZmZ3eLu5N/iIh4OZlwAGZ2Zmd3i7uTf4iIeDmZcABmdmZneIdzM3+IiHg5mXAAZnZmZ3iIiIiPiIh4mZlwAGZ2Zmd4////j4iIeJmZcABmdmZneP///4+IiHiZmXAAZoZmZ3j///+PiIh4mZlwAGaGZmd4////iIiIeJmZcABmhmZneP//////j4iZmXAAZodmZ3j///////+ImZlwAGaHZnd4////////iJmZcABmh3Z3eP///////4iZmXAAZod2d3j///////+Hd5lwAGb4dnd3iIiIiIiIiIiIcABm+HdmZmZnd3d3d3d3d3AAZviHdmZmZmZmRAAHd3dwAGb4iHd3dmZmZmZAAAAAAABm+IiId3d2ZmZmYAAAAAAAZv////iIiHd3ZmYAAAAAAGZmZmZmZmZmZmZmYAAAAAD//////wf///wAP/+MAAD/AAAABwAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAfwAAAH8AAAA/AAAAfw==")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant