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

java.lang.NumberFormatException: For input string: "265U" #383

Closed
bmerkle opened this issue Sep 5, 2012 · 2 comments
Closed

java.lang.NumberFormatException: For input string: "265U" #383

bmerkle opened this issue Sep 5, 2012 · 2 comments

Comments

@bmerkle
Copy link
Contributor

bmerkle commented Sep 5, 2012

postfixes for numbers are allowed in C so we should allow this too IMO.

[5588462] ERROR - .mps.newTypesystem.state.State - an error occurred while applying rule to node int32
java.lang.NumberFormatException: For input string: "265U"
at java.lang.NumberFormatException.forInputString(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at java.lang.Long.parseLong(Unknown Source)
at com.mbeddr.core.expressions.behavior.NumberLiteral_Behavior.virtual_evaluateStatically_7863679314024402271(NumberLiteral_Behavior.java:18)
at com.mbeddr.core.expressions.behavior.NumberLiteral_BehaviorDescriptor.virtual_evaluateStatically_7863679314024402271(NumberLiteral_Behavior
Descriptor.java:12)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

@bkolb
Copy link
Contributor

bkolb commented Sep 5, 2012

Can you please try a small u?

I have implemented something like that. Maybe i missed the capital U

@bkolb
Copy link
Contributor

bkolb commented Sep 5, 2012

Forget my last comment. I know what the problem is. I am going to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants