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.

crash on certain markup

See original GitHub issue

Library crashes on following markup with a TypeError: Cannot set property '0' of undefined:

var Microformats = require('microformat-node');
Microformats.get({
  html: '<div class="hentry"><div class="dt-">0AM<div class="dt-">x</div></div></div>'
}, function (err, data) {
   console.log(err, data);
});

narrowed down sample from: http://lbpm.com/

also happening on www.nesbitts.com, www.browsbyfay.com, decijisajam.rs, phytocarestetica.com

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
voxpellicommented, Oct 24, 2016

@Janpot Chill 😃 @sebilasse is just offering a workaround for you and others that experience this issue, no need to be rude. Strangers can’t possibly know your skill level and even then – issues may affect more people than the one reporting it. Instead you could maybe check if #37 actually fixes this issue?

0reactions
glennjonescommented, Oct 26, 2016

Hi @Janpot thanks for finding this issue and providing the example and @sebilasse for providing the the fix. I have updated the underlying parsing and add a new test.

Its now in microformats-node v2.0.1

Any other problems let me known

Glenn

Read more comments on GitHub >

github_iconTop Results From Across the Web

PDF crashes on markup - Apple Community
I own an iPad 9th Gen. I have been facing an issue while I markup on the PDFs in Files. The PDF refreshes...
Read more >
Markup crashing files app : r/iPadPro - Reddit
I'm using the files app and markup to make comments on papers. Since the last update it keeps crashing and losing all the...
Read more >
Android 12 Markup App crashing when Bitwarden is ... - GitHub
The Markup App (System App) crashes with an UnknownFormatConversionExcpection. This only happens when Bitwarden is selected as auto-filling ...
Read more >
Photo Markup-Draw & Annotate crashes - what to do? Tips ...
Photo Markup-Draw & Annotate keeps crashing and you don't know why? Then find out here what you can do if Photo Markup-Draw &...
Read more >
Revu crashes when editing an autosized textbox or callout ...
Under Tools, select the Markup tab. Uncheck Autosize Text Box and Callout Markups and then select OK. You should no longer experience this...
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