Problems with browser

View: New views
7 Messages — Rating Filter:   Alert me  

Problems with browser

by Paolo-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

HI, I've posted something about this already, but in the beginning I've
probably underestimated the problem.

It is quite simple, While browsing files in a folder or folders I get an
internal error message. I am given a choice of quitting or continuing to use
the program.
If I choose to continue working the program hangs for a while, then I'm
allowed to move to a different folder. Trying to browse the folder that
caused the problem will cause it to happen again.

If I ask to view the details about the error I get the files I'm attaching.

If I just quit LightZone, on the next startup it will fail to start. On the
second next time, it will realize something went wrong last time and will ask
to reset my preferences.

Editing works flawlessly. The problems with browser are annoying, though.

Anybody else has problems with browsing?
Thanks.
Paolo

--
Paolo

java.lang.NullPointerException
        at com.lightcrafts.ui.datatips.xswing.TreeDataTipCell.getRendererComponent(TreeDataTipCell.java:61)
        at com.lightcrafts.ui.datatips.xswing.DataTipComponent.paintComponent(DataTipComponent.java:85)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent._paintImmediately(Unknown Source)
        at javax.swing.JComponent.paintImmediately(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(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.pumpEventsForFilter(Unknown Source)
        at java.awt.Dialog$1.run(Unknown Source)
        at java.awt.Dialog$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.awt.Dialog.show(Unknown Source)
        at java.awt.Component.show(Unknown Source)
        at java.awt.Component.setVisible(Unknown Source)
        at java.awt.Window.setVisible(Unknown Source)
        at java.awt.Dialog.setVisible(Unknown Source)
        at com.lightcrafts.platform.DefaultProgressDialog$ProgressListenerImpl.showAndWait(DefaultProgressDialog.java:300)
        at com.lightcrafts.platform.DefaultProgressDialog.showProgress(DefaultProgressDialog.java:109)
        at com.lightcrafts.app.ComboFrame.initImages(ComboFrame.java:818)
        at com.lightcrafts.app.ComboFrame.showFolder(ComboFrame.java:336)
        at com.lightcrafts.app.ComboFrame.access$400(ComboFrame.java:59)
        at com.lightcrafts.app.ComboFrame$4.folderSelectionChanged(ComboFrame.java:282)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher.notifyListeners(FolderSelectionDispatcher.java:48)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher$1.valueChanged(FolderSelectionDispatcher.java:29)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
        at javax.swing.JTree.setSelectionPath(Unknown Source)
        at com.lightcrafts.ui.browser.folders.FolderTreeModel$1.run(FolderTreeModel.java:67)
        at java.awt.event.InvocationEvent.dispatch(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)
java.lang.RuntimeException: Errore di inizializzazione del Browser
        at com.lightcrafts.app.ComboFrame.initImages(ComboFrame.java:823)
        at com.lightcrafts.app.ComboFrame.showFolder(ComboFrame.java:336)
        at com.lightcrafts.app.ComboFrame.<init>(ComboFrame.java:240)
        at com.lightcrafts.app.Application.createNewComboFrame(Application.java:1320)
        at com.lightcrafts.app.Application.openEmpty(Application.java:545)
        at com.lightcrafts.app.Application$10.run(Application.java:1970)
        at java.awt.event.InvocationEvent.dispatch(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)
Caused by: java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(Unknown Source)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(Unknown Source)
        at java.nio.charset.CharsetEncoder.encode(Unknown Source)
        at java.lang.StringCoding$StringEncoder.encode(Unknown Source)
        at java.lang.StringCoding.encode(Unknown Source)
        at java.lang.String.getBytes(Unknown Source)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source)
        at java.io.File.exists(Unknown Source)
        at com.lightcrafts.utils.filecache.FileCache.contains(FileCache.java:71)
        at com.lightcrafts.ui.browser.model.ImageDatum.readRotateCache(ImageDatum.java:489)
        at com.lightcrafts.ui.browser.model.ImageDatum.getMetadata(ImageDatum.java:264)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:90)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)

This last line is repeated hundreds times or so.
java.lang.RuntimeException: Errore di inizializzazione del Browser
        at com.lightcrafts.app.ComboFrame.initImages(ComboFrame.java:823)
        at com.lightcrafts.app.ComboFrame.showFolder(ComboFrame.java:336)
        at com.lightcrafts.app.ComboFrame.access$400(ComboFrame.java:59)
        at com.lightcrafts.app.ComboFrame$4.folderSelectionChanged(ComboFrame.java:282)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher.notifyListeners(FolderSelectionDispatcher.java:48)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher$1.valueChanged(FolderSelectionDispatcher.java:29)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
        at javax.swing.JTree.setSelectionPath(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.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 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.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(Unknown Source)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(Unknown Source)
        at java.nio.charset.CharsetEncoder.encode(Unknown Source)
        at java.lang.StringCoding$StringEncoder.encode(Unknown Source)
        at java.lang.StringCoding.encode(Unknown Source)
        at java.lang.String.getBytes(Unknown Source)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source)
        at java.io.File.exists(Unknown Source)
        at com.lightcrafts.utils.filecache.FileCache.contains(FileCache.java:71)
        at com.lightcrafts.ui.browser.model.ImageDatum.readRotateCache(ImageDatum.java:489)
        at com.lightcrafts.ui.browser.model.ImageDatum.getMetadata(ImageDatum.java:264)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:90)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)

This last line is repeated hundreds times or so.


_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser

by Jacek Gozdz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Anybody else has problems with browsing?
> Thanks.
> Paolo

Not at all

_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser

by Marcel Meckel :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Caused by: java.lang.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(Unknown Source)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(Unknown Source)

Hi,

looks like it could have something to do with UTF-8 characters in your
directory- or filenames. do you have special chars in file-/dirnames?

ciao,
marcel.

--
Registrierter Linux User #307343
_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser

by Bugzilla from risto@kurppa.fi :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

My only problem w. the browser is that selecting an image takes
forever, up to 2-3 seconds (on a core2duo 2.4GHz + 2GB). I think
there's something funny there that could possibly be fixed..



r
--
rhk

| risto h. kurppa
| risto at kurppa dot fi
| http://risto.kurppa.fi
| http://rhkrhk.jaiku.com <-- uusi
_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser

by Jacek Gozdz :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> My only problem w. the browser is that selecting an image takes
> forever, up to 2-3 seconds (on a core2duo 2.4GHz + 2GB). I think
> there's something funny there that could possibly be fixed..

Check if get faster if image is selected again. LZ creates previews and
this is propably time needed to do that if the preview is not cached. 2-3
seconds is still faster than on my PC


_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser

by Niku Toivola :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 6/11/07, Paolo <e-paul@...> wrote:
> It is quite simple, While browsing files in a folder or folders I get an
> internal error message. I am given a choice of quitting or continuing to use
> the program.
> If I choose to continue working the program hangs for a while, then I'm
> allowed to move to a different folder. Trying to browse the folder that
> caused the problem will cause it to happen again.

I had the same problem a while ago and eventually tracked it down to
one LZN file. There were two LZN files for one original image, named
IMG_1234.lzn and img_1234.lzn, and after removing the lower case one,
everything started working again. I figure it was either the file
names (perhaps LightZone internally handles file names case
insensitively so the two names caused a conflict) or the lower case
one was just corrupted somehow.

You could start by moving all LZN files out of the folder, verifying
that you can now browse to it, then move the LZN files back a few at a
time and see at which point it breaks.

//Niku

--
Niku Toivola <niku.toivola@...>
_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone

Re: Problems with browser and memory usage

by Paolo-23 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I've tried an older release and it works fine. no crashes when browsing, so my
environment should not be the problem. Anyway, I attach the log file.

I've also noticed that LightZone only uses part of my memory. I have 1,5 Gig
on my system, but the log says:
Max Memory: 790822912
Total Memory: 5177344

When I start LightZone, if I remember well, it should automatically set itself
to use half of my pc's memory, but even after a preferences reset it
configures itself in order to only use 456 MB, that is less than one third of
total RAM.
I can change that by hand, but could it be it doesn't recognizes it properly?
Paolo


On Sunday 10 June 2007 23:50, Paolo wrote:

> HI, I've posted something about this already, but in the beginning I've
> probably underestimated the problem.
>
> It is quite simple, While browsing files in a folder or folders I get an
> internal error message. I am given a choice of quitting or continuing to
> use the program.
> If I choose to continue working the program hangs for a while, then I'm
> allowed to move to a different folder. Trying to browse the folder that
> caused the problem will cause it to happen again.
>
> If I ask to view the details about the error I get the files I'm attaching.
>
> If I just quit LightZone, on the next startup it will fail to start. On the
> second next time, it will realize something went wrong last time and will
> ask to reset my preferences.
>
> Editing works flawlessly. The problems with browser are annoying, though.
>
> Anybody else has problems with browsing?
> Thanks.
> Paolo
--
Paolo

[LightZone.log]

This is LightZone 2.4 (8167)
Verifica delle librerie in corso
Inizializzazione delle utilities del motore di elaborazione in corso
Max Memory: 790822912
Total Memory: 5177344
Running on 1 processors
Allocating -298MB for the image cache.
found sRGB IEC61966-2.1
Color compatibility mode is off
Caricamento delle classi in corso
Scansione dei profili di colore in corso
Ripristino delle preferenze in corso
Avvio Logging
Scansione dei files salvati in corso
Apertura...
Light Crafts JAI Library - 02/05/07
java.lang.RuntimeException: Errore di inizializzazione del Browser
        at com.lightcrafts.app.ComboFrame.initImages(ComboFrame.java:823)
        at com.lightcrafts.app.ComboFrame.showFolder(ComboFrame.java:336)
        at com.lightcrafts.app.ComboFrame.access$400(ComboFrame.java:59)
        at com.lightcrafts.app.ComboFrame$4.folderSelectionChanged(ComboFrame.java:282)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher.notifyListeners(FolderSelectionDispatcher.java:48)
        at com.lightcrafts.ui.browser.folders.FolderSelectionDispatcher$1.valueChanged(FolderSelectionDispatcher.java:29)
        at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(Unknown Source)
        at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(Unknown Source)
        at javax.swing.JTree.setSelectionPath(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
        at javax.swing.plaf.basic.BasicTreeUI$Handler.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 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.StackOverflowError
        at sun.nio.cs.UTF_8$Encoder.encodeArrayLoop(Unknown Source)
        at sun.nio.cs.UTF_8$Encoder.encodeLoop(Unknown Source)
        at java.nio.charset.CharsetEncoder.encode(Unknown Source)
        at java.lang.StringCoding$StringEncoder.encode(Unknown Source)
        at java.lang.StringCoding.encode(Unknown Source)
        at java.lang.String.getBytes(Unknown Source)
        at java.io.UnixFileSystem.getBooleanAttributes0(Native Method)
        at java.io.UnixFileSystem.getBooleanAttributes(Unknown Source)
        at java.io.File.exists(Unknown Source)
        at com.lightcrafts.utils.filecache.FileCache.contains(FileCache.java:71)
        at com.lightcrafts.ui.browser.model.ImageDatum.readRotateCache(ImageDatum.java:489)
        at com.lightcrafts.ui.browser.model.ImageDatum.getMetadata(ImageDatum.java:264)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:90)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)

(note: deleted many more lines, all the same)

        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
        at com.lightcrafts.ui.browser.model.ImageDatumComparator.compare(ImageDatumComparator.java:101)
EventThread blocked for 2,004 seconds
Error logging successful


_______________________________________________
LightZone mailing list
LightZone@...
http://kast-dev.com/mailman/listinfo/lightzone