I'm developing a web application which has worked perfectly in previous versions of iOS but with the new release of iOS9 all taps that will load new urls throws an exception which I don't know how and where to handle:
*** WebKit discarded an uncaught exception in the
webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate:
<NSInvalidArgumentException> ***
setObjectForKey: object cannot be nil (key: BundleIdentifier)
Like I said, this doesn't occur on earlier versions.
Any ideas?
Related
Very soon after launch CoreData+CloudKit (NSPersistentCloudKitContainer) crashes by throwing this exception:
Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Must register a handler for activity identifier "com.apple.coredata.cloudkit.activity.import." before submitting it'
terminating with uncaught exception of type CKException
I can't seem to find any documentation on handlers needed for activity imports. I am guessing this is an iOS 14 bug???
It is. I have the same error. On Simulator works great while on Device crashes. My guess is a problem CloudKit and the Persistent Store. They need fix this.
I have a java ee 8 web app using deltaspike using core, data and jsf modules.
I also added cdi bean (RegisterService using #trasactional) which calls a UserRepository
public void createNewUser(User newUser){
try{
userRepository.save(newUser)
}catch(PersistenceException ex){
throw new RegisterException("Error", ex); //it never falls at this point
}
}
When service layer calls repository I’m catching a PersistenceException and rethrowing a service layer exception but the repository never throws PersistenceException even if the primary ID is duplicated (I just can see the stacktrace in console output), of course I’m running into a contraint exception to try to execute the expected flow
I’m using a deltaspike exception handler but I have not added a #handler for PersistenceException
Does somebody knows what could be happening here?
this is a reproducible example: https://github.com/gdiazs/javaee8-fullstack
Since there is no tables in DB it will throw an PersitenceException.
I ran this example in 2 laptops.
Mine: OSx 10.14.6
JDK: Open JDK Zulu 1.8
eclipse and also maven terminal execution
Work: OSx 10.14.6 (it works as I expect good here)
JDK: Oracle 1.8
Intellij and also maven terminal execution
So now I`m really confused, no idea why is working just in one.
MVC 5 vb web application
I created a entityFramework migrations where I have a class library for data entities and combined it with the AspNet Identity within the web application. No error so far. I created a IndentityDB that has the defaultConnection and updated the AccountController to point to the connection
(New UserStore(Of ApplicationUser)(New IndentityDB())))
seems to be right with no error on the build except for a enum issue in the classlibrary that I will fix later but I get a error:
'ViewBag' is not declared. It may be inaccessible due to its protection level.
A first chance exception of type 'System.InvalidOperationException'
occurred in System.dll A first chance exception of type
'System.Web.HttpException' occurred in System.Web.dll 'iisexpress.exe'
(CLR v4.0.30319: /LM/W3SVC/32/ROOT-1-130360312907627858): Loaded
'C:\Windows\Microsoft.Net\assembly\GAC_MSIL\System.Data.Services.Design\v4.0_4.0.0.0__b77a5c561934e089\System.Data.Services.Design.dll'.
Cannot find or open the PDB file.
This error happens when I try to login on the home page and any other Authorized Controller
I'm getting TinyIOC Unable to resolve type exception. I have developed my app using Xamarin studio for ipad. In simulator it is working fine. But on deploying ipad i'm getting below error.
TinyIoC.TinyIoCResolutionException: Unable to resolve type: IOSLoginViewModel ---> System.Exception: Unable to resolve type: IOSLoginViewModel ---> System.Exception: Unable to resolve type:
private IEnumerable<ConstructorInfo> GetTypeConstructors(Type type)
{
//#if NETFX_CORE
// return type.GetTypeInfo().DeclaredConstructors.OrderByDescending(ctor => ctor.GetParameters().Count());
//#else
return type.GetConstructors().OrderByDescending(ctor => ctor.GetParameters().Count());
//#endif
}
Above method is returning value on simulator but for ipad it is giving null.
Lines of code I have used is
var tContainer = TinyIoC.TinyIoCContainer.Current;
tContainer.Register<IOnlineAuthenticationService, Framework.OnlineProvider.AuthenticationService>().AsMultiInstance();
DataContext = TinyIoC.TinyIoCContainer.Current.Resolve<IOSLoginViewModel>();
IOS Build options I have tried all,
Linking - SDK, ALL, No but still same error.
In Xamarin Studio, open "Run" -> "Exceptions" and add "System.Exception".
Run your
Run you app
When the error occurs, take a look at the exception object's InnerException property which will give you clues why the type could not be resolved.
I made some changes to GWT app without testing it in the client browser. I just now tested it in the browser and now the browser is throwing an error:
Error: uncaught exception: java.lang.IllegalArgumentException: Widget must be a child of this panel.
How do I figure out why this is being thrown and where to fix it?
I made so many changes in the code between now and last time I tested to figure out where it could possibly be from memory.
Any help would be greatly appreciated.
This error message is thrown (at least) by an AbsolutePanel if you try to call setWidgetPosition, getWidgetLeft or getWidgetTop with a widget as argument that's not a child of the AbsolutePanel. Maybe you call the method before you attach the widget to the Panel.
For debugging you can try the following:
Run in hosted mode and set a debug pointer on the IllegalArgumentException.
Or if you only can find it in client code. I compile with -style pretty and run it in Firefox with FireBug debugger and set Script to break on errors or track throw/catch.