ArcMap Error The requested operation invalid on a close state - arcmap

Hi does anyone know what cause this error? :
The requested operation invalid on a close state ,state_id=62786

Related

What does this error mean? [GatekeeperXPC]

I get this error:
[GatekeeperXPC] Connection to assetsd was interrupted or assetsd died
What does it mean? (I am currently working with AVAssets)
Thanks!

SocketException: A system call received a parameter that is not valid + setTcpNoDelay

I'm getting following error in my socket programming, please help me to identify the root cause of this error.
SocketException: A system call received a parameter that is not valid.
at java.net.PlainSocketImpl.socketNativeSetOption(Native Method)
at java.net.PlainSocketImpl.socketSetOption(PlainSocketImpl.java:597)
at java.net.PlainSocketImpl.setOption(PlainSocketImpl.java:340)
at java.net.Socket.setTcpNoDelay(Socket.java:894)
at com.TestSocket.run(TestSocket.java:112)

Getting "Connection is not recognized as a valid connection manager type" error in SSIS 2008 R2, but package runs fine

One of my primary SSIS import packages has been showing the following error the last few times it's been run. The data loads exactly how it should, just with this one error which doesn't seem to make a real difference. I would like to get it cleared up though.
Here is the error:
Error 1 Error loading Update.dtsx: The connection type "OLEDB" specified for connection manager "SQL.Staging" is not recognized as a valid connection manager type. This error is returned when an attempt is made to create a connection manager for an unknown connection type. Check the spelling in the connection type name. D:\SSIS Projects\Update.dtsx 1 1
Error 2 Error loading Update.dtsx: Error loading value " 0 SQL.Staging {925404E7-27AA-4C4E-337B-D6058341" from node "DTS:ConnectionManager". D:\SSIS Projects\Update.dtsx 1 1
Error 3 Error loading 'Update.dtsx' : The package failed to load due to error 0xC0010014 "One or more error occurred. There should be more specific errors preceding this one that explains the details of the errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails. . D:\SSIS Projects\Update.dtsx 1 1
As I said, the package runs fine. It doesn't seem to have any issues with the OLEDB source or destination's, which is what the error seems to indicate. Any other recommendations? Thanks!

What happens with saveAll in Parse.com if it fails?

I have an array with a lot of PFObjects (up to 720). I do saveAll to save them. What happens though if it fails? will I end up with some objects saved and others not? (bad outcome) or will it be all or none of them saved? (good outcome)
I am getting a fail sometimes, and here's the details.
Error: Error Domain=com.parse.networking.error Code=-1011 "Expected
status code in (200-299), got 504" UserInfo=0x2e0d2791
{NSErrorFailingURLKey=https://api.parse.com/2/multi,
NSLocalizedDescription=Expected status code in (200-299), got 504}
(Code: 100, Version: 1.2.18) 2014-05-22 18:17:10.864 Clan
Kingdom[7288:60b] SaveAll error Error Domain=Parse Code=100 "The
operation couldn’t be completed. (Parse error 100.)"
UserInfo=0x2e0d2791 {temporary=1, code=100, error=Error
Domain=com.parse.networking.error Code=-1011 "Expected status code in
(200-299), got 504" UserInfo=0x2e0d2791
{NSErrorFailingURLKey=https://api.parse.com/2/multi,
NSLocalizedDescription=Expected status code in (200-299), got 504}}
The weird thing is, looking at the dashboard it does seem to have saved the data, so not sure why it gave me that error.

Get a 'clear' error message in Lua

I am using the error function in quite a few of my functions and would like to propagate the error messages to the user. However, I obviously don't want to include information about where the error occured exactly; this information should only go to the log files.
For example, I have a class that manages the connection to a server. If the connection times out, it calls
error("Connection timed out!")
The error message is then caught by the calling code via pcall. However, the message contains not only the message I passed, but also the name of the file that caused the error and the line number:
common/net/enetclient.lua:21: Connection timed out!
The question is: Is there any way to only retrieve the error message itself, or do I have to do this manually like following:
local status, msg = pcall(someFunctionThatThrowsErrors)
if not status then
local file, msg = msg:match("(.-:%d+): (.+)")
print("Error: " .. msg)
end
Cheers,
From the documentation of the error function:
error (message [, level])
Terminates the last protected function called and returns message as the error message. Function error never returns.
Usually, error adds some information about the error position at the beginning of the message, if the message is a string. The level argument specifies how to get the error position. With level 1 (the default), the error position is where the error function was called. Level 2 points the error to where the function that called error was called; and so on. Passing a level 0 avoids the addition of error position information to the message.
From what is stated in the second paragraph, adding a level of 0 to the error call will result in the desired output:
error("Connection timed out!", 0)