Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to save out a long string via BigStringCustomEditor results in an error: "Char at 0 is not a character: <char as int>" #6147

Closed
SirIntellegence opened this issue Jul 3, 2023 · 3 comments · Fixed by #6157
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix

Comments

@SirIntellegence
Copy link
Contributor

Apache NetBeans version

Apache NetBeans 18

What happened

I went to view a long string and, it shows up properly in the debug window, shortened and all, but using the "save to file" button breaks things.

How to reproduce

See above. TBH, I am mostly making this so I have a bug number to name the branch after.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Mac

JDK

OpenJDK 64-Bit Server VM Temurin-19.0.1+10 (build 19.0.1+10, mixed mode, sharing)

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

I strongly believe it is related to #4123

Are you willing to submit a pull request?

Yes

@SirIntellegence SirIntellegence added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jul 3, 2023
@neilcsmith-net
Copy link
Member

TBH, I am mostly making this so I have a bug number to name the branch after.

Please don't open issues for this purpose, as it says in the issue form. Just open a pull request. They use the same numbering system anyway, and it just makes extra work all round.

@SirIntellegence
Copy link
Contributor Author

Ah. My bad. Sorry about that. Apparently I didn't notice that. How would you recommend making branch names in the first place then since you need to open a pull request before you can get the number.

@mbien
Copy link
Member

mbien commented Jul 4, 2023

How would you recommend making branch names in the first place then since you need to open a pull request before you can get the number.

@SirIntellegence i do this locally. Branch from latest master and give it some name. Then when I push the branch to my clone the git CLI even posts a link which will directly lead you to the PR page. So the next click opens the PR already.

@mbien mbien added Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) and removed needs:triage Requires attention from one of the committers labels Jul 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Java [ci] enable extra Java tests (java.completion, java.source.base, java.hints, refactoring.java, form) kind:bug Bug report or fix
Projects
None yet
3 participants