stathissideris / dali

dali is a Clojure library for representing, exporting and manipulating the SVG graphics format.
296 stars 16 forks source link

Dali dep breaks Java Mission Flight Recorder #2

Open achesnais opened 8 years ago

achesnais commented 8 years ago

I was trying to profile my Clojure project using Java Mission control, but when trying to start the Flight Recorder feature, I kept getting the following error:

java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"

After much puzzlement I found the Dali dep was causing the error. I have no idea what's going wrong, but just thought I'd mention it here.

stathissideris commented 8 years ago

This does sound very puzzling. My initial guess is that its a classpath problem and it's somehow connected to Batik not being able to find an implementation of an XML parser. Could you provide a bit more detail about how to reproduce this?

achesnais commented 8 years ago

Sure!

So, you can:

You may get a warning asking you to enable Commercial Features, you can just click Ok. And then, the error should pop up: screen shot 2016-02-25 at 14 26 49

achesnais commented 8 years ago

FYI I had written a Stack Overflow question for this, and got the attention from someone on the JMC team: http://stackoverflow.com/questions/35621606/java-mission-control-flight-recorder-throws-parser-exception/35626498?noredirect=1#comment58974660_35626498

May be worth it getting in touch with them.

stathissideris commented 8 years ago

Many thanks for the detailed reporting, I haven't had a chance to look into this yet, but I will do it as soon as possible.