Remote does not have refs avaialble for fetch exception - jgit

While cherrypicking changes from gerrit, JGit often throws the exception Remote does not have refs/changes/xx/xxxxx avaialble for fetch exception
This seems to be intermittent. After few retires, the error does not appear. Does anybody know why this exception occurs?

Related

Check table doesn't exist in dynamoose

When I try to get data from dynamoDb I am getting exception Resource Not Found exception. It is not going inside catch block as well so that I can catch the exception. Due to this I am getting runtime error. How to handle this error?
this.getModel()
.query(queryfilter)
.attributes(attr)
.exec();
}

BizTalk Server Migration to 2016

Uncaught exception (see the 'inner exception' below) has suspended an instance of service 'CSC.Integration.Orchestrations.LegacyBizTalkProcess(71c7729e-22ac-be38-00c0-0b11beaba439)'.
The service instance will remain suspended until administratively resumed or terminated.
If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
InstanceId: 296a4475-58f6-4fa4-8b90-65fe752e9872
Shape name: e_Logging
ShapeId: 919d78da-57e8-4ae1-bd2f-39859310c6de
Exception thrown from: segment 1, progress 20
Inner exception: The type initializer for 'CSC.AppBlocks.Logging.Logger' threw an exception.
Exception type: TypeInitializationException
Source: CSC.AppBlocks.Logging
Target Site: Void Write(CSC.AppBlocks.Logging.Category, System.String, System.String)
The following is a stack trace that identifies the location where the exception occured
at CSC.AppBlocks.Logging.Logger.Write(Category category, String message, String title)
at CSC
We are working on BizTalk migration to 2016 and in testing the application we are getting above error and we updated all Gacs and for this receive location we are using MSMQ adapter. But it is working in BizTalk server 2010.
Are you sure the DLL that contains the namespace CSC.AppBlocks.Logging is GAC'd?
Are there other DLLs that CSC.AppBlocks.Logging depends on that may not be GAC'd?
Did you restart the host instance after GAC'ing the DLL?
Is your DLL 32-bit only? If so, make sure you change your host instance settings to only run as a 32-bit process.
Is there an inner exception reported in any of the messages? Perhaps in the Event Viewer?

how to handle an exception thrown from within outer catch block in bpel1.1, Oracle SOA 11g

how to handle an exception thrown from within outer catch block in bpel1.1.
I tried to publish a queue 'Q1' from bpel but i got an exception while accessing it.
Exception got handled in fault policy from where it was re thrown and got handled in a catch block. For some reason we are publishing the same queue 'Q1' again. and again we got the exception. So how can i handle that exception. Please throw some light.
There are many ways how to handle error exception in bpel.
Oracle has provided AIA framwork for BPEL message flow and error handling.
if you are using it then it has predefined templates and you have to just migrate in your code.
also for your specific scenario all catch block will help.

SignalR 2 fails on Azure

I deployed an ASP.NET 5 MVC 6 app on Azure, and ran into this problem with SignalR 2:
when starting connection from client, call to
/signalr/negotiate?clientProtocol=1.5&connectionData=%5B%7B"name"%3A"gameHub"%7D%5D&_=1460028930688
fails with error 500.
The exception behind error 500 is this:
Exception Details:
System.Security.Cryptography.CryptographicException: The data
protection operation was unsuccessful. This may have been caused by
not having the user profile loaded for the current thread's user
context, which may be the case when the thread is impersonating.
Source Error:
An unhandled exception was generated during the execution of the
current web request. Information regarding the origin and location of
the exception can be identified using the exception stack trace below.
Stack Trace:
[CryptographicException: The data protection operation was
unsuccessful. This may have been caused by not having the user
profile loaded for the current thread's user context, which may be the
case when the thread is impersonating.]
I read and tried solution suggested at SignalR CryptographicException on AzureWebsites, but id didn't work for me.
As I understand, Azure doesn't allow LoadUserProfile.
Any workaround?
I had the same problem and my fix was to add a call to UseAesDataProtectorProvider() before my call to MapSignalR(). Hope this helps someone.

how to write a logs of unhandled exception of flex air app with stacktrace?

I want to write log of unhandled exception of flex air app with stacktrace. Please let me know if there is any way to write stack trace of unhanded exception in error log file.

Resources