Results 1 to 7 of 7

Thread: Encountered an Improper Argument CRASH

  1. #1
    I could stop if I wanted to
    Join Date
    2004-06
    Posts
    335
    Login to Give a bone
    0

    Default Encountered an Improper Argument CRASH

    I'm experiencing crashing of Revit 14 since sometime last week. It happens on both projects that were first started under 2013 and upgraded, and a project started on 2014, the former with my template and the latter with Revit's architecture template. Hardware acceleration has been disabled. Projects on Revit 13 do not experience this same problem.

    Revit will work fine at times, and then if I right-click the mouse or click on any down arrow, the program will immediately close and there will be an Encountered an Improper Argument message. If I restart the program and open the file, this behavior will continue and it will crash immediately upon right clicking anywhere. Then, after 15 or 20 minutes, it will stop crashing. Any ideas would be appreciated.

    I am allowing error reports to be sent to Autodesk for each crash.

  2. #2
    Member
    Join Date
    2006-11
    Posts
    48
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Do you have the latest Update Release 1 installed?

  3. #3
    I could stop if I wanted to
    Join Date
    2004-06
    Posts
    335
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Quote Originally Posted by anna.oscarson View Post
    Do you have the latest Update Release 1 installed?
    Yes. Thanks.

  4. #4
    Member
    Join Date
    2006-11
    Posts
    48
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Can you try to restore UIstate.dat on your machine? To do that Exit Revit, open Windows Explorer and browse to C:\Users\<your username>\AppData\Roaming\Autodesk\Revit\Autodesk Revit 2014\, rename the file UiState.dat to UiState.bak. Start Revit and try the same thing again. Does it still crash when you right-click?

  5. #5
    I could stop if I wanted to
    Join Date
    2004-06
    Posts
    335
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Quote Originally Posted by anna.oscarson View Post
    Can you try to restore UIstate.dat on your machine? To do that Exit Revit, open Windows Explorer and browse to C:\Users\<your username>\AppData\Roaming\Autodesk\Revit\Autodesk Revit 2014\, rename the file UiState.dat to UiState.bak. Start Revit and try the same thing again. Does it still crash when you right-click?
    It worked for a few hours, and then it began to crash again. I just renamed the file again, but this time it is crashing immediately.

  6. #6
    Member
    Join Date
    2006-11
    Posts
    48
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Can you please send me a journal file from a session that crashed? (These can be found in C:\Users\<username>\AppData\Local\Autodesk\Revit\Autodesk Revit 2014\Journals)
    Please send it to anna.oscarson@autodesk.com and I will take a look at it.

  7. #7
    Member
    Join Date
    2012-03
    Posts
    2
    Login to Give a bone
    0

    Default Re: Encountered an Improper Argument CRASH

    Revit 2014 and possibly earlier versions will generate the "Encountered an Improper Argument" crash when it cannot properly parse the REVIT.ini text file at the moment it wants to write to the [Recent File List] the entry for the current file. So for example it tries to make sense out of the [Recent File List] just about when it is about to display a newly opened Revit file or when it is starting to save a new unnamed Revit file to some name. This last example results in a "Bad Schema" Revit file, so I guess the error must happen before the file is properly saved. You can reproduce the condition by renumbering the File1, File2 etc. entries in the .ini [Recent File List] section. The code in charge of the REVIT.INI file should be fixed to ride over a poorly formed [Recent File List] section. Knowing that such a problem can occur makes one wonder what other aspects of the Revit.ini file can result in the "Encountered an Improper Argument" crash for whatever reason in format or content.

    Incidentally I do not think the journal file hints to the reason for this type of error.

    So how can the REVIT.ini [Recent File List] section get out of whack? Easy, Revit does not seem to provide a way to edit the recent files list, which for many different reasons happens to be something one needs to do, and so something as removing FileN entries without renaming what remains results in the malformed [Recent File List] section.

Similar Threads

  1. Replies: 1
    Last Post: 2013-12-14, 07:15 PM
  2. File opening error - Improper argument
    By ch0mpion in forum Revit MEP - General
    Replies: 1
    Last Post: 2012-03-08, 02:45 PM
  3. Improper use of boolean expressions
    By sifuentes in forum Revit Architecture - General
    Replies: 4
    Last Post: 2010-08-15, 06:38 PM
  4. Replies: 1
    Last Post: 2010-06-08, 04:12 AM
  5. AN INVALID ARGUMENT WAS ENCOUNTERED
    By khanson-3b in forum Revit Structure - General
    Replies: 5
    Last Post: 2007-08-23, 06:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •