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 271873 - AssertionError: Inconsistent param types/names. Signature: [String-byte:A-java.nio.charset.Charset-], Names: [String(byte[] bytes, Charset charset)]
Summary: AssertionError: Inconsistent param types/names. Signature: [String-byte:A-jav...
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Compiler (show other bugs)
Version: Dev
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
Depends on:
Reported: 2017-12-01 13:28 UTC by Exceptions Reporter
Modified: 2017-12-01 13:28 UTC (History)
13 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 231068


Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2017-12-01 13:28:15 UTC
This bug was originally marked as duplicate of bug 209390, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201712010002)
VM: Java HotSpot(TM) 64-Bit Server VM, 9.0.1+11, Java(TM) SE Runtime Environment, 9.0.1+11
OS: Windows 10

User Comments:
zwiebljack: I pressed Ctrl-Space inside the Java editor...

felixkirathe: I was trying to see auto suggest from intellisense

GUEST: taking an object and adding a . so i can see the list of methods available.

GUEST: want display code completion for Button instance

mkroll: Edit an in a JavaFX project a .java file.
I whant to add a 
if (usernameField.

At the dot I become the error.

GUEST: Editing a file wherethe cursor was inside the code for an eventhandler. I was looking for a method by typing a "." after a field name.

GUEST: Selecting an entry from the auto-completion

GUEST: Editing a file.

GUEST: -------------------------------------------------------------------------------
>Log Session: Wednesday, April 18, 2012 11:17:31 AM CEST
>System Info: 
  Product Version         = NetBeans IDE Dev (Build 201204160400) (#89349d794a98)
  Operating System        = Windows 7 version 6.1 running on amd64
  Java; VM; Vendor        = 1.7.0_03; Java HotSpot(TM) 64-Bit Server VM 22.1-b02; Oracle Corporation
  Runtime                 = Java(TM) SE Runtime Environment 1.7.0_03-b05
  Java Home               = C:\Program Files\Java\jdk1.7.0_03\jre
  System Locale; Encoding = de_DE (nb); Cp1252
  Home Directory          = C:\Users\ffester
  Current Directory       = C:\Program Files\NetBeans Dev 201204160400
  User Directory          = C:\Users\ffester\AppData\Roaming\NetBeans\dev
  Cache Directory         = C:\Users\ffester\AppData\Local\NetBeans\Cache\dev
  Installation            = C:\Program Files\NetBeans Dev 201204160400\nb
                            C:\Program Files\NetBeans Dev 201204160400

sergius: Path p = new Path();
        p.getElements().add(new MoveTo(5, 19));

ctrl-space fail

jfderaismes: Doing a ctrl+space code completion after typing in selecting my helper class from the pull down.

GUEST: Editing code

GUEST: Working in JavaFX code and pressed the . operator and Netbeans never displayed the code completion dialog and instead showed the enclosed exception.

GUEST: Editing a java class

GUEST: invoked code completion

GUEST: I was in the code editor and was typing the "." operator while writing a JavaFX 2 based app and a warning popped up. I think this error is related to showing JavaFX 2 hints in the editor. I get this issue a lot and can only remember getting it when the hints would be displayed for a JavaFX 2 component.

GUEST: auto complete


GUEST: presses CTRL+SPACE to view javadoc of javafx Rectangle

GUEST: type variable. then press Ctrl+Space to get code completion up.

psomol: typed 'root.' in front of just pasted 'getChildren().add(rect);' line in TransitionPath FX sample.

java.lang.AssertionError: Inconsistent param types/names. Signature: [String-byte:A-java.nio.charset.Charset-], Names: [String(byte[] bytes, Charset charset)]
   at javax.swing.text.html.parser.DocumentParser.handleStartTag(
   at javax.swing.text.html.parser.Parser.startTag(
   at javax.swing.text.html.parser.Parser.parseTag(
   at javax.swing.text.html.parser.Parser.parseContent(