Quantcast
Channel: All Revit API Forum posts
Viewing all articles
Browse latest Browse all 66852

External Command Causing revit to crash

$
0
0

Hello

Working on my first app that can really do something, when I was trying to activate the command in revit it gave me a massive exception and the whole of revit terminated. I grapped part of the Jrn file where I executed the command. Can anyone translate what went wrong, or at least most likely scenario?

 

 Jrn.RibbonEvent "Execute external command:9b849945-ca24-425d-a266-643c74e5c19d:SheetCreatorApp.SheetCreatorApp"
' 1:< TaskDialog "Please select the Excel sheet: "
'CommonButtons : Cancel
'Command Links:
'1001 : Browse
'DefaultButton : 1001 
'  1.314886!!! 2:!!!BIG_GAP API External Command Time 
' 1:< ::33:: Delta VM: Avail -6 -> 134182610 MB, Used +1 -> 726 MB, Peak +54 -> 786 MB; RAM: Avail +6 -> 9320 MB, Used +3 -> 823 MB, Peak +48 -> 871 MB 
' 1:< Exception occurred 
'C 20-Jan-2017 14:51:18.451;   1:< ExceptionCode=0xc0000005 ExceptionFlags=0x00000000 ExceptionAddress=0000000066E56A20 
' 1:<   System (MB) [Available /  Total ]  [Revit Memory Usage (MB)   ] 
' 1:< RAM Statistics:     9320 /    16325       823=InUse      871=Peak  
' 1:< VM  Statistics: 134182611 / 134217727       726=InUse      786=Peak  
'  5.553091!!! 2:!!!BIG_GAP API External Command Time 
' 0:< [00002514]QueueMinder stopped 
' 2:< ::33:: Delta VM: Avail +1 -> 134182611 MB, Used 726 MB; RAM: Avail +126 -> 9447 MB, Used 823 MB 
'C 20-Jan-2017 14:51:19.259;   2:< OMICRON finished virtualization services  
'C 20-Jan-2017 14:51:19.259;   2:< OMICRON finished worker services  
'C 20-Jan-2017 14:51:19.260;   2:< OMICRON erased queues  
'  0.804686    2:<<<Terminating Slave Processes 
' 1:< Unconverted MessageBox "An unrecoverable error has occurred.  The program will now be terminated.  All of your data has been recently saved, so there is no need to create recovery files." 
' 1:< ::33:: Delta VM: Avail -21 -> 134182591 MB, Used 726 MB; RAM: Avail -10 -> 9437 MB, Used 823 MB 
'C 20-Jan-2017 14:51:26.672;   1:< program terminated 

 

 

 

Anything is appreciated, thanks.


Viewing all articles
Browse latest Browse all 66852

Trending Articles