Freerouting barfs on Ω character #15

Open
opened 3 years ago by jebba · 1 comments
jebba commented 3 years ago
Owner

Freerouting barfs on the Ω character when processing. Good to see java die parsing content, no problems there no doubt.

Run thusly:

jebba@fshq:~/devel/forksand/gammaray2usb/kicad6$ freerouting -de gammaray2usb.dsn 
2021-12-28 12:21:02,164 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.NoClassDefFoundError: javax/naming/NamingException
2021-12-28 12:21:02,166 main WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup
2021-12-28 12:21:02,184 main ERROR Could not reconfigure JMX java.lang.NoClassDefFoundError: javax/management/InstanceNotFoundException
	at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:629)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691)
	at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708)
	at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153)
	at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45)
	at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194)
	at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:602)
	at eu.mihosoft.freerouting.logger.FRLogger.<clinit>(FRLogger.java:13)
	at eu.mihosoft.freerouting.gui.MainApplication.main(MainApplication.java:54)
Caused by: java.lang.ClassNotFoundException: javax.management.InstanceNotFoundException
	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
	at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
	... 10 more

2021-12-28 12:21:02.285 [main] INFO  Freerouting v1.4.5.1 (build-date: 2021-11-25)
2021-12-28 12:21:02.293 [main] INFO  Opening 'gammaray2usb.dsn'...

A java popup window then displays:

java.lang.Error: Illegal character '' was found at position 1179
Freerouting barfs on the Ω character when processing. Good to see java die parsing content, no problems there no doubt. Run thusly: ``` jebba@fshq:~/devel/forksand/gammaray2usb/kicad6$ freerouting -de gammaray2usb.dsn 2021-12-28 12:21:02,164 main WARN JNDI lookup class is not available because this JRE does not support JNDI. JNDI string lookups will not be available, continuing configuration. Ignoring java.lang.NoClassDefFoundError: javax/naming/NamingException 2021-12-28 12:21:02,166 main WARN JMX runtime input lookup class is not available because this JRE does not support JMX. JMX lookups will not be available, continuing configuration. Ignoring java.lang.IllegalArgumentException: java.lang.NoClassDefFoundError: Could not initialize class org.apache.logging.log4j.core.lookup.JmxRuntimeInputArgumentsLookup 2021-12-28 12:21:02,184 main ERROR Could not reconfigure JMX java.lang.NoClassDefFoundError: javax/management/InstanceNotFoundException at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerContext.java:629) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:691) at org.apache.logging.log4j.core.LoggerContext.reconfigure(LoggerContext.java:708) at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:263) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:153) at org.apache.logging.log4j.core.impl.Log4jContextFactory.getContext(Log4jContextFactory.java:45) at org.apache.logging.log4j.LogManager.getContext(LogManager.java:194) at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:602) at eu.mihosoft.freerouting.logger.FRLogger.<clinit>(FRLogger.java:13) at eu.mihosoft.freerouting.gui.MainApplication.main(MainApplication.java:54) Caused by: java.lang.ClassNotFoundException: javax.management.InstanceNotFoundException at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source) at java.base/java.lang.ClassLoader.loadClass(Unknown Source) ... 10 more 2021-12-28 12:21:02.285 [main] INFO Freerouting v1.4.5.1 (build-date: 2021-11-25) 2021-12-28 12:21:02.293 [main] INFO Opening 'gammaray2usb.dsn'... ``` A java popup window then displays: ``` java.lang.Error: Illegal character '' was found at position 1179 ```
jebba commented 3 years ago
Poster
Owner

Quick & dirty scriptlet fix to run before running Freerouting:

#!/bin/bash
# It barfs on Ω

sed -i -e 's/Ω//g' gammaray2usb.dsn

Quick & dirty scriptlet fix to run before running Freerouting: ``` #!/bin/bash # It barfs on Ω sed -i -e 's/Ω//g' gammaray2usb.dsn ```
jebba added the bug label 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: forksand/gammaray2usb#15
Loading…
There is no content yet.