OCR - Choose new image


#1

“Choose new image” doesw not seem to work. Noe reaction when I click on it.


#2

Hi, @bjorn.kvisli, it should work
Please, check again, and if it doesn’t, send us a log file from Recorder workspace
it should be in
C:\Users${user}\workfusion-workspace.metadata
.log file


#3

@bjorn.kvisli, can you please, attach a full file here?


#4

@bjorn.kvisli - please do not reply to notification emails - to post something on forum, you should log in here via browser


#5

Here it is:

!ENTRY org.eclipse.ui 4 0 2017-05-16 11:53:17.170
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
	at com.workfusion.studio.recorder.renderer.dialog.ProjectResourceContentProvider.isLegalExtension(ProjectResourceContentProvider.java:104)
	at com.workfusion.studio.recorder.renderer.dialog.ProjectResourceContentProvider.getChildren(ProjectResourceContentProvider.java:53)
	at com.workfusion.studio.recorder.renderer.dialog.ProjectResourceContentProvider.getElements(ProjectResourceContentProvider.java:35)
	at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.evaluateIfTreeEmpty(ElementTreeSelectionDialog.java:384)
	at org.eclipse.ui.dialogs.ElementTreeSelectionDialog.open(ElementTreeSelectionDialog.java:235)
	at com.workfusion.studio.recorder.ui.model.view.control.action.OcrImageCustomControl.lambda$1(OcrImageCustomControl.java:145)
	at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
	at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
	at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
	at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
	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)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:138)
	at com.workfusion.studio.common.application.AbstractSingleInstanceIDEApplication.start(AbstractSingleInstanceIDEApplication.java:36)
	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 sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
	at org.eclipse.equinox.launcher.Main.main(Main.java:1492)

#6

Hi, @bjorn.kvisli, sorry, but im shure that this is not a full file.
Can you, please, attach whole .log file?


#7

– Kopi.log (316.0 KB)

It works from the Click Mouse action, but not from OCR


#8

Thank you!
That is a really strange behavior
Can you please list files (or take a screenshot)
from
INSTALL_DIR\Recorder\configuration\org.eclipse.osgi\19\0.cp\lib
folder


#9


#10

@bjorn.kvisli, Thank you!

Ok, so the problem is, that your antivirus, for some reason blocked one of the libs
jnativehook.jar

Can you, please check your antivirus and unblock this file?
Exclude recorder folder and restart the app


#11

Thank you.
I’ll have to negotiate with IT to get them to make the exclusion and to unblock the file.


#12

Hi
I still cannot get Choose new image to work. Now the virus scanner does not scan the install directory, but it blocks files in Appdata. Could this be the cause? Please see image included


#13

Hi, @bjorn.kvisli, yes, that is the library that we use