Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. So I just found a Google "easter egg" you REALLY don't want to find...

So I just found a Google "easter egg" you REALLY don't want to find...

Scheduled Pinned Locked Moved The Lounge
javascriptcloudcsharplinqcom
23 Posts 12 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 0 0x01AA

    Maybe an async thing?

    Sander RosselS Offline
    Sander RosselS Offline
    Sander Rossel
    wrote on last edited by
    #9

    Nope. Apparently I was using a single property for two separate navigation properties, which "sort of" works :~ Weird behavior and weird error though X|

    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

    1 Reply Last reply
    0
    • Sander RosselS Sander Rossel

      My someone else's code that I'm currenctly working on breaks with a NullReferenceException, except... The exception seems to have to do with lazy loading in entity framework. When I set a breakpoint and inspect some variables quickly enough they're null. After that the code stopped executing a few seconds and everything runs fine. When I don't set a breakpoint it breaks because some variable is null. When the code breaks and I inspect every variable in the block, nothing is null. Weird issue, I've never seen it before. So naturally, I google for "nullreferenceexception "FixupSkipNavigations"" (FixupSkipNavigations is where the exception occurs and I have little else to go by). Well, Google it for yourself... No results :(( I get a yeti who's ice fishing and catches a boot, an empty can, a can of sardines or a fish when you click it. THIS IS NOT HELPING X|

      Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

      H Offline
      H Offline
      honey the codewitch
      wrote on last edited by
      #10

      Look for WeakReference in the code. There's also Lazy but I doubt that's causing it because it's thread safe, at least if you set it up to be - it's worth looking for those too. though. Another thing to look for is harder to search for, but the lazy init pattern used in older code. You'll find it hidden behind property accessors usually. Replace it.

      To err is human. Fortune favors the monsters.

      Sander RosselS 1 Reply Last reply
      0
      • Sander RosselS Sander Rossel

        My someone else's code that I'm currenctly working on breaks with a NullReferenceException, except... The exception seems to have to do with lazy loading in entity framework. When I set a breakpoint and inspect some variables quickly enough they're null. After that the code stopped executing a few seconds and everything runs fine. When I don't set a breakpoint it breaks because some variable is null. When the code breaks and I inspect every variable in the block, nothing is null. Weird issue, I've never seen it before. So naturally, I google for "nullreferenceexception "FixupSkipNavigations"" (FixupSkipNavigations is where the exception occurs and I have little else to go by). Well, Google it for yourself... No results :(( I get a yeti who's ice fishing and catches a boot, an empty can, a can of sardines or a fish when you click it. THIS IS NOT HELPING X|

        Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

        V Offline
        V Offline
        V 0
        wrote on last edited by
        #11

        I did see this before. I even had the case where the debug build would work and the release build did not, for what I can only guess would be a similar reason. Don't remember how I solved it though.

        V.

        Sander RosselS 1 Reply Last reply
        0
        • H honey the codewitch

          Look for WeakReference in the code. There's also Lazy but I doubt that's causing it because it's thread safe, at least if you set it up to be - it's worth looking for those too. though. Another thing to look for is harder to search for, but the lazy init pattern used in older code. You'll find it hidden behind property accessors usually. Replace it.

          To err is human. Fortune favors the monsters.

          Sander RosselS Offline
          Sander RosselS Offline
          Sander Rossel
          wrote on last edited by
          #12

          It was none of that. The code doesn't use WeakReference (nor does any code I've ever seen). I used the same C# property for two separate navigational properties in EF. Which "sort of" works, apparently. The exception really doesn't make sense though, as do the symptoms X|

          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

          G 1 Reply Last reply
          0
          • V V 0

            I did see this before. I even had the case where the debug build would work and the release build did not, for what I can only guess would be a similar reason. Don't remember how I solved it though.

            V.

            Sander RosselS Offline
            Sander RosselS Offline
            Sander Rossel
            wrote on last edited by
            #13

            I used the same C# property for two separate navigational properties, which "sort of" works, apparently. The exception doesn't make sense though, so it seems to be quite a specific error.

            Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

            pkfoxP 1 Reply Last reply
            0
            • Sander RosselS Sander Rossel

              I used the same C# property for two separate navigational properties, which "sort of" works, apparently. The exception doesn't make sense though, so it seems to be quite a specific error.

              Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

              pkfoxP Offline
              pkfoxP Offline
              pkfox
              wrote on last edited by
              #14

              What do you mean "sort of works" ?

              Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP

              Sander RosselS 1 Reply Last reply
              0
              • Sander RosselS Sander Rossel

                My someone else's code that I'm currenctly working on breaks with a NullReferenceException, except... The exception seems to have to do with lazy loading in entity framework. When I set a breakpoint and inspect some variables quickly enough they're null. After that the code stopped executing a few seconds and everything runs fine. When I don't set a breakpoint it breaks because some variable is null. When the code breaks and I inspect every variable in the block, nothing is null. Weird issue, I've never seen it before. So naturally, I google for "nullreferenceexception "FixupSkipNavigations"" (FixupSkipNavigations is where the exception occurs and I have little else to go by). Well, Google it for yourself... No results :(( I get a yeti who's ice fishing and catches a boot, an empty can, a can of sardines or a fish when you click it. THIS IS NOT HELPING X|

                Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                R Offline
                R Offline
                Richard Deeming
                wrote on last edited by
                #15

                Sander Rossel wrote:

                Well, Google it for yourself... No results :((

                Not true. With "verbatim" search on, there is one result... ... this thread! :laugh:


                "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                Sander RosselS M J 3 Replies Last reply
                0
                • R Richard Deeming

                  Sander Rossel wrote:

                  Well, Google it for yourself... No results :((

                  Not true. With "verbatim" search on, there is one result... ... this thread! :laugh:


                  "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                  Sander RosselS Offline
                  Sander RosselS Offline
                  Sander Rossel
                  wrote on last edited by
                  #16

                  Wow, that's indexed rather quickly :omg: :laugh:

                  Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                  1 Reply Last reply
                  0
                  • pkfoxP pkfox

                    What do you mean "sort of works" ?

                    Life should not be a journey to the grave with the intention of arriving safely in a pretty and well-preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming “Wow! What a Ride!" - Hunter S Thompson - RIP

                    Sander RosselS Offline
                    Sander RosselS Offline
                    Sander Rossel
                    wrote on last edited by
                    #17

                    It works when I first look at it using the debugger. It sometimes works for the first one or two results, but eventually breaks on the third or fourth. So it sort of works, sometimes. The error isn't consistent.

                    Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                    1 Reply Last reply
                    0
                    • R Richard Deeming

                      Sander Rossel wrote:

                      Well, Google it for yourself... No results :((

                      Not true. With "verbatim" search on, there is one result... ... this thread! :laugh:


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      M Offline
                      M Offline
                      maze3
                      wrote on last edited by
                      #18

                      odd, there an article from 2 Jul 2011 on code project asking about nullreferenceexception "FixupSkipNavigations" ;P :^)

                      1 Reply Last reply
                      0
                      • R Richard Deeming

                        Sander Rossel wrote:

                        Well, Google it for yourself... No results :((

                        Not true. With "verbatim" search on, there is one result... ... this thread! :laugh:


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                        J Offline
                        J Offline
                        jsc42
                        wrote on last edited by
                        #19

                        Richard Deeming wrote:

                        Sander Rossel wrote:Well, Google it for yourself... No results :(( Not true. With "verbatim" search on, there is one result... ... this thread! :laugh:

                        but that has a date of 2 JuneJuly 2011 Other search engines are available: Bing has four matches Editted: Fixed date

                        1 Reply Last reply
                        0
                        • Sander RosselS Sander Rossel

                          It was none of that. The code doesn't use WeakReference (nor does any code I've ever seen). I used the same C# property for two separate navigational properties in EF. Which "sort of" works, apparently. The exception really doesn't make sense though, as do the symptoms X|

                          Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                          G Offline
                          G Offline
                          Gary Wheeler
                          wrote on last edited by
                          #20

                          Sander Rossel wrote:

                          I used the same C# property for two separate navigational properties in EF. Which "sort of" works, apparently. The exception really doesn't make sense though, as do the symptoms X|

                          Sounds like someone is using ReferenceEquals instead of an actual value comparison.

                          Software Zen: delete this;

                          Sander RosselS 1 Reply Last reply
                          0
                          • G Gary Wheeler

                            Sander Rossel wrote:

                            I used the same C# property for two separate navigational properties in EF. Which "sort of" works, apparently. The exception really doesn't make sense though, as do the symptoms X|

                            Sounds like someone is using ReferenceEquals instead of an actual value comparison.

                            Software Zen: delete this;

                            Sander RosselS Offline
                            Sander RosselS Offline
                            Sander Rossel
                            wrote on last edited by
                            #21

                            Nah, I don't think I've ever seen ReferenceEquals in C# code, because why would you ever want to know that? The problem was more like:

                            someEntity.HasMany(x => x.FirstList).WithMany(x => x.OtherList).UsingEntity<...>(...)
                            someEntity.HasMany(x => x.SecondList).WithMany(x => x.OtherList).UsingEntity<...>(...)

                            Changing that second line fixed the issue.

                            someEntity.HasMany(x => x.SecondList).WithMany(x => x.SecondOtherList).UsingEntity<...>(...)

                            Not an obvious error, compiles fine and everything.

                            Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                            G 1 Reply Last reply
                            0
                            • Sander RosselS Sander Rossel

                              Nah, I don't think I've ever seen ReferenceEquals in C# code, because why would you ever want to know that? The problem was more like:

                              someEntity.HasMany(x => x.FirstList).WithMany(x => x.OtherList).UsingEntity<...>(...)
                              someEntity.HasMany(x => x.SecondList).WithMany(x => x.OtherList).UsingEntity<...>(...)

                              Changing that second line fixed the issue.

                              someEntity.HasMany(x => x.SecondList).WithMany(x => x.SecondOtherList).UsingEntity<...>(...)

                              Not an obvious error, compiles fine and everything.

                              Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                              G Offline
                              G Offline
                              Gary Wheeler
                              wrote on last edited by
                              #22

                              Sander Rossel wrote:

                              I don't think I've ever seen ReferenceEquals in C# code, because why would you ever want to know that?

                              I've used it a few times, mostly in collections and n-way tree structures to identify specific instances.

                              Software Zen: delete this;

                              1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                My someone else's code that I'm currenctly working on breaks with a NullReferenceException, except... The exception seems to have to do with lazy loading in entity framework. When I set a breakpoint and inspect some variables quickly enough they're null. After that the code stopped executing a few seconds and everything runs fine. When I don't set a breakpoint it breaks because some variable is null. When the code breaks and I inspect every variable in the block, nothing is null. Weird issue, I've never seen it before. So naturally, I google for "nullreferenceexception "FixupSkipNavigations"" (FixupSkipNavigations is where the exception occurs and I have little else to go by). Well, Google it for yourself... No results :(( I get a yeti who's ice fishing and catches a boot, an empty can, a can of sardines or a fish when you click it. THIS IS NOT HELPING X|

                                Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript

                                M Offline
                                M Offline
                                MarkTJohnson
                                wrote on last edited by
                                #23

                                My granddaughter (1 year old) got a hold of my laptop and "typed" some gibberish which happened to be on a new Chrome tab and she got the Yeti. Cute when you aren't trying to find something for work.

                                I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups