Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
80 views

I am working in Flutter on a web app. I am not a coder and I'm having issues with a very simple app that changes a color based on a boolean stored in Firestore. I'm seeking an understanding of how to ...
Op1's user avatar
  • 21
2 votes
1 answer
143 views

I have a situation where I am getting a NullReferenceException when I am checking a model (not a property) to see if it is null. Follow these steps to re-create the issue yourself. Create a brand new ...
ThePeter's user avatar
  • 958
0 votes
1 answer
83 views

I just added a new control in an existing page aspx file, assuring the validity of the markup and code itself by running it locally in debug shows correctly the new control and behaviors in page. But ...
Pascal Boutin's user avatar
1 vote
0 answers
86 views

There are 2 parts to my question. Please bear with me... just learning this stuff. I have a GridView that allows editing, which will update a database table. Issue #1 is that I cannot seem to get the ...
Amy 's user avatar
  • 29
0 votes
0 answers
16 views

I was running the code for a universal windows app when the debugger raised: System.NullReferenceException: 'Object reference not set to an instance of an object.' modelGen was null. The code is : //...
Vikash Vaibhav's user avatar
1 vote
1 answer
517 views

I am facing an issue with a NullReferenceException in my code. I've created a LevelManager script to manage the different scenes of my game. Inside this file ScoreKeeper object is called. This ...
Maxence Hermand's user avatar
2 votes
1 answer
58 views

I'm trying to create the following query in C# with EntityFrameWork: SELECT * FROM Companies WHERE Name LIKE '%(searchValue)%'; This is the table sample: Company class: public class Company { ...
Jean Tosta's user avatar
1 vote
2 answers
196 views

i have last vs 2022 17.10.5 no updates possible when i do new > asp.net core web api > some location > create and hit debug with no change then it open browser with url https://localhost:...
Dorian's user avatar
  • 1,096
1 vote
2 answers
99 views

I am trying to pass the layout as a cascaded parameter to the page that uses the layout. The issue I am facing is that the layout cascaded parameter in the page is always null. Here is the code I am ...
Ahmed H. Sharafeldin's user avatar
1 vote
0 answers
38 views

I've been on Unity for a very long time, yet I've come across the most common error. I made a script to create a ship components store from a list of ScriptableObjects. Here's the ScriptableObjects: ...
I'm Gogole's user avatar
0 votes
1 answer
63 views

I have written a C# application in Visual Studio (using Avalonia, irrelevant for this question). It runs perfectly in Visual Studio, yet when I try and run the executable, it throws a ...
Lito Bezos's user avatar
1 vote
0 answers
114 views

So currently I’m making inventory functions for my Michael game. I was making a script called RespawnItem. public class RespawnItem : MonoBehaviour { //----PUBLICS----// public PlayerCollectingSystem ...
Teyonna Butler's user avatar
0 votes
1 answer
54 views

I really don't know what to write here. I was just coding and this stuff happened. connection.Open(); SqlCommand cmd = connection.CreateCommand(); cmd.CommandText = "select count(*) from ...
Unseens's user avatar
0 votes
0 answers
84 views

I'm trying to debug a program which uses a ListView to create a list of icons for files stored in a DB. I got the log of an exception stating System.nullreferenceexception: 'object reference not set ...
grimoiredark's user avatar
0 votes
0 answers
35 views

I create the "History" parameter through the project properties and I'm trying to put a value in that parameter and save it: Properties.Settings.Default.History.Add("00:30"); ...
ᴥSaiLyᴥ's user avatar
-2 votes
1 answer
61 views

So this piece of code public boolean getBoolean(Integer Id) { return Optional.of(Store.getMagazin(Id)) .map(MagazinDO::getBoolean) .orElse(Boolean.FALSE);} returns a null while ...
butertoast's user avatar
0 votes
1 answer
76 views

I have the following aspx panel: <asp:Panel ID="EndPanel" runat="server" CssClass="container" Visible="false"> <asp:Image ID="Border" ...
Impossiblegend's user avatar
0 votes
1 answer
206 views

I post part of the stack trace. This exception doesn't happen regularly and is hard to replicate. But it usually occurs after getting back from its IIS process idle.(Run it first, do nothing for a ...
Ryan Xu's user avatar
  • 19
1 vote
0 answers
1k views

My program was developed in .Net 7 (VS 2022) and running on non-English Windows 10 (x64). Most of the time my program works normally. However, the following error (in Event Viewer) was thrown ...
Linus's user avatar
  • 61
0 votes
1 answer
64 views

I have a problem for showing Level and Statues of course in course View enter image description here. Here is my problem and the database does have data, but in add course service, it returns null in ...
milad's user avatar
  • 1
0 votes
1 answer
82 views

I have this div in my markup <form id="form1" runat="server"> <div class="mt-5"> <div id="d" runat="server"></div> ...
Gabriele Cozzolino's user avatar
0 votes
1 answer
29 views

I am receiving this error on a report page on my asp.net app. I have looked at the other answers to questions asked about this error, but am still unable to understand how to resolve it. I am ...
MelB's user avatar
  • 183
-3 votes
1 answer
320 views

can anyone tell why the compiler is throwing the warning even if i checked everthing for null?? // check if non default accent color is selected var accCol = await LocalSorage.GetItemAsync<string&...
Sascha Heimann's user avatar
1 vote
0 answers
79 views

I am new to selenium and I am trying setup a Automation framework, I have two classes one for Webdriver (Base class) initialization and second is to run testScripts I have Marked the Webdriver ...
Reventh Kumar's user avatar
1 vote
0 answers
144 views

UPDATE: To avoid the problem, I tried explicitly checking for null, thinking that surely there's no way it could possible still throw the exception. It does. The following line throws a System....
Sarov's user avatar
  • 665

1
2 3 4 5
56