ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 05-14-2013
Sung Kim Sung Kim is offline
Flexsim User
 
Join Date: Jan 2008
Location: York, PA
Posts: 85
Downloads: 70
Uploads: 0
Thanks: 70
Thanked 9 Times in 6 Posts
Rep Power: 160
Sung Kim is on a distinguished road
Default Exception Caught

What these exception caught messages mean? I think it has something to do with the network navigator, but wondering what it complains about network navigator/networknode? I appreciate if you could tell me what you can see/read the problem or a clue from the message.


time: 38.690105 exception: Exception Caught in NetworkNavigator::querydistanceextended(TaskExecut er* te, FlexsimObject* destobj, NetworkNode* originnetnode, NetworkNode** bestorigin DEFAULTNULL, NetworkNode** bestdestnode DEFAULTNULL, int * bestoriginrow DEFAULTNULL, int * bestdestcol DEFAULTNULL, double* bestdist DEFAULTNULL) object: /DefaultNetworkNavigator
time: 38.690105 exception: Exception Caught in NetworkNavigator::navigateto(fsnode* traveler, fsnode* destination, double endspeed) object: /DefaultNetworkNavigator
time: 38.690105 exception: Exception Caught in TaskExecuter::begintask(fsnode* task) object: /Cab40Empty1
time: 38.690105 exception: Exception Caught in TaskExecuter::finishtask(fsnode* task) object: /Cab40Empty1
time: 38.690105 exception: Exception Caught in TaskExecuter::destinationarrival(double finalspeed) object: /Cab40Empty1
time: 38.690105 exception: Exception Caught in NetworkNavigator::finishtravel(fsnode * reqnode, int blocking DEFAULTZERO) object: /DefaultNetworkNavigator
time: 38.690105 exception: Exception Caught in NetworkNode:ushtraveler(fsnode* reqnode, NetworkNode* tonetnode, int nextport)
time: 38.690105 exception: Exception Caught in NetworkNode::receiveinputrequest(fsnode* reqnode, int port, int lastport) object: /NYDp1
time: 38.690105 exception: Exception Caught in NetworkNode::nnrelease(fsnode* reqnode) object: /NN37
time: 38.690105 exception: Exception Caught in NetworkNode::OnTimerEvent(fsnode *involved, int code, char *datastr) object: /NN37
time: 38.690105 exception: Exception Caught in ObjectFunction214__project_library_FlexsimObject_b ehaviour_eventfunctions_OnTimerEvent object: /NN37 i: /NN37>connections/connectionsout/To NYDp1/active travelers/networkrequest class: /NN37
  #2  
Old 05-14-2013
Phil BoBo's Avatar
Phil BoBo Phil BoBo is offline
Flexsim Development
 
Join Date: Jan 2008
Posts: 756
Downloads: 109
Uploads: 18
Thanks: 385
Thanked 1,483 Times in 525 Posts
Rep Power: 1174
Phil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond reputePhil BoBo has a reputation beyond repute
Default

You can also turn on the Event Log and see what event happened right before something went wrong.

If you have an exception in your code, there will be a line in the event log showing that exception. The event immediately above the exception line is the code that threw the exception.


That output is a stack trace:
The exception was thrown in NetworkNavigator::querydistanceextended, which was called by NetworkNavigator::navigateto which was called by TaskExecuter::begintask, etc.
The Following User Says Thank You to Phil BoBo For This Useful Post:
Sung Kim (05-14-2013)


Thread Thread Starter Forum Replies Last Post
Exception caught in globalcommand_savebyname mutyisi Q&A 2 12-15-2014 05:55 AM
Exception caught in basicconveyor when speeding up model koenslootmans Q&A 0 01-25-2013 10:16 AM
Strange exception Shahin Gelareh Q&A 1 04-04-2012 11:57 PM
Strange exception Shahin Gelareh Container Terminal (CT) Library 1 12-15-2011 12:48 PM
ObjectFunction Exception David Chan Q&A 5 07-17-2009 09:08 AM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.