question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

javax.imageio.metadata.IIOInvalidTreeException: Invalid DHT node

See original GitHub issue
javax.imageio.metadata.IIOInvalidTreeException: Invalid DHT node
	at com.sun.imageio.plugins.jpeg.DHTMarkerSegment.<init>(DHTMarkerSegment.java:87) ~[?:1.8.0_212]
	at com.sun.imageio.plugins.jpeg.JPEGMetadata.setFromMarkerSequenceNode(JPEGMetadata.java:2223) ~[?:1.8.0_212]
	at com.sun.imageio.plugins.jpeg.JPEGMetadata.setFromNativeTree(JPEGMetadata.java:2208) ~[?:1.8.0_212]
	at com.sun.imageio.plugins.jpeg.JPEGMetadata.setFromTree(JPEGMetadata.java:2168) ~[?:1.8.0_212]
	at com.twelvemonkeys.imageio.plugins.jpeg.JPEGImageWriter.write(JPEGImageWriter.java:168)

Unfortunately I was not able to reproduce this issue as I got this from a customer. Will update this thread in case I get some new information. I am using https://mvnrepository.com/artifact/com.twelvemonkeys.imageio/imageio-jpeg/3.6 and Java 1.8.0_212.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
haraldkcommented, Feb 22, 2022

3.8.2 is out now.

1reaction
haraldkcommented, Feb 15, 2022

Hi Andreas,

With the current funding (ie. more or less nothing), I’m trying my best to make quarterly releases. Sometimes more, sometimes less. I would love to be able to provide timely, monthly bug fix releases, but I can’t afford it at the moment.

So, yes, soon. But can’t promise any date.

– Harald K

Read more comments on GitHub >

github_iconTop Results From Across the Web

javax.imageio.metadata.IIOInvalidTreeException: Invalid DHT ...
Attached image causes exception when trying to read image metadata: javax.imageio.metadata.IIOInvalidTreeException: Invalid DHT node at ...
Read more >
javax.imageio.metadata.IIOInvalidTreeException
the class JPEGMetadata method mergeSequenceSubtree. private void mergeSequenceSubtree(Node sequenceTree) throws IIOInvalidTreeException { NodeList children ...
Read more >
Examples of ae.javax.imageio.metadata.IIOInvalidTreeException ...
An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNode s fails. The node that led...
Read more >
IIOInvalidTreeException (Java Platform SE 8 )
An IIOInvalidTreeException is thrown when an attempt by an IIOMetadata object to parse a tree of IIOMetadataNode s fails. The node that led...
Read more >
ojluni/src/main/java/com/sun/imageio/plugins/jpeg ... - Google Git
import javax.imageio.metadata. ... A DHT (Define Huffman Table) marker segment. ... throw new IIOInvalidTreeException("Invalid DHT node", node);.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found