imagej / imagej/tutorials

some error massage

Open
#103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Jupyter Notebook
Stars
200
Forks
117
PR merge metrics
No merged PRs in 30d

Description

ImageJ 1.54d; Java 1.8.0_345 [64-bit]; Windows 10 10.0; 98MB of 24520MB (<1%)

java.lang.NumberFormatException: For input string: "(CaO)2SiO2"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2043)
at sun.misc.FloatingDecimal.parseDouble(FloatingDecimal.java:110)
at java.lang.Double.parseDouble(Double.java:538)
at java.lang.Double.(Double.java:608)
at xjava.cluster.xClusterImageF.readCenters(xClusterImageF.java:1764)
at xCluster_Image.clustering(xCluster_Image.java:1958)
at xCluster_Image.run(xCluster_Image.java:723)
at ij.plugin.filter.PlugInFilterRunner.processOneImage(PlugInFilterRunner.java:266)
at ij.plugin.filter.PlugInFilterRunner.(PlugInFilterRunner.java:114)
at ij.IJ.runUserPlugIn(IJ.java:246)
at ij.IJ.runPlugIn(IJ.java:210)
at ij.Executer.runCommand(Executer.java:152)
at ij.Executer.run(Executer.java:70)
at java.lang.Thread.run(Thread.java:750)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by examining xjava.cluster.xClusterImageF.readCenters at line 1764 and the call path through xCluster_Image.clustering at line 1958. Reproduce the reported NumberFormatException with the input string "(CaO)2SiO2" and determine the expected handling; the issue is complete when that input no longer produces the reported failure.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.