i try to open the program ..latest portable ver , and got this
program.name=DocFetcher
program.version=1.1.22
program.build=20180730-1532
program.portable=true
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_181-b13
java.version=1.8.0_181
sun.arch.data.model=32
os.arch=x86
os.name=Windows 10
os.version=10.0
user.language=en
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at net.sourceforge.docfetcher.Main.main(Main.java:124)
Caused by: com.melloware.jintellitype.JIntellitypeException: Could not load JIntellitype.dll from local file system or from inside JAR
at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:109)
at com.melloware.jintellitype.JIntellitype.getInstance(JIntellitype.java:166)
at net.sourceforge.docfetcher.gui.HotkeyListenerWindowsImpl.init(HotkeyHandler.java:99)
at net.sourceforge.docfetcher.gui.HotkeyHandler.registerHotkey(HotkeyHandler.java:56)
at net.sourceforge.docfetcher.gui.Application.initHotkey(Application.java:1232)
at net.sourceforge.docfetcher.gui.Application.main(Application.java:295)
... 5 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Users\ahmed\Desktop\DocFetcher-1.1.22\lib\JIntellitype32.dll: A dynamic link library (DLL) initialization routine failed
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at com.melloware.jintellitype.JIntellitype.<init>(JIntellitype.java:94)
... 10 more</init></init>
Anonymous
Works, thanks!
Hi there, I have run into the same issue with the seemingly hardcoded path to the JavaAppletPlugin. Now I am stuck, since the link to the preliminary portable version here doesn't seem to work anymore...
Got the same error.
Solved it by allowing javaws to be access my data. I use Bitdefender.
That's interesting, thanks for letting us know!
Someone reported that this crash occurred after updating Windows 7, but without rebooting the machine. After the reboot, the crash disappeared.
https://sourceforge.net/p/docfetcher/bugs/1701/
One user reported that switching to Java 64-bit fixed the problem: https://sourceforge.net/p/docfetcher/bugs/1810/
One user reported that updating Java resolved the problem: https://sourceforge.net/p/docfetcher/bugs/1830/
Installing java 64 bits fixed this issue
Thanks
Dear Nam-Quang Tran,
here is my issue report for my mac:
Java and DocFetcher new installing and file code changings doesn't help. See following excerpts:
program.name=DocFetcher
program.version=1.1.22
program.build=20190831-1515
program.portable=false
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_261-b12
java.version=1.8.0_261
sun.arch.data.model=64
os.arch=x86_64
os.name=Mac OS X
os.version=10.15.6
user.language=de
java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Control.java:2180)
at org.eclipse.swt.graphics.GC.<init>(GC.java:177)
at org.eclipse.swt.graphics.GC.<init>(GC.java:138)
at org.eclipse.swt.custom.CLabel.getTotalSize(CLabel.java:274)
at org.eclipse.swt.custom.CLabel.onPaint(CLabel.java:432)
at org.eclipse.swt.custom.CLabel.lambda$new$0(CLabel.java:122)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4292)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1512)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1535)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520)
at org.eclipse.swt.widgets.Control.drawWidget(Control.java:1279)
at org.eclipse.swt.widgets.Canvas.drawWidget(Canvas.java:175)
at org.eclipse.swt.widgets.Widget.drawRect(Widget.java:776)
at org.eclipse.swt.widgets.Canvas.drawRect(Canvas.java:169)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5929)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:5183)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:5607)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:97)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3727)
at net.sourceforge.docfetcher.gui.Application.main(Application.java:348)
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 net.sourceforge.docfetcher.Main.main(Main.java:131)</init></init>
I tried your suggestion with
Open this file in a text editor: DocFetcher.app/Contents/MacOS/DocFetcher
In the last line, replace "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" with simply "java".
Save the file and restart DocFetcher.
unfortunetally thats what i see
**# Prefer legacy Java 6 runtime from Apple if present
java_exec=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
if [ ! -f "$java_exec" ]; then
java_exec=java
fi
Note: The java call must not end with '&', otherwise the -Xdock:name property will have no effect.
"$java_exec" -XstartOnFirstThread -Xdock:name="DocFetcher" -enableassertions -Xmx512m -Xss2m -cp ".:${CLASSPATH}" -Djava.library.path="../Resources/lib" net.sourceforge.docfetcher.Main "$@"**
and changing following code
java_exec=/Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java
doesn't do anything in any form.
Can you please provide me a solution for the newest mac OS updated?
Thank you very much in advance.
Kind Regards,
Matthias Reichshof
Open a terminal and type in "java -version". Press Enter. The terminal output will tell you whether Java is properly installed on your computer. If it is, revert the DocFetcher launch script to its original state, then in the last line of the script replace
with
Dear Nam-Quang Tran,
unfortunetally this solution doesnt work either.
This is my terminal output:
java version "15" 2020-09-15
Java(TM) SE Runtime Environment (build 15+36-1562)
Java HotSpot(TM) 64-Bit Server VM (build 15+36-1562, mixed mode, sharing)
matthias@Matthias ~ %
Changing DocFetcher script like you mentioned doesnt work. This is so strange, since i used the software frequently with a database of over 2500 files, and everything was fine till last week.
I will try the portable version.
Kind Regards,
Matthias Reichshof
Me again,
with the portable version i get the same issue:
program.name=DocFetcher
program.version=1.1.22
program.build=20180730-1532
program.portable=true
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.8.0_261-b12
java.version=1.8.0_261
sun.arch.data.model=64
os.arch=x86_64
os.name=Mac OS X
os.version=10.15.6
user.language=de
java.lang.NullPointerException
at org.eclipse.swt.widgets.Control.internal_new_GC(Unknown Source)
at org.eclipse.swt.graphics.GC.<init>(Unknown Source)
at org.eclipse.swt.graphics.GC.<init>(Unknown Source)
at org.eclipse.swt.custom.CLabel.getTotalSize(Unknown Source)
at org.eclipse.swt.custom.CLabel.onPaint(Unknown Source)
at org.eclipse.swt.custom.CLabel$1.paintControl(Unknown Source)
at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Display.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
at org.eclipse.swt.widgets.Control.drawWidget(Unknown Source)
at org.eclipse.swt.widgets.Canvas.drawWidget(Unknown Source)
at org.eclipse.swt.widgets.Widget.drawRect(Unknown Source)
at org.eclipse.swt.widgets.Canvas.drawRect(Unknown Source)
at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Unknown Source)
at org.eclipse.swt.widgets.Display.applicationProc(Unknown Source)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(Unknown Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at net.sourceforge.docfetcher.gui.Application.main(Application.java:348)
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 net.sourceforge.docfetcher.Main.main(Main.java:124)</init></init>
Thank you for your support. I will keep watching this Thread, maybe there is a solution.
Kind Regards,
Matthias Reichshof
According to the crash report, you have Java 8 Update 261 installed, which is known to not work with DocFetcher. Try downgrading to Java 8 Update 251.
Thank you very much!
now it runs again. I updated the java application through an update managing tool and forgot about it.
Kind Regards,
Matthias Reichshof
(solved) same problem with DocFetcher-1.1.22 and Java 8 update 221 (build 1.8.0_221-b11). By following the link given by the debug panel, I ended up on the bugs report section which told me to try this:
And it worked!
well done Nam-Quang Tran!
My DocFetcher suddenly stopped working one day and this worked. Thanks.
For anyone wondering, the "settings-conf.txt" file is in appdata/roaming/DocFetcher/conf
Fixed in DocFetcher 1.1.23.