Menu

Invisible GIU

2012-01-04
2012-09-04
  • Andy Russell-Boulton

    Hi All

    First of all: Happy New Year. Here's hoping 2012 is a good one!

    I have a problem with a mysterious vanishing GUI!

    I start WebHarvest to edit some scripts but the GUI no longer appears. I'm
    running Win XP SP3.

    javaw.exe is launched (one instance for each time I try to start webharvest)
    but no GUI. I thought webharvest_all_2.jar might have got corrupted somehow so
    I downloaded it again but this didn't solve the problem.

    Any ideas?

    Many thanks

    Andy

     
  • Andy Russell-Boulton

    Here's an interesting observation: WebHarvest still runs perfectly in command
    line mode.

    It's just the GUI that doesn't work!

    I'd really appreciate some help with this as WebHarvest is unusable as it is
    now.

    What additional info can I give that would be useful for diagnosis?

    Many thanks

    Andy

     
  • Andy Russell-Boulton

    Hello All

    This problem with the IDE has now happened on a second PC !!

    After WebHarvest on my laptop became unusable due to the IDE not launching, I
    loaded WebHarvest onto a 2nd PC. This worked fine for a few days but is now
    doing the same thing!

    I double-click webharvest_all_2.jar as usual. I can then see javaw.exe running
    as a process in the windows task manager. Nothing shows in the Application
    pane of the task manager however. When I shut the PC down, it pops up a window
    saying WebHarvest is running and needs to be closed but the GUI is never
    visible.

    WH still runs perfectly in command line mode.

    I've completely removed both WH and java from my PC and reloaded them. Made no
    difference.

    I'd really appreciate some help here as I cannot use WH at all now as I can't
    edit scripts in the IDE.

    Many thanks

    Andy

     
  • Andy Russell-Boulton

    I found that I still had a copy of webharvest_all_1.jar. The GUI/IDE on this
    version still works!

    Of course it doesn't recognise the version 2 processors such as "database" so
    it's of limited help.

     
  • Anonymous

    Anonymous - 2012-01-09

    Hi All

    Today I have the same problem.. on WinXP, but it was ok yesterday

    when I try to run the program by double clicking it also doesn't apear

    then I try to run GUI in cmd:

    java -jar webharvest_all_2.jar

    and it return folowing exception:

    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
    space

    at org.webharvest.gui.Settings.readString(Unknown Source)

    at org.webharvest.gui.Settings.readObject(Unknown Source)

    at org.webharvest.gui.Settings.readFromFile(Unknown Source)

    at org.webharvest.gui.Settings.<init>(Unknown Source)

    at org.webharvest.gui.Ide.<init>(Unknown Source)

    at CommandLine$1.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$000(Unknown Source)

    at java.awt.EventQueue$1.run(Unknown Source)

    at java.awt.EventQueue$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.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)

    So, it caused by lacking a memory

    Then I try to increase memory by setting -Xms1024m

    java -Xms1024m -jar webharvest_all_2.jar

    and it returns the other exceprion:

    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap
    space

    at java.lang.StringCoding$StringDecoder.decode(Unknown Source)

    at java.lang.StringCoding.decode(Unknown Source)

    at java.lang.StringCoding.decode(Unknown Source)

    at java.lang.String.<init>(Unknown Source)

    at java.lang.String.<init>(Unknown Source)

    at org.webharvest.gui.Settings.readString(Unknown Source)

    at org.webharvest.gui.Settings.readObject(Unknown Source)

    at org.webharvest.gui.Settings.readFromFile(Unknown Source)

    at org.webharvest.gui.Settings.<init>(Unknown Source)

    at org.webharvest.gui.Ide.<init>(Unknown Source)

    at CommandLine$1.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)

    at java.awt.EventQueue.access$000(Unknown Source)

    at java.awt.EventQueue$1.run(Unknown Source)

    at java.awt.EventQueue$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.security.AccessControlContext$1.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)

    Unfortunatly, I have only 2Gb of RAM on my computer and I'm not able to set
    more heap size by -Xms.. and I steel can't run the WH GUI

     
  • Anonymous

    Anonymous - 2012-01-09

    I've solve the problem when I looking through this forum

    The solution is:

    to remove webharvest.config file in your local temp

     
  • Andy Russell-Boulton

    Excellent! That worked.

    Thanks very much.

     

Log in to post a comment.