Welcome to the JFrog JIRA. "Where Frogs Can Code!"
Issue Details (XML | Word | Printable)

Key: STEL-13
Type: Bug Bug
Status: Resolved Resolved
Resolution: Cannot Reproduce
Priority: Normal Normal
Assignee: Jerome Beau
Reporter: Frederic Simon
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Stellarium4java

Loading cities hangs the software

Created: 04/Feb/08 08:45 PM   Updated: 05/Feb/08 10:44 PM
Component/s: None
Affects Version/s: 1.0
Fix Version/s: 1.0

Time Tracking:
Not Specified


 Description  « Hide
I got the exception below and the program hanged (not crashed):

Load star names from C:\Documents and Settings\user\My Documents\Stellarium\data/sky_cultures/western/star_names.fab
The semaphore GlCoreInit is done
The semaphore GlInit is done
Loading Cities data...
Waiting for UiInit for another 11000 ms

...no position data for Baxendell's unphotographable nebula 7088
...no position data for Pelican nebula I5067 I5067, 70
...no position data for ?³ Cyg nebula I1318 Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: "45÷10"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at java.lang.Integer.parseInt(Unknown Source)
at org.stellarium.StelUtility.getDecAngle(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.loadCities(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.createLocationConfigTab(Unknown Source)
at org.stellarium.ui.dialog.ConfigDialog.<init>(Unknown Source)
at org.stellarium.ui.StelUIConf.createConfigWindow(Unknown Source)
at org.stellarium.ui.StelUI.initAsDisplayable(Unknown Source)
at org.stellarium.ui.StelSdl.display(Unknown Source)
at com.sun.opengl.impl.GLDrawableHelper.display(GLDrawableHelper.java:78)
at javax.media.opengl.GLCanvas$DisplayAction.run(GLCanvas.java:288)
at com.sun.opengl.impl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:194)
at javax.media.opengl.GLCanvas.maybeDoSingleThreadedWorkaround(GLCanvas.java:265)
at javax.media.opengl.GLCanvas.display(GLCanvas.java:130)
at javax.media.opengl.GLCanvas.paint(GLCanvas.java:142)
at javax.media.opengl.GLCanvas.update(GLCanvas.java:213)
at sun.awt.RepaintArea.updateComponent(Unknown Source)
at sun.awt.RepaintArea.paint(Unknown Source)
at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
at java.awt.Component.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)
Waiting for UiInit for another 10000 ms
Waiting for UiInit for another 9000 ms



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jerome Beau added a comment - 05/Feb/08 10:43 PM
As the problem does not reproduced on any platform (works fine on a Windows (Vista)) the priority has been decreased.

As there is not "45÷10" in the cities.fab file (nor 45°10), it may be a platform-conversion file issue or a corrupted file issue.

In any case the error handling has been improved in order to indicate the problematic line in the file.


Jerome Beau added a comment - 05/Feb/08 10:44 PM
The issue will be reopened once reproduced or when more information is available (line number at next problematic run typically).