Building Watch Facce comes up with error

Hi All,

I have been pulling my hair with with issue. I have submitted both certificates and have pressed the “Run on Device” button on the top right hand corner. I press the ‘Yes’ button when the submission box appears.
image

I then enter my password in the password field box.

When pressing the “Build” button, I recieve the bellow message.
image

When pressing ‘Ok’, the bellow message appears.
image

How do I fix this issue?

Kind Regards,

jacobingle26

This is the nasty bug in GWS 2.0.1 go back to GWS 2.0.0 if you are on Windows download it on the same page under previous versions

The issue is that the AOD is not added correctly. It has been well over a year and I don’t expect any fix to be released.

If you are on Mac then there is work arounds so if you are let me know otherwise the solution is simple.

Ron
Samsung Developer Relations

Hi Ron, thanks for the reply.
Unfortunately, when using 2.0.0, everythig works except when pressing the ‘Build’ button. The whole prgram crashes. I am then left with this message. What do I do?

Thanks

image

!SESSION 2022-08-23 20:59:02.197 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.3.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-08-23 21:00:28.646
!MESSAGE Application error
!STACK 1
java.lang.IllegalAccessError: class org.tizen.common.util.CipherUtil (in unnamed module @0x3bd323e9) cannot access class com.sun.org.apache.xerces.internal.impl.dv.util.Base64 (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.dv.util to unnamed module @0x3bd323e9
at org.tizen.common.util.CipherUtil.getEncryptedString(CipherUtil.java:117)
at com.samsung.gwd.Config.setAuthorPassword(Config.java:660)
at com.samsung.gwd.ui.dialog.build.CompositeBuildPopup$13.execute(CompositeBuildPopup.java:653)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:16)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:10)
at com.samsung.gwd.ui.popup.PopupButton.mouseUp(PopupButton.java:142)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at com.samsung.gwd.Application._start(Application.java:385)
at com.samsung.gwd.Application.start(Application.java:77)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
!SESSION 2022-08-23 21:00:33.065 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.3.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-08-23 21:00:58.968
!MESSAGE Application error
!STACK 1
java.lang.IllegalAccessError: class org.tizen.common.util.CipherUtil (in unnamed module @0x29ef6856) cannot access class com.sun.org.apache.xerces.internal.impl.dv.util.Base64 (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.dv.util to unnamed module @0x29ef6856
at org.tizen.common.util.CipherUtil.getEncryptedString(CipherUtil.java:117)
at com.samsung.gwd.Config.setAuthorPassword(Config.java:660)
at com.samsung.gwd.ui.dialog.build.CompositeBuildPopup$13.execute(CompositeBuildPopup.java:653)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:16)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:10)
at com.samsung.gwd.ui.popup.PopupButton.mouseUp(PopupButton.java:142)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at com.samsung.gwd.Application._start(Application.java:385)
at com.samsung.gwd.Application.start(Application.java:77)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
!SESSION 2022-08-23 21:02:54.198 -----------------------------------------------
eclipse.buildId=unknown
java.version=17.0.3.1
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-08-23 21:05:19.381
!MESSAGE Application error
!STACK 1
java.lang.IllegalAccessError: class org.tizen.common.util.CipherUtil (in unnamed module @0x30c93896) cannot access class com.sun.org.apache.xerces.internal.impl.dv.util.Base64 (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.impl.dv.util to unnamed module @0x30c93896
at org.tizen.common.util.CipherUtil.getEncryptedString(CipherUtil.java:117)
at com.samsung.gwd.Config.setAuthorPassword(Config.java:660)
at com.samsung.gwd.ui.dialog.build.CompositeBuildPopup$13.execute(CompositeBuildPopup.java:653)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:16)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:10)
at com.samsung.gwd.ui.popup.PopupButton.mouseUp(PopupButton.java:142)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at com.samsung.gwd.ui.popup.PopupShell.open(PopupShell.java:40)
at com.samsung.gwd.action.project.BuildAction.action(BuildAction.java:293)
at com.samsung.gwd.action.Action$1.execute(Action.java:114)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:16)
at com.samsung.gwd.utils.EasyExecute.execute(EasyExecute.java:10)
at com.samsung.gwd.ui.titlebar.DropdownMenuItem.mouseUp(DropdownMenuItem.java:82)
at com.samsung.gwd.ui.titlebar.DropdownMenuItem2.mouseUp(DropdownMenuItem2.java:46)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:221)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:86)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4118)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1052)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3931)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3534)
at com.samsung.gwd.Application._start(Application.java:385)
at com.samsung.gwd.Application.start(Application.java:77)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
at org.eclipse.equinox.launcher.Main.main(Main.java:1471)

From Command Prompt type in java -version and see what it is it looks like the log says Java 17

GWS 2.x is only compatible with Java 8 and 14 nothing newer.

If you can go back to the last public release of Java SE 8 it should build. If you are an Oracle member you 14.

If you need 17 download the 64 bit Java 8 and put a shortcut to it in the GWS folder. I think there is a faq or note on it and can look it up if you really need it.

Ron
Samsung Developer Relations