JAVMovieScraper icon indicating copy to clipboard operation
JAVMovieScraper copied to clipboard

v0.3.7 Crashes on start

Open ghost opened this issue 6 years ago • 16 comments

When double clicking the .jar file it crashes right away.

Here is the stack trace I see:

C:\Users\C\Downloads\JAVMovieScraper-0.3.7>java -jar JAVMovieScraper-v0.3 .7.jar Java(TM) SE Runtime Environment 1.8.0_221-b11(Oracle Corporation) -- 1.8(Oracle Corporation) Heap: 3 GB Free mem: 241 MB Initializing default jav preferences Sep 05, 2019 9:52:22 PM moviescraper.doctord.scraper.DitzyHeadlessBrowser

INFO: Build browser with U: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59. 0) Gecko/20100101 Firefox/59.0 java.lang.NullPointerException at java.io.File.(Unknown Source) at moviescraper.doctord.scraper.DitzyHeadlessBrowser.configure(DitzyHead lessBrowser.java:35) at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibrar yParsingProfile.browserConfigure(JavLibraryParsingProfile.java:102) at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibrar yParsingProfile.(JavLibraryParsingProfile.java:93) at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingP references.initializeJAVCensoredGroupDefaultPreferences(AllAmalgamationOrderingP references.java:129) at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingP references.initializeDefaultPreferences(AllAmalgamationOrderingPreferences.java: 103) at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingP references.initializeValuesFromPreferenceFile(AllAmalgamationOrderingPreferences .java:69) at moviescraper.doctord.view.GUIMain.reinitializeAmalgamationPreferences FromFile(GUIMain.java:157) at moviescraper.doctord.view.GUIMain.initialize(GUIMain.java:169) at moviescraper.doctord.view.GUIMain.(GUIMain.java:142) at moviescraper.doctord.view.GUIMain$1.run(GUIMain.java:126) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$500(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionP rivilege(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

ghost avatar Sep 06 '19 19:09 ghost

same error with me:

Java(TM) SE Runtime Environment 1.8.0_221-b11(Oracle Corporation) -- 1.8(Oracle Corporation)                            Heap: 7 GB                                                                                                              Free mem: 485 MB                                                                                                        Initializing default jav preferences                                                                                    九月 11, 2019 5:19:01 下午 moviescraper.doctord.scraper.DitzyHeadlessBrowser <init>                                     信息: Build browser with U: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0) Gecko/20100101 Firefox/59.0          java.lang.NullPointerException                                                                                                  at java.io.File.<init>(Unknown Source)                                                                                  at moviescraper.doctord.scraper.DitzyHeadlessBrowser.configure(DitzyHeadlessBrowser.java:35)                            at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibraryParsingProfile.browserConfigure(JavLibraryParsingProfile.java:102)                                                                                                     at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibraryParsingProfile.<init>(JavLibraryParsingProfile.java:93)                                                                                                                at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeJAVCensoredGroupDefaultPreferences(AllAmalgamationOrderingPreferences.java:129)                                                                    at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeDefaultPreferences(AllAmalgamationOrderingPreferences.java:103)
        at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeValuesFromPreferenceFile(AllAmalgamationOrderingPreferences.java:69)
        at moviescraper.doctord.view.GUIMain.reinitializeAmalgamationPreferencesFromFile(GUIMain.java:157)
        at moviescraper.doctord.view.GUIMain.initialize(GUIMain.java:169)
        at moviescraper.doctord.view.GUIMain.<init>(GUIMain.java:142)
        at moviescraper.doctord.view.GUIMain$1.run(GUIMain.java:126)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$500(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

godcong avatar Sep 11 '19 09:09 godcong

Same error with me

Java(TM) SE Runtime Environment 1.8.0_131-b11(Oracle Corporation) -- 1.8(Oracle Corporation)
Heap: 3 GB
Free mem: 241 MB
Initializing default jav preferences
十月 31, 2019 1:49:55 下午 moviescraper.doctord.scraper.DitzyHeadlessBrowser <init>
信息: Build browser with U: Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
java.lang.NullPointerException
	at java.io.File.<init>(File.java:277)
	at moviescraper.doctord.scraper.DitzyHeadlessBrowser.configure(DitzyHeadlessBrowser.java:35)
	at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibraryParsingProfile.browserConfigure(JavLibraryParsingProfile.java:102)
	at moviescraper.doctord.controller.siteparsingprofile.specific.JavLibraryParsingProfile.<init>(JavLibraryParsingProfile.java:93)
	at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeJAVCensoredGroupDefaultPreferences(AllAmalgamationOrderingPreferences.java:129)
	at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeDefaultPreferences(AllAmalgamationOrderingPreferences.java:103)
	at moviescraper.doctord.controller.amalgamation.AllAmalgamationOrderingPreferences.initializeValuesFromPreferenceFile(AllAmalgamationOrderingPreferences.java:69)
	at moviescraper.doctord.view.GUIMain.reinitializeAmalgamationPreferencesFromFile(GUIMain.java:157)
	at moviescraper.doctord.view.GUIMain.initialize(GUIMain.java:169)
	at moviescraper.doctord.view.GUIMain.<init>(GUIMain.java:142)
	at moviescraper.doctord.view.GUIMain$1.run(GUIMain.java:126)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

jl0476 avatar Oct 31 '19 05:10 jl0476

图片 same as me ...

NJCCJohnWatson avatar Nov 05 '19 18:11 NJCCJohnWatson

This seems to be due to this:-

private MoviescraperPreferences() {

	//initialize default values that must exist in the settings file

}

domxch avatar Nov 09 '19 03:11 domxch

Quick solution: Download an older version, run it - it will create AmalgamationSettings.json and then you can run the latest version

kaosnews avatar Nov 10 '19 12:11 kaosnews

Quick solution: Download an older version, run it - it will create AmalgamationSettings.json and then you can run the latest version

It's ok! When I put the new .jar file in the path of older jar file, thanks a lot!

NJCCJohnWatson avatar Dec 19 '19 11:12 NJCCJohnWatson

This seems to be due to this:-

private MoviescraperPreferences() {

	//initialize default values that must exist in the settings file

}

it means the must exist an older json file, right?

NJCCJohnWatson avatar Dec 19 '19 11:12 NJCCJohnWatson

I also have this issue, running the other version worked but not the new one, I can't understand the last few messages, I run the .jar file from a regular downloads folder should i put it somewhere else?

thecat18 avatar Jan 02 '20 02:01 thecat18

I also have this issue, running the other version worked but not the new one, I can't understand the last few messages, I run the .jar file from a regular downloads folder should i put it somewhere else?

just put new version exe to old version folder

NJCCJohnWatson avatar Jan 02 '20 07:01 NJCCJohnWatson

Ok I will try that later tonight.

Sent from my iPhone

On Jan 2, 2020, at 2:02 AM, NJCCJohnWason [email protected] wrote:

 I also have this issue, running the other version worked but not the new one, I can't understand the last few messages, I run the .jar file from a regular downloads folder should i put it somewhere else?

just put new version exe to old version folder

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

thecat18 avatar Jan 02 '20 18:01 thecat18

ok I extracted the .jar .exe file over the old version folders, how do I open the software, I usually right click on that jar exe file & open with java using windows 10.

thecat18 avatar Jan 03 '20 02:01 thecat18

ok I extracted the .jar .exe file over the old version folders, how do I open the software, I usually right click on that jar exe file & open with java using windows 10.

👌

NJCCJohnWatson avatar Jan 03 '20 12:01 NJCCJohnWatson

Am I doing something wrong

Sent from my iPhone

On Jan 3, 2020, at 7:16 AM, NJCCJohnWason [email protected] wrote:

 ok I extracted the .jar .exe file over the old version folders, how do I open the software, I usually right click on that jar exe file & open with java using windows 10.

👌

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

thecat18 avatar Jan 03 '20 18:01 thecat18

Ok I figured it out after taking a couple weeks off from this. Thanks for helping. My problem was I was using freecommander as my file manager to open the file & then I used windows explorer & it worked.

thecat18 avatar Jan 20 '20 00:01 thecat18

I still cannot use GUI, getting this error. Can anybody explain which Java version did you install? I downgraded to Java 8, build 111, still no luck. But I'm able to scape using command prompt.

Do we need to download both the source files (files and folders) together with .jar file?

And what .exe did someone mentioned above? Java.exe in "bin" folder of Java installation path?

mesoller avatar May 30 '20 01:05 mesoller

I able to run by create .bat file.

Create "run.bat" by right click and new file. Select Notepad. Rename the file to "run.bat".

Edit the file and add this line: "java -jar JAVMovieScraper.jar". Save the file and run by double clicking the "run.bat"

mesoller avatar May 30 '20 08:05 mesoller