Donate Share

NumericalChameleon

Tracker: Bugs

5 "Restart"-item and restart when changing lang is not working - ID: 1601343
Last Update: Comment added ( sf-robot )

There's a problem with the current release: The restart-item and the
restart function after changing the language is not working anymore. I'm
using the current release including the patch released recently.

Tobias


Tobias Markus ( tm2006 ) - 2006-11-22 18:59

5

Closed

Later

Johann Nepomuk Loefflmann

Graphical User Interface

v1.6

Public


Comments ( 5 )

Date: 2006-12-08 03:20
Sender: sf-robotSourceForge.net Site Admin


This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).


Date: 2006-11-23 19:41
Sender: joneloSourceForge.net DonorProject AdminAccepting Donations


Thank you for gathering more information about the issue, Tobias.
It's reproducible. It's a bug.

Evaluation:
If a native Look and Feel (like the Windows Look and Feel) has been
selected, the restart function checks whether the frame decoration must be
handled. This check fails if the frame decoration property cannot be found.
In this case a NullPointerException occurs which prevents the GUI for
coming back.

Workaround:

Select Configuration -> Options -> OK

Easy, isn't it? The option dialog sets a valid value for the frame
decoration property automatically. As soon as this has been done once, the
problem will not occur anymore.

Final Fix:
I'm going to fix the bug in the next patch for the NumericalChameleon.



Date: 2006-11-23 14:38
Sender: tm2006


Thanks for the quick reply.

1. I'm using the "Windows" Look and Feel
2. Default language is German. I tried to change the language to English.
3. Actions necessary to reproduce the problem:
* Click on Configuration > Language > English. Then a message box appears
and says that the window will be back again. Then the program quits and I
have to restart it manually.

or

* Click on Program > Restart. Same messagebox appears, same error.

4. Logfiles and .nc.properties are attached.

Tobias


Date: 2006-11-22 20:10
Sender: joneloSourceForge.net DonorProject AdminAccepting Donations


Hi Tobias,

I cannot reproduce the problem. I have just changed the language a couple
of times and I each time I was able to restart the NC by selecting the
appropriate menu item without any problem.

Can you please gather more details about the problem?
What Look and Feel are you using?
From what language are you coming?
To what language are you going?
What exact actions are necessary to reproduce the problem?

Open a command prompt and run the NC on the command line:

> c: <--- drive depends on the
installation
> cd \Program Files\NumericalChameleon\bin <--- directory depends on
the installation
> java -jar nc.jar -verbose -logfile

Perform all actions until the problem occurs.

After the NC has been closed, you will find two logfiles called
nc1.6.0_out.log and nc1.6.0_err.log in the current working directory:

> dir /b *.log
nc1.6.0_out.log
nc1.6.0_err.log

Send both logfiles to jonelo AT jonelo DOT de or copy and paste them
here.
Please also send the content of your user properties:

> type "%USERPROFILE%\.NumericalChameleon\.nc.properties"

Thanks,
jonelo



Date: 2006-11-22 19:06
Sender: tm2006


I'm using Windows XP and Java Runtime Environment 5.0 Update 9.


Attached Files ( 3 )

Filename Description Download
nc1.6.0_err.log nc1.6.0_err.log Download
nc1.6.0_out.log nc1.6.0_out.log Download
.nc.properties nc_properties Download

Changes ( 10 )

Field Old Value Date By
status_id Pending 2006-12-08 03:20 sf-robot
close_date 2006-11-23 19:41 2006-12-08 03:20 sf-robot
status_id Open 2006-11-23 19:41 jonelo
resolution_id Accepted 2006-11-23 19:41 jonelo
close_date - 2006-11-23 19:41 jonelo
File Added 204154: .nc.properties 2006-11-23 14:39 tm2006
File Added 204153: nc1.6.0_out.log 2006-11-23 14:38 tm2006
File Added 204152: nc1.6.0_err.log 2006-11-23 14:38 tm2006
resolution_id None 2006-11-22 20:10 jonelo
assigned_to nobody 2006-11-22 20:10 jonelo