Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Compile Error and Serialization Error

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Compile Error and Serialization Error

    Hello,

    I've got one of those nightmare problems....

    Here's what happened: I have a number of custom scripts, including the gomi stuff. I do not and have not modified the code in any way. I have not touched, added or deleted any ninja script in several weeks. Everything was working perfectly fine in every way.

    Then, I went to save a work space yesterday. When I did that, I got an error message that flashed up that mentioned a "serialization error".

    Upon further inspection, I found two more issues-

    1) if I try to compile, I get a slew of messages like "Type NinjaTrader.Indicator.Indicator already defines"... and then either member or definition. These all relate to same file: GomDeltaIndicator

    2) the functionality of the GomDeltaIndicator is not working. For those that understand it's use, the data recording functionality seems to have failed since trying to save the workspace previously mentioned

    Again, I stress, I've done nothing at all with any script, moved any file, nada, just saving the workspace.

    Please help
    Last edited by coolmoss; 10-27-2012, 12:10 PM.

    #2
    coolmoss,

    Could you show me a screenshot of the compiling error you are having?

    Have you tried to go to Tools > Options :> Data > Repair DB?
    Adam P.NinjaTrader Customer Service

    Comment


      #3
      This is what I get. Again, just to reiterate, no editing of this or any other ninjascript on this computer in about 2 weeks and everything running okay up until saving of the Workspace.

      I did find another thread which mentioned the serialization error I got related to saving a workspace and it sounded like some sort of NT bug, but thread didn't really have any resolution.

      Click image for larger version

Name:	compile_error.png
Views:	1
Size:	71.5 KB
ID:	866274

      Comment


        #4
        coolmoss,

        A serialization error is a bit different here. It doesn't mean any code necessarily changed.

        This can occur for example with an unsupported data type being used as input for something. Serialization is a process by which something is converted to a data type that can be stored more permanently than in memory. This happens for example when a indicator's settings are stored, things like that.

        You could try using a fresh workspace here. You could also try going to Tools > Options > Repair DB. Unfortunately I'd need more information here likely we would need to also take a peek at your log.
        Adam P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        132 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        74 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        117 views
        2 likes
        Last Post CaptainJack  
        Started by CarlTrading, 03-30-2026, 11:51 AM
        0 responses
        112 views
        1 like
        Last Post CarlTrading  
        Started by CarlTrading, 03-30-2026, 11:48 AM
        0 responses
        89 views
        0 likes
        Last Post CarlTrading  
        Working...
        X