Error in port.c,378

in stm32 project,
I configure one timer, and in the ISR, ther are some operation in,
when doing the serial print, I got this reply:

Error:..\FreeRTOS\portable\RVDS\ARM_CM3\port.c,378

when I reach to the exact location it is this:

if( uxCriticalNesting == 1 )
{
// here is the line that it locates: line 378
configASSERT((portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK) == 0); 
}

and here is the timer isr:

void TIM1_UP_IRQHandler(void)   //TIM1中断
{
  if (TIM_GetITStatus(TIM1, TIM_IT_Update) != RESET) 
    {
      TIM_ClearITPendingBit(TIM1, TIM_IT_Update); 
      switch(SlaveNode1Flag)
        {
        case 0:
          message1(arb4_ID);
          break;
        case 1:
          message1(arb1_ID);
          break;
        default:
          break;
        }
      TIM_Cmd(TIM1, DISABLE);
    }
}

more details:
freertos V9.00
MCU: stm32f1
TIMER: advanced-timer 1

Here is the entire function, including the comment that explains the issue:

void vPortEnterCritical( void )
{
    portDISABLE_INTERRUPTS();
    uxCriticalNesting++;

    /* This is not the interrupt safe version of the enter critical function so
     * assert() if it is being called from an interrupt context.  Only API
     * functions that end in "FromISR" can be used in an interrupt.  Only assert if
     * the critical nesting count is 1 to protect against recursive calls if the
     * assert function also uses a critical section. */
    if( uxCriticalNesting == 1 )
    {
        configASSERT( ( portNVIC_INT_CTRL_REG & portVECTACTIVE_MASK ) == 0 );
    }
}

So you will need to look at the function call stack at that point to see which interrupt handler is calling that function.