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.

[Suggestion] Don't fail when exporting things

See original GitHub issue

Issue Description:

A very poor title, but: Currently if a block/biome/liquid/whatever is improperly made and doesn’t have an appropriate name-getting function, the entire export command will fail. Instead, I think it should catch the exception, but continue to export the list, with a different attempt to get the name, or just a warning in chat and in the file.

Example:

[04:36:38] [Server thread/WARN] [minecraft/CommandHandler]: Couldn't process command: ct blocks
java.lang.NoClassDefFoundError: net/minecraft/client/resources/I18n
        at exterminatorjeff.undergroundbiomes.common.block.wall.UBStoneWall.getLocalizedName(UBStoneWall.java:75) ~[UBStoneWall.class:?]
        at crafttweaker.mc1120.block.MCBlockDefinition.getDisplayName(MCBlockDefinition.java:39) ~[MCBlockDefinition.class:?]
        at crafttweaker.mc1120.commands.Commands$2.executeCommand(Commands.java:80) ~[Commands$2.class:?]

What happens:

Entire export command fails.

What you expected to happen:

Error is noted and the offending thing is skipped.


Affected Versions (Do not use “latest”):

  • Minecraft: 1.12.2
  • Forge: 14.23.4.2760
  • Crafttweaker: 1.12-4.1.10
  • Using a server: Yes

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jaredlll08commented, Oct 11, 2018

I don’t think we should fix others mistakes, if we do, then they won’t fix it.

0reactions
jaredlll08commented, Oct 11, 2018

As the log says, it can’t find the I18N class, in the CLIENT package, from the SERVER thread

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Risks Of Exporting Manufactured Goods - Thomas Blog
What happens when, worst of all, a customer refuses to pay? A legal team savvy in local protocol is not just a recommendation...
Read more >
Ten common mistakes first-time exporters make and how to ...
Many good product portfolios fail on export because of a lack of understanding of the target market, consumer behaviour and poor market segmentation....
Read more >
A Basic Guide to Exporting - International Trade Administration
Exported before, but things have changed? Need answers, but not sure how or where to get them? This is the book you need....
Read more >
export type * from 'somewhere' #48508 - GitHub
This crashes at runtime for a slightly different reason -- there is no foo.js to re-export, so the export * fails entirely. (The...
Read more >
Export failed - Find solutions - English - Shotcut Forum
Suggestion posted: “Try without changing ANY export settings and see if it works. If not then only turn OFF Parallel processing and try...
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