Error: AVD can not be created in Qt Creator - qt-creator

I'm trying to create an AVD for my QT Creator, I keep getting this error and now I don't know what to do.
Is there anything I can do to fix this?
Error Creating AVD - Qt Creator
Exception in thread "main" java.lang.NoClassDetFoundError: Javax/xml/bind/annotation/ XmlSchema
at
com.android.repository.api.SchemaModule$SchemaModuleVersion.<init (SchemaModule.java: 156)
at com.android.repository.apl.SchemaModule.<init (SchemaModule.java:75)
at
com.android.sdiklib.repository.Android5dkHandler.«clinit>(AndroidSdkHandier.java:81) at com.android.sdiklib.tool.AvdManagerCli.run(AvdManagerCl.java:213) at com.android.sdklib.tool.AvdManagerCll.main(AvdManagerCli.java:200) Caused by: java.lang. Class NotFoundException: javax.xml.bind.annotation.XmlSchema at java.base/
jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/
jdk.internal.loader.ClassLoadersSAppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:322)
...5 more

Related

Eclipse RCP failed to Launch product in MAC Big Sur

I am getting below stack strace when trying to launch MY RCP application[i.e. based on neon-2] on MAC machine big sur 11.5.1 ,
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2176)
at org.eclipse.swt.graphics.GC.<init>(GC.java:174)
at org.eclipse.swt.graphics.GC.<init>(GC.java:135)
at org.eclipse.swt.custom.CTabFolder.updateTabHeight(CTabFolder.java:3778)
at org.eclipse.swt.custom.CTabFolder.runUpdate(CTabFolder.java:3814)
at org.eclipse.swt.custom.CTabItem.getBounds(CTabItem.java:149)
at org.eclipse.swt.custom.CTabFolder.onPaint(CTabFolder.java:2049)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:339)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4256)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1501)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1524)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1509)
at org.eclipse.swt.widgets.Control.drawWidget(Control.java:1275)
at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:765)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5711)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5084)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5465)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:94)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3700)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148
Can anyone help me out with this.

How to suppress Matlab 2010 Java error in MacOS High Sierra?

I run MATLAB 2010 on MacOS High Sierra. I get the Java error below in the Command Window every time I run MATLAB or try to do anything in the Command Window. My codes run OK, but I cannot utilize the Command Window (>>) because of this error. My research indicates that it is a compatibility issue that hasn't been resolved yet. Can I -at least- suppress the error (prevent it from appearing) and how?
Here is the error(s) I get:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Non-Java exception raised, not handled! (Original problem: Deprecated in 10_12... DO NOT EVER USE CGSEventRecord directly. Bad things, man.... bad things.)
at apple.awt.ComponentModel._handleEvent(Native Method)
at apple.awt.ComponentModel.handleEvent(ComponentModel.java:273)
at apple.awt.CWindow.handleEvent(CWindow.java:545)
at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:753)
at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1000)
at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:865)
at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:686)
at java.awt.Component.dispatchEventImpl(Component.java:4648)
at java.awt.Container.dispatchEventImpl(Container.java:2142)
at java.awt.Window.dispatchEventImpl(Window.java:2492)
at java.awt.Component.dispatchEvent(Component.java:4604)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:717)
at java.awt.EventQueue.access$400(EventQueue.java:82)
at java.awt.EventQueue$2.run(EventQueue.java:676)
at java.awt.EventQueue$2.run(EventQueue.java:674)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:690)
at java.awt.EventQueue$3.run(EventQueue.java:688)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:86)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:687)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Spring Build ContextLoads FAILED

I have a big problem. When I'm building my Project, I get this Error:
com.eurofunk.RaceComApplicationTests > contextLoads FAILED
java.lang.IllegalStateException
Caused by: org.springframework.beans.factory.BeanCreationException
Caused by: org.springframework.beans.BeanInstantiationException
Caused by: java.lang.UnsatisfiedLinkError
Could you please help me?
A UnsatisfiedLinkError is thrown
if the Java Virtual Machine cannot find an appropriate native-language definition of a method declared native.
So this does not look like a spring related problem.
It looks more like a problem with the JRE or a bean tries to find a native library which does not exist.

System.ComponentModel.Win32Exception was unhandled

While running process to Hadoop automated build from source in visual studio I am facing this error
Exception: An unhandled exception of type 'System.ComponentModel.Win32Exception' occurred in System.dll
An unhandled exception of type 'System.InvalidOperationException' occurred in System.dll
Please help me to resolve this.
Thanks in advance.

How to compile h2.jar?

I am trying to compile h2.jar. Getting following error -
Downloading http://repo1.maven.org/maven2/javax/servlet/servlet-api/2.4/servlet-api-2.4.jar
Exception in thread "main" java.lang.RuntimeException: Error downloading...
Any idea?
Thanks a lot,
Anuprit

Resources