JDownloader Community - Appwork GmbH
 

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 14.05.2011, 12:41
reddragon
Guest
 
Posts: n/a
Default JDownloader & Truecrypt

Hey,

I really like your Software but i have a problem with jdownloader on a encrypted harddrive.

System?
Windows 7 Professional Sp1 64 bit, "Up to date"
Java.exe 6.0.230.5 (Java 6 Update 23 64bit)

How to reproduce?
1. Install/Copy Jdownloader to a encrypted device.
2. Start Jdownloader. (And launch a download to this encrypted device, not sure if this is needed)
3. (Force) Unmounte the device (Force is not even needed on my machine)
4. Remount the drive again on the same drive letter

Expected Output?
One of these: Normal functionality, Full Jdownloader CRASH, Error Message

What happens instead?
Download is working after remounting the device, but several things are not working without error message and without entry in the log file... i catched:
- Saving the Logfile to disk
- Opening the "Log Tab"
- Rightclick (I catched it only in the download section)
- CLOSING Jdownloader properly (in file-menu and systray, you can only kill the process)
- Upload the Log
- ... and maybe a lot more

Logfile!
In order to get the Logfile i opened the Log tab before unmonting the device. But there are no entries for the listed actions...
I anonymised the Logfile.
http://goo.gl/JRTD5
The Logfile was to long to post it here!

If there is something more you like to know, please go ahead and ask!
But I don't think there is more...
Hope this can be fixed soon!

thank you,
reddragon

Last edited by Jiaz; 14.05.2011 at 13:48.
Reply With Quote
  #2  
Old 14.05.2011, 12:59
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

this is no issue of jdownloader
this is a issue caused by your system.

truecrypt and jd works fine over here (linux+windows)

do you have hs_err files in your jd folder?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #3  
Old 14.05.2011, 13:14
reddragon
Guest
 
Posts: n/a
Default

hey,

jep there is a hs_err_pid4196.log file. Should i post it here?

Don't know what you mean with "this is a issue caused by your system.". I can reproduce the error 100% with the above steps and parts of jdownloader stop working without error message!

Thank you for the very fast response!
reddragon
Reply With Quote
  #4  
Old 14.05.2011, 13:32
remi
Guest
 
Posts: n/a
Default

Yes, please attach the file. It'll show the cause of your java crash.

Why are you using a 64 bits version of java?
Reply With Quote
  #5  
Old 14.05.2011, 13:46
reddragon
Guest
 
Posts: n/a
Default

Ok,

http://goo.gl/49YVh
Seeing the timestep i would say the file was created as I was trying to get a "Emergency Log" out of this, but as there where only "Plugin Load" entries in the Log i did not post it

Hope this makes things clear!

Why should i not use 64bit version of java?

Again thanks for the fast response,
reddragon
Reply With Quote
  #6  
Old 14.05.2011, 13:46
pspzockerscene's Avatar
pspzockerscene pspzockerscene is offline
Community Manager
 
Join Date: Mar 2009
Location: Deutschland
Posts: 70,922
Default

I also can't confirm this bug.
I run JDownloader nearly every day from my encrypted disk^^

GreeZ pspzockerscene
__________________
JD Supporter, Plugin Dev. & Community Manager

Erste Schritte & Tutorials || JDownloader 2 Setup Download
Spoiler:

A users' JD crashes and the first thing to ask is:
Quote:
Originally Posted by Jiaz View Post
Do you have Nero installed?
Reply With Quote
  #7  
Old 14.05.2011, 13:47
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

hs_err files = something on your system caused java to crash.
jd cannot crash java, the worst that can happen is a freeze (not responding)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #8  
Old 14.05.2011, 13:47
reddragon
Guest
 
Posts: n/a
Default

But did you ever unmount jdownloader while its running?
Reply With Quote
  #9  
Old 14.05.2011, 13:48
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

use this
http://support.jdownloader.org/index...kbarticleid=12
then it will work again

the crash is caused by buggy graphic card driver ( iguess ati)
__________________
JD-Dev & Server-Admin
Reply With Quote
  #10  
Old 14.05.2011, 13:49
reddragon
Guest
 
Posts: n/a
Default

Well i will try, thank you
But i have latest Nvidia driver...
Reply With Quote
  #11  
Old 14.05.2011, 13:50
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

the log shows crash in graphic driver please try the link
__________________
JD-Dev & Server-Admin
Reply With Quote
  #12  
Old 14.05.2011, 13:50
reddragon
Guest
 
Posts: n/a
Default

I do, I do 1 moment
Reply With Quote
  #13  
Old 14.05.2011, 13:53
reddragon
Guest
 
Posts: n/a
Default

Bug is still there, sorry!
But now i have started it over command line and get some exceptions in the console output:

Spoiler:

Plugins: /jd/plugins/decrypter/NmStrm24Com.class
P:\programs\JDownloader\config\WEBUPDATE.cfg (Das System kann die angegebene Dat
ei nicht finden)
Found branches on http://update0.jdownloader.org/:
last09
xmas

OS Filter: /jd/plugins/hoster/UploadMachineCom.class
OS Filter: /jd/plugins/hoster/Mach2UploadCom.class
OS Filter: /tools/linux/unrar/unrar
OS Filter: /tools/mac/unrar2/unrar
Update: []
PreDupeChecked: no mirror found!
PreDupeChecked: no mirror found!
Exception in thread "JD-StartDownloads" java.lang.NoClassDefFoundError: jd/plugi
ns/AccountMenuItemSyncer$1
at jd.plugins.AccountMenuItemSyncer.onAccountControllerEvent(Unknown Sou
rce)
at jd.controlling.AccountController$1.fireEvent(Unknown Source)
at jd.controlling.AccountController$1.fireEvent(Unknown Source)
at jd.event.JDBroadcaster.fireEvent(Unknown Source)
at jd.controlling.AccountController.throwUpdateEvent(Unknown Source)
at jd.plugins.PluginForHost.handle(Unknown Source)
at jd.controlling.SingleDownloadController.handlePlugin(Unknown Source)
at jd.controlling.SingleDownloadController.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: jd.plugins.AccountMenuItemSyncer$1
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 8 more
Exception in thread "JD-StartDownloads" java.lang.NoClassDefFoundError: jd/plugi
ns/AccountMenuItemSyncer$1
at jd.plugins.AccountMenuItemSyncer.onAccountControllerEvent(Unknown Sou
rce)
at jd.controlling.AccountController$1.fireEvent(Unknown Source)
at jd.controlling.AccountController$1.fireEvent(Unknown Source)
at jd.event.JDBroadcaster.fireEvent(Unknown Source)
at jd.controlling.AccountController.throwUpdateEvent(Unknown Source)
at jd.plugins.PluginForHost.handle(Unknown Source)
at jd.controlling.SingleDownloadController.handlePlugin(Unknown Source)
at jd.controlling.SingleDownloadController.run(Unknown Source)
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: jd/gui/sw
ing/jdgui/settings/panels/premium/PremiumTable$1
at jd.gui.swing.jdgui.settings.panels.premium.PremiumTable.fireTableChan
ged(PremiumTable.java:89)
at jd.gui.swing.jdgui.settings.panels.premium.Premium.fireTableChanged(P
remium.java:244)
at jd.gui.swing.jdgui.settings.panels.premium.Premium.actionPerformed(Pr
emium.java:260)
at javax.swing.Timer.fireActionPerformed(Unknown Source)
at javax.swing.Timer$DoPostEvent.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at jd.gui.swing.jdgui.events.EDTEventQueue.dispatchEvent(EDTEventQueue.j
ava:245)
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)
Caused by: java.lang.ClassNotFoundException: jd.gui.swing.jdgui.settings.panels.
premium.PremiumTable$1
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 14 more
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: jd/gui/sw
ing/jdgui/views/downloadview/TableAction
at jd.gui.swing.jdgui.views.downloadview.DownloadTable.mousePressed(Down
loadTable.java:316)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at jd.gui.swing.jdgui.events.EDTEventQueue.dispatchEvent(EDTEventQueue.j
ava:245)
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)
Caused by: java.lang.ClassNotFoundException: jd.gui.swing.jdgui.views.downloadvi
ew.TableAction
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 23 more
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: jd/gui/sw
ing/jdgui/views/downloadview/TableAction
at jd.gui.swing.jdgui.views.downloadview.DownloadTable.mousePressed(Down
loadTable.java:316)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at jd.gui.swing.jdgui.events.EDTEventQueue.dispatchEvent(EDTEventQueue.j
ava:245)
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)
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: de/javaso
ft/plaf/synthetica/SyntheticaMenuItemUI$MaxWidth
at de.javasoft.plaf.synthetica.SyntheticaMenuItemUI.getPreferredMenuItem
Size(SyntheticaMenuItemUI.java:186)
at de.javasoft.plaf.synthetica.SyntheticaMenuUI.getPreferredMenuItemSize
(SyntheticaMenuUI.java:102)
at javax.swing.plaf.basic.BasicMenuItemUI.getPreferredSize(Unknown Sourc
e)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.BoxLayout.checkRequests(Unknown Source)
at javax.swing.BoxLayout.preferredLayoutSize(Unknown Source)
at javax.swing.plaf.synth.DefaultMenuLayout.preferredLayoutSize(Unknown
Source)
at java.awt.Container.preferredSize(Unknown Source)
at java.awt.Container.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
at javax.swing.JMenu.getPopupMenuOrigin(Unknown Source)
at javax.swing.JMenu.setPopupMenuVisible(Unknown Source)
at javax.swing.JPopupMenu.menuSelectionChanged(Unknown Source)
at javax.swing.MenuSelectionManager.setSelectedPath(Unknown Source)
at javax.swing.plaf.basic.BasicMenuUI.appendPath(Unknown Source)
at javax.swing.plaf.basic.BasicMenuUI.access$200(Unknown Source)
at javax.swing.plaf.basic.BasicMenuUI$Handler.mousePressed(Unknown Sourc
e)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at jd.gui.swing.jdgui.events.EDTEventQueue.dispatchEvent(EDTEventQueue.j
ava:245)
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)
Caused by: java.lang.ClassNotFoundException: de.javasoft.plaf.synthetica.Synthet
icaMenuItemUI$MaxWidth
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 40 more
PreDupeChecked: no mirror found!
PreDupeChecked: no mirror found!
Exception in thread "AWT-EventQueue-1" java.lang.NoClassDefFoundError: jd/gui/sw
ing/jdgui/userio/UserIOGui$4
at jd.gui.swing.jdgui.userio.UserIOGui.showConfirmDialog(UserIOGui.java:
93)
at jd.gui.UserIO.requestConfirmDialog(UserIO.java:148)
at jd.gui.UserIO.requestConfirmDialog(UserIO.java:267)
at jd.gui.swing.jdgui.JDGui.closeWindow(JDGui.java:407)
at jd.gui.swing.jdgui.menu.actions.ExitAction.onAction(ExitAction.java:3
4)
at jd.gui.swing.jdgui.actions.ToolBarAction.actionPerformed(ToolBarActio
n.java:91)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(Unknown Source
)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at jd.gui.swing.jdgui.events.EDTEventQueue.dispatchEvent(EDTEventQueue.j
ava:245)
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)
Caused by: java.lang.ClassNotFoundException: jd.gui.swing.jdgui.userio.UserIOGui
$4
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
... 34 more
Reply With Quote
  #14  
Old 14.05.2011, 13:56
reddragon
Guest
 
Posts: n/a
Default

So this is not solved, but now i get exceptions output (in cmd) whenever i click on something, which doesn't work (as i described above)

I launched it via the startup line you provided!

reddragon
Reply With Quote
  #15  
Old 14.05.2011, 13:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

i need hs_err file again
please post the complete log (url to log)

what do you mean unmount jdownloader while it is running?
__________________
JD-Dev & Server-Admin
Reply With Quote
  #16  
Old 14.05.2011, 13:57
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

use the launcher exe
the startup line you did something wrong
__________________
JD-Dev & Server-Admin
Reply With Quote
  #17  
Old 14.05.2011, 13:58
reddragon
Guest
 
Posts: n/a
Default

I have to go for a little while, sorry!
Will be back in 1-2 hours! Thank you for your support.
Maybe we should go into an instant chat for this issue, later

reddragon
Reply With Quote
  #18  
Old 14.05.2011, 13:58
remi
Guest
 
Posts: n/a
Cool

Quote:
Originally Posted by reddragon View Post
Why should i not use 64bit version of java?
If you don't need it for another java application, you certainly don't need it for jD. It will only take more memory and these versions are often more buggy.

I would try a safe 32 bits version of the JRE. Remove your current versions and replace it by JRE 1.6 update 17 or 21. See "**External links are only visible to Support Staff**.
Reply With Quote
  #19  
Old 14.05.2011, 14:04
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

when you unmount your drive you MUST close jdownloader before doing so.
you CANNOT let jd run and unmount and mount drive again. that will not work.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #20  
Old 14.05.2011, 14:08
remi
Guest
 
Posts: n/a
Default

@reddragon

You unmount a disk that is still in use by forcing the unmount. This is the mistake and might cause your java crashes.
Reply With Quote
  #21  
Old 14.05.2011, 15:25
reddragon
Guest
 
Posts: n/a
Default

Quote:
If you don't need it for another java application, you certainly don't need it for jD. It will only take more memory and these versions are often more buggy.

I would try a safe 32 bits version of the JRE. Remove your current versions and replace it by JRE 1.6 update 17 or 21. See "**External links are only visible to Support Staff**.
I don't think this will fix the issue

Quote:
when you unmount your drive you MUST close jdownloader before doing so.
you CANNOT let jd run and unmount and mount drive again. that will not work.
Obviously that will not work... that's why i opened this thread!
But i see it as bug because it doesn't meet the expected outputs (see first post)
I even don't mind a FULL APP CRASH (that's why it is in the expected output). But Jdownloader gets into some very ugly state in which it is even impossible to close it in a normal way!

I think the problem here is that you catch an exception which you can't handle properly. So either hande it properly or let the application crash!

Quote:
@reddragon

You unmount a disk that is still in use by forcing the unmount. This is the mistake and might cause your java crashes.
Sorry but in my oppinion this IS a program bug. As I said some times already please let it crash or fix the issue :(


reddragon
Reply With Quote
  #22  
Old 14.05.2011, 15:46
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

this is no program bug. i dont know any tool that works correctly after you pull out its drive
jd cannot crash java as i told you and there is no way to handle this. also no program check if its drive is still present or not.

close jd BEFORE unmounting its truecrypt drive. This is no bug and nothing to fix here
__________________
JD-Dev & Server-Admin
Reply With Quote
  #23  
Old 14.05.2011, 16:08
reddragon
Guest
 
Posts: n/a
Default

Ok i think i should explain my situation a little more.

I configured my system in the following ways:
- Truecrypt will unmount all devices on user logoff and sleeping mode
- I start download with JDownloader
- Go away from the PC

after some time pc goes into sleep mode
=> Truecrypt will force unmount the devices
then i come to the pc again
=> after login JDownloader is in this weird state

In my opinion this IS in fact a bug in the software (java runtime or jdownloader)
In my opinion the application should either fail (crash), shutdown silently (close properly), or work properly after remounting the volume

As you can see there is no "Close Jdownloader before unmounting the device". I can only kill the process after login (because as i stated before closing is not an option)

Quote:
i dont know any tool that works correctly after you pull out its drive
Sorry but this is poor reasoning: "Because all other application fail mine fails too..."

I would say it this way: There are only very few application you would like to have on a encrypted device... and because encrypted devices can be unplugged you should handle this scenario...
Thats the reason other tools don't handle this scenario but Jdownloader has to face it (my opinion)

I would recommend some fixes:
- recommend not to install jdownloader on a encrypted device and add an option to save all settings/configs/temp on a specific device and handle it properly on unmounting
- let Jdownloader crash (the exceptions are there)
- Handle the exceptions (i posted the already) and force closing JDownloader
- handle the exceptions somehow properly

Fixes i can do:
- Add a windows task which will kill JDownloader process on sleep mode (but this can't be your recommend fix... at least i hope it isn't)


Again thank you very much for all your very fast answers,
reddragon
Reply With Quote
  #24  
Old 14.05.2011, 16:22
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

no tool can work properly after unmount/mount, cause all the filehandles are invalid an no longer working. all fileconnections are offline!

there is no way to handle anything cause there is no *hey...my drive is gone* exception. there is no way to tell *a...he unmounted and remounted the drive*. no tool can do that. and i told you that java itself does not crash. it can only go into an unpredictably state.

the only correct solution to this would be. stop and close jd before logout or standby.
both is not supported by normal java methods, so this would need special windows hooking. if someone of the devs has time to work on this, then this can be done.

i'm very sorry to tell but this is very special use-case with no high priority.

i can understand your need to unmount the drive but the way you do it, will break every app you can find.

about suggestions:
1.) then you can put jd on normal disk...if you save config/settings on a temp folder, why put jd on encrypted disk in first place? when temp folder is encrypted too, why unmount jd disk?
2.) as there does not exist an exception like *hey my drive is gone* there is now way to handle this
rest.) no coder in the world will start checking for *hey is the drive gone* for every existing exception in the world.
__________________
JD-Dev & Server-Admin
Reply With Quote
  #25  
Old 14.05.2011, 16:49
reddragon
Guest
 
Posts: n/a
Default

Hmm.
I understand this is low priority but i think you can understand (I'm a developer myself) why I posted this is the first place, and why I see this as bug in the program.

What i really mean with 1):
You provide an option where to safe all critical data (links, hoster passwords, logs ....)
And then i install JDownloader in a non encrypted area and link to the encrypted folder. Then you have the possibility to handle unmount (FileNotFoundException or something like that). See what i mean?
As a workaround for now i can try to do something with ntfs-links...i will play around a little

2.) There are other possibilies... For example load all you need in the ram in the first place... Or copy all not critical data in a temp folder... Maybe there are others

As you can see in one of my earlier posts you get always a "java.lang.NoClassDefFoundError" in my described situation! You should not catch this exception and think you are in this situation, but you can check if you are in this situation by catching this exception and checking if the drive is there (or a specific file is there, if it is the volume may have been remounted).
Or you do not catch this exception at all = > the app crashes as expected
(Sorry if i completly missed the point here, im not a java developer and i don't know how the jvm behaves in this situation)

Im sorry for my persistent asking...
I can understand not looking into the exception (low priority)... but i hope in the long term you can give me the option to exclude data files from the program into a different directory (which could be on a encrypted drive), so i have my links/passwords safe and i can use JDownloader properly.

Thank you for your patience,
reddragon
Reply With Quote
  #26  
Old 14.05.2011, 17:01
Jiaz's Avatar
Jiaz Jiaz is offline
JD Manager
 
Join Date: Mar 2009
Location: Germany
Posts: 79,290
Default

1.) can work, but needs a lot of rewriting. so this would be the way to go
2.) loading everything into memory = fail because then ppl start complaining why jd needs more memory than usual + you cant just load all into memory, cause the os might flush the buffers (handlers) then the file needs to be read again.

i can only think of some way for solution 1 at this moment
maybe there is a way to let truecrypt start a script/hook before unmounting. that way you can close jd properly before unmounting
__________________
JD-Dev & Server-Admin
Reply With Quote
  #27  
Old 14.05.2011, 17:17
reddragon
Guest
 
Posts: n/a
Default

Thank you very much!
I don't know if there is such a thing in truecrypt.

My goal here was only to make myself clear and report a bug. And i think now you know what i mean, and maybe there will be a long term solution for that. At least i hope so, and at least you are now aware of this "issue".

Have a nice weekend, and again thank you!
reddragon
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +2. The time now is 09:31.
Provided By AppWork GmbH | Privacy | Imprint
Parts of the Design are used from Kirsch designed by Andrew & Austin
Powered by vBulletin® Version 3.8.10 Beta 1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.