This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 254204 - IllegalArgumentException: Cannot create PyString with non-byte value
Summary: IllegalArgumentException: Cannot create PyString with non-byte value
Status: RESOLVED INCOMPLETE
Alias: None
Product: python
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: vincentvdl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-07 15:29 UTC by Selpi
Modified: 2015-08-13 05:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 219017


Attachments
stacktrace (8.66 KB, text/plain)
2015-08-07 15:29 UTC, Selpi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Selpi 2015-08-07 15:29:22 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-186-on-20150806)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Linux

User Comments:
Selpi: opened my experiments project and got this exception during scan




Stacktrace: 
java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
   at org.python.core.PyString.<init>(PyString.java:64)
   at org.python.core.PyString.<init>(PyString.java:70)
   at org.python.antlr.GrammarActions.extractStrings(GrammarActions.java:477)
   at org.python.antlr.PythonParser.atom(PythonParser.java:10996)
   at org.python.antlr.PythonParser.power(PythonParser.java:10363)
   at org.python.antlr.PythonParser.factor(PythonParser.java:10290)
Comment 1 Selpi 2015-08-07 15:29:24 UTC
Created attachment 155221 [details]
stacktrace
Comment 2 Lou Dasaro 2015-08-07 19:18:52 UTC
Thank you for your report. Which Python are you using?

BTW, I have noticed some Jython bugs related to this e.g. http://bugs.jython.org/issue2239
Comment 3 Lou Dasaro 2015-08-12 23:35:46 UTC
Reporter: Please indicate which Python you are using. Also, you should be using the Python plugin from the Development Update Center. See http://wiki.netbeans.org/FaqPluginsInDevelopment#Additional_update_centers

If at all possible, please include a shorter code sample that demonstrates the problem. Thank you.