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.

toArray(":) :)") fails

See original GitHub issue

It returns [{…}, " :)"], this is, just an emoji (the first one) and then a simple " 😃" text.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
enzofereycommented, Jul 12, 2018

Hi, great library ! I’m fixing this and I will open a PR.

0reactions
ibccommented, Jul 18, 2018

And confirmed that it works 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

java - In what case does casting ArrayList<Type>.toArray() to ...
This is why it will always fail - the toArray() method ALWAYS produces an Object[] , which cannot be cast like that.
Read more >
Enumerable.ToArray() fails on the results of some uses of ...
ToArray() where someSequence is an IEnumerable<Enum1> produces a perfectly find Enum1[] . It's surprising behaviour that source.Cast<Enum1>().
Read more >
Question about toArray() method, Java - LeetCode Discuss
The toArray() method is used to get an array which contains all the elements in ArrayList object in proper sequence (from first to...
Read more >
Collection.toArray(new T[0]) or .toArray(new T[size]) - Baeldung
The toArray() method allocates a new in-memory array with a length equal to the size of the collection. Internally, it invokes the Arrays....
Read more >
ArrayList to Array Conversion in Java : toArray() Methods
Note: toArray() method returns an array of type Object(Object[]). ... If we do not typecast, we get compilation error.
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