I have created an Eclipse 4 RCP application that uses SWT.Browser in some Parts. Inside Eclipse RCP, everything works fine, but after exporting the application, everytime the Parts with browsers are created, the application crashes with this output:
(triglav:30194): GLib-GObject-WARNING **: cannot register existing type `GtkWidget'
(triglav:30194): GLib-GObject-WARNING **: cannot add class private field to invalid type '<invalid>'
(triglav:30194): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(triglav:30194): GLib-GObject-WARNING **: cannot register existing type `GtkBuildable'
(triglav:30194): GLib-GObject-CRITICAL **: g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE (interface_type)' failed
(triglav:30194): GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
(triglav:30194): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
(triglav:30194): GLib-GObject-CRITICAL **: g_type_register_static: assertion `parent_type > 0' failed
I don't recognize the error messages, but is it possible that the swt fragment is missing in your product e.g. "org.eclipse.swt.win32.win32.x86", in your case "org.eclipse.swt.gtk.linux.x86" or a similar fragment.
Running from eclipse I think the right fragment is chosen automatically, but it is not added to the product automatically.
Related
I am trying to change a Project name in Xcode 10 and I have tried all the suggested methods I could find;
Rename project
Rename the Scheme
Rename the folder with your assets
Rename the Build plist data
I do all the above steps and the project complies and builds with out issues.
When I load the app on a iPhone, it crashed when I select a specific screen and I get the following errors;
2019-07-29 17:56:13.315622-0400 SkeetLauncher_RevA[736:163909] Unknown class _TtC14SKEET_LAUNCHER13launchButtons in Interface Builder file.
2019-07-29 17:56:13.363768-0400 SkeetLauncher_RevA[736:163909] [Graphics] UIColor created with component values far outside the expected range. Set a breakpoint on UIColorBreakForOutOfRangeColorComponents to debug. This message will only be logged once.
2019-07-29 17:56:13.372489-0400 SkeetLauncher_RevA[736:163909] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x101d01910> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key DELAY.'
*** First throw call stack:
(0x18f237ea0 0x18e409a40 0x18f15197c 0x18fbe320c 0x1bbce65e4 0x1bbf5fa5c 0x18f121748 0x1bbf5c6cc 0x1bbced25c 0x1bbcedc08 0x1bbceded0 0x1bbcee63c 0x1bbc46e28 0x1bbc5b8e8 0x1bbc5cdbc 0x1bbc3efac 0x1bc75aea4 0x19382ac70 0x19382fc00 0x19378e718 0x1937bd04c 0x1937bdeb4 0x18f1c77a8 0x18f1c243c 0x18f1c29dc 0x18f1c21cc 0x191439584 0x1bc2b5054 0x100c453f4 0x18ec82bb4)
libc++abi.dylib: terminating with uncaught exception of type NSException.
The project compiles and runs fine before I do the rename process.
Go into the storyboard and reenter all the view controller class names.
That didn't work but it pointed me in the right direction, Thanks
I had to change the "Module" for "Custom Class" in identity inspector. I guess the "Change Project Name" process didn't automatically do it for all the view controllers. Attached is picture for clarification.
MODULE in Identity Inspector
I have a json having all the information of my project, its activities, dependencies / relationships and the calendar. Using the MPXJ java library am trying to generate a corresponding Primevera P6 XML file that can be imported in Oracle primevera. I have been successful in creating an xml but when I import it in P6 it is giving me the below error.
*Microsoft.Practices.Prism.Modularity.ModuleInitializeException: An exception occurred while initializing module 'CommandLineModule'.
The exception message was: Object reference not set to an instance of an object.
The Assembly that the module was trying to be loaded from was:
Primavera.Mercury.CommandLineModule, Version=15.2.0.15383, Culture=neutral, PublicKeyToken=null
Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.
---> System.NullReferenceException: Object reference not set to an instance of an object.
at Primavera.Mercury.Importer.ImportCleaner.CleanupActivities(EntityContext sourceContext)
at Primavera.Mercury.Importer.ImportCleaner.CleanSourceContext(EntityContext sourceContext, IVenusDataServiceContext targetContext, ILoggerFacade logger, ImportProjectSettings importProjectSettings, Dictionary`2 initialKeyDictionary)
at Primavera.Mercury.CommandLineModule.ExecuteImportExport.DoImport()
at Microsoft.Practices.Prism.Modularity.ModuleInitializer.Initialize(ModuleInfo moduleInfo)
--- End of inner exception stack trace ---
Failed to load type for module CommandLineModule.
Error was: An exception occurred while initializing module 'CommandLineModule'.
- The exception message was: Object reference not set to an instance of an object.
- The Assembly that the module was trying to be loaded from was:Primavera.Mercury.CommandLineModule, Version=15.2.0.15383, Culture=neutral, PublicKeyToken=null
Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.*
What is solution for simple property not found,jodd bean bean exception?
Moreover data doesnt get inserted into Database
at java.lang.Thread.run(Thread.java:745)
11:20:59,247 ERROR [http-bio-28080-exec-11][BeanPropertiesImpl:337] jodd.bean.BeanException: Simple property not found: hId Invalid property: 'heighttableImpl#hId' (actual:'heighttableImpl#hId', forced=false)
jodd.bean.BeanException: Simple property not found: hId Invalid property: 'heighttableImpl#hId' (actual:'heighttableImpl#hId', forced=false)
at jodd.bean.BeanUtilBean.getSimpleProperty(BeanUtilBean.java:158)
at jodd.bean.BeanUtilBean.getIndexProperty(BeanUtilBean.java:250)
at jodd.bean.BeanUtilBean.getProperty(BeanUtilBean.java:482)
at jodd.bean.BeanUtil.getProperty(BeanUtil.java:111)
This means that there is no simple property hId in the class heighttableImpl. Can you show us the source of this class?
Property has to be accessible in that class and optionally to have the getter, in order to be read.
I'm developing new project which use JSF 2.2.
My tools id Netbeans 7.3 Bata1 + Mysql + EclipseLink.
I want to use tag on my project, but after I add JSF 2.2 library to project and test deploy it, I got some warning message:
WARNING: Multiple [2] JMX MBeanServer instances exist, we will use the server at index [0] : [com.sun.enterprise.v3.admin.DynamicInterceptor#6054cd1b].
WARNING: JMX MBeanServer in use: [com.sun.enterprise.v3.admin.DynamicInterceptor#6054cd1b] from index [0]
WARNING: JMX MBeanServer in use: [com.sun.jmx.mbeanserver.JmxMBeanServer#235fe684] from index [1]
WARNING: WEB9052: Unable to load class javax.faces.render.RendererWrapper, reason: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/render/RendererWrapper
WARNING: WEB9052: Unable to load class javax.faces.component.UIViewAction, reason: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/component/UIViewAction
WARNING: WEB9052: Unable to load class javax.faces.component.html.HtmlInputFile, reason: java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/component/html/HtmlInputFile
And when I insert to page and open it on browser, I got this error:
/system/systemThemes.xhtml #188,102 <h:inputFile> Tag Library supports namespace: http://java.sun.com/jsf/html, but no tag was defined for name: inputFile
How can I fix this problem?
I tryto research for a few day, but not found any solution.
java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/faces/component/html/HtmlInputFile
You installed the JAR file containing the API (javax.faces.*), but not the JAR file containing the impl (e.g. Mojarra, com.sun.faces.*). You basically end up with several abstract classes/interfaces from JSF API without the concrete implementation which is doing the real job. It's like as importing and using JDBC code, but not using a vendor-specific JDBC driver (which is the concrete implementation of the JDBC API).
Make sure that you install the JAR with the impl as well. Get the JAR file from both the /jsf-api and /jsf-impl folders here at Maven.
I am using Xcode4 and try to implement the three30 framework in my app
Source : http://galic-design.com/objective-c/make-my-own-iphone-app-looking-like-facebook-app#comment-27
my application crashes before launching
It crashes in class TTBaseViewController.m
in function
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
at line
UIViewController* popup = [self popupViewController];
[Thread 1: Program received signal: "SIGABRT"]
Any Idea what is the issue
Also its giving error in same class
file://localhost/Users/amit/works/three20/src/Three20UICommon/Sources/TTBaseViewController.m: error: Lexical or Preprocessor Issue: 'Three20UICommon/private/UIViewControllerGarbageCollection.h' file not found