You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
I noticed a BadLocationException while using the importer. It is already catched here.
Steps to reproduce
Start the importer from the shell via java -jar ./wizard/target/52n-sos-importer-wizard-bin.jar
Select a .csv file, press Next
Configure the .csv header: set Ignore data until line to 1, press Next
Press Back
Find the following stacktrace in the shell
[AWT-EventQueue-0] ERROR Step2Panel - Exception thrown: No such line
javax.swing.text.BadLocationException: No such line
at javax.swing.JTextArea.getLineStartOffset(JTextArea.java:409) ~[na:1.7.0_79]
at org.n52.sos.importer.view.Step2Panel.setCSVFileHighlight(Step2Panel.java:543) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at org.n52.sos.importer.view.Step2Panel$5.stateChanged(Step2Panel.java:362) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at javax.swing.JSpinner.fireStateChanged(JSpinner.java:457) [na:1.7.0_79]
at javax.swing.JSpinner$ModelListener.stateChanged(JSpinner.java:385) [na:1.7.0_79]
at javax.swing.AbstractSpinnerModel.fireStateChanged(AbstractSpinnerModel.java:119) [na:1.7.0_79]
at javax.swing.SpinnerNumberModel.setValue(SpinnerNumberModel.java:447) [na:1.7.0_79]
at org.n52.sos.importer.view.Step2Panel.setFirstLineWithData(Step2Panel.java:563) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at org.n52.sos.importer.controller.Step2Controller.loadSettings(Step2Controller.java:141) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at org.n52.sos.importer.controller.MainController.setStepController(MainController.java:86) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at org.n52.sos.importer.controller.BackNextController.backButtonClicked(BackNextController.java:96) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at org.n52.sos.importer.view.BackNextPanel$BackButtonClicked.actionPerformed(BackNextPanel.java:129) [52n-sos-importer-wizard-bin.jar:0.5.0-SNAPSHOT]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) [na:1.7.0_79]
...
I noticed a
BadLocationException
while using the importer. It is already catched here.Steps to reproduce
Start the importer from the shell via
java -jar ./wizard/target/52n-sos-importer-wizard-bin.jar
Select a .csv file, press Next
Configure the .csv header: set
Ignore data until line
to1
, press NextPress Back
Find the following stacktrace in the shell
Related
The text was updated successfully, but these errors were encountered: