On Fri, Sep 29, 2023, at 18:51, Scott Deboy wrote:
> There should be a default config. Do you have anything in the .chainsaw
> directory? If so, delete it.

Yes figured it right when I received your message.

The application created this directory. Looking into it, there were files as 
chainsaw.settings.properties. These files looked incomplete. 

After I deleted it, it actually worked. No idea why this was created that way.


>
> On Fri, Sep 29, 2023, 9:49 AM Christian Grobmeier <grobme...@apache.org>
> wrote:
>
>> OK, got it running, after commenting those lines:
>>
>> //statusBar.setSelected(config.getBoolean("statusBar"));
>> statusBar.setSelected(false);
>> //receivers.setSelected(config.getBoolean("showReceivers"));
>> receivers.setSelected(false);
>> //toolBar.setSelected(config.getBoolean("toolbar"));
>> toolBar.setSelected(false);
>> //configureTabPlacement(config.getInt("tabPlacement"));
>> configureTabPlacement(1);
>>
>> Looks like the missing configuration is a problem.
>> Is there any configuration I should add to the startup?
>>
>>
>> On Fri, Sep 29, 2023, at 18:36, Christian Grobmeier wrote:
>> > I have installed Netbeans and tried it with that.
>> > I also tried Corretta 11, Zulu 11, Zulu 11 with FX. OpenJDK 11 is no
>> > longer available for me (on Mac) it seems.
>> >
>> > Still no success. The splash opens, but no further movement.
>> >
>> > I have two errors earlier, but I don't think they break anything:
>> >
>> > ERROR org.apache.log4j.chainsaw.LogUI - Uncaught exception in thread
>> > Thread[AWT-EventQueue-0,6,main]
>> > java.util.NoSuchElementException: Key 'statusBar' does not map to an
>> > existing object!
>> >       at
>> >
>> org.apache.commons.configuration2.AbstractConfiguration.throwMissingPropertyException(AbstractConfiguration.java:1902)
>>
>> > ~[commons-configuration2-2.7.jar:2.7]
>> >       at
>> >
>> org.apache.commons.configuration2.AbstractConfiguration.checkNonNullValue(AbstractConfiguration.java:1889)
>>
>> > ~[commons-configuration2-2.7.jar:2.7]
>> >
>> > and the underlying cause is printed extra:
>> >
>> > java.util.NoSuchElementException: Key 'statusBar' does not map to an
>> > existing object!
>> >       at
>> >
>> org.apache.commons.configuration2.AbstractConfiguration.throwMissingPropertyException(AbstractConfiguration.java:1902)
>> >       at
>> >
>> org.apache.commons.configuration2.AbstractConfiguration.checkNonNullValue(AbstractConfiguration.java:1889)
>> >
>> >
>> > Either it is something special in the OpenJDK or maybe even related to
>> > the Mac. I assume you are on Windows. Could you try with another JDK,
>> > maybe Zulu or Correta?
>> >
>> >
>> >
>> >
>> >
>> > --
>> > The Apache Software Foundation
>> > V.P., Data Privacy
>> >
>> > On Fri, Sep 29, 2023, at 17:19, Robert Middleton wrote:
>> >> It starts up for me with Netbeans and OpenJDK 11.  I would expect an
>> >> exception/stack trace to be printed to stderr if an exception was thrown
>> >> that caused it to fail to load.
>> >>
>> >> -Robert Middleton
>> >>
>> >> On Fri, Sep 29, 2023 at 9:17 AM Christian Grobmeier <
>> grobme...@apache.org>
>> >> wrote:
>> >>
>> >>> Hi,
>> >>>
>> >>> I have found out Chainsaw requires Java 11. I used this from IntelliJ
>> and
>> >>> run LogUI.
>> >>> However, even when there is no error message, the Splash Screen never
>> >>> disappears.
>> >>> Is there any specific verion of Java I need?
>> >>>
>> >>> These are he last lines i see:
>> >>>
>> >>> 15:15:29.580 [AWT-EventQueue-0] DEBUG
>> >>> org.apache.log4j.chainsaw.LogPanelLoggerTreeModel - Adding to Map
>> >>> org.apache.log4j.chainsaw.LogUI
>> >>> 15:15:29.580 [AWT-EventQueue-0] DEBUG
>> >>> org.apache.log4j.chainsaw.LogPanelLoggerTreeModel - Adding to Map
>> >>> org.apache.log4j.chainsaw.LogPanelLoggerTreeModel
>> >>> 15:15:29.581 [AWT-EventQueue-0] DEBUG
>> >>> org.apache.log4j.chainsaw.LogPanelLoggerTreeModel - Adding to Map
>> >>> org.apache.log4j.chainsaw.LoggerNameTreePanel
>> >>>
>> >>> Then no further actitivty,
>> >>>
>> >>> Any ideas?
>> >>>
>> >>> --
>> >>> The Apache Software Foundation
>> >>> V.P., Data Privacy
>> >>>
>>

Reply via email to