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 151843

Summary: IllegalArgumentException: Error generated in parsing
Product: obsolete Reporter: tieuli279 <tieuli279>
Component: RegistrationAssignee: mslama <mslama>
Severity: blocker CC: lhasik, pchytil, sustaining
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 46468
Attachments: stacktrace

Description tieuli279 2008-10-30 11:40:30 UTC
Build: NetBeans IDE 6.1 (Build 200805300101)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments:
GUEST: start the netbeans

GUEST: Every time I start up Netbeans IDE 6.1, I get this error message:
IllegalArgumentException: Error generated in parsing

Netbeans IDE itself starts up though and seems to work fine...

>Log Session: Sunday, June 15, 2008 10:22:36 PM CEST
>System Info: 
  Product Version         = NetBeans IDE 6.1 (Build 200805300101)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_06; Java HotSpot(TM) Client VM 10.0-b22; Sun Microsystems Inc.
  Runtime                 = Java(TM) SE Runtime Environment 1.6.0_06-b02
  Java Home               = C:\Program Files\Java\jdk1.6.0_06\jre
  System Locale; Encoding = nl_BE (nb); Cp1252
  Home Directory          = C:\Documents and Settings\dominic
  Current Directory       = C:\Program Files\NetBeans 6.1
  User Directory          = C:\Documents and Settings\dominic\.netbeans\6.1
  Installation            = C:\Program File

GUEST: Only starting Netbeans IDE 6.1

java.lang.IllegalArgumentException: Error generated in parsing
        at org.netbeans.modules.servicetag.RegistrationDocument.initializeDocument(
        at org.netbeans.modules.servicetag.RegistrationDocument.load(
        at org.netbeans.modules.servicetag.RegistrationData.loadFromXML(
        at org.netbeans.modules.reglib.NbServiceTagSupport.getRegistrationData(
        at org.netbeans.modules.reglib.NbServiceTagSupport.getNbServiceTag(
        at org.netbeans.modules.reglib.NbServiceTagSupport.createNbServiceTag(
Comment 1 tieuli279 2008-10-30 11:40:38 UTC
Created attachment 72892 [details]
Comment 2 Peter Pis 2008-10-30 15:53:16 UTC
Reassigning to registration.
Comment 3 mslama 2008-10-30 15:58:40 UTC
Please can you attach registration.xml? It should be at $NBINSTDIR\nb6.1\servicetag.
Comment 4 mslama 2008-10-30 16:08:42 UTC
It looks like problem is with unexpected data - data generated does not follow schema. I asked JDK for resolution of
this issue. Workaround is to switch off registration module: Use -J-Dnb.registration.enabled=false as command line
option or add it to netbeans.conf (add it to line starting with netbeans_default_options).
Comment 5 mslama 2008-11-06 16:19:18 UTC
Fixed core-main #54153cf00550

Lukas another patch1 candidate. Low risk fix.
Comment 6 Lukas Hasik 2008-11-06 20:10:40 UTC
marking as 65 patch1 candidate. This problem isn't critical however 11 users have reported it.
Comment 7 Quality Engineering 2008-11-07 05:03:33 UTC
Integrated into 'main-golden', will be available in build *200811070201* on (upload may still be in progress)
User: Marek Slama <>
Log: #151843: Workaround - disable document validation.
Comment 8 Petr Chytil 2008-11-19 15:25:32 UTC
verified in:

Product Version: NetBeans IDE Dev (Build 200811181401)
Java: 1.6.0_10; Java HotSpot(TM) Client VM 11.0-b15
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: C:\Documents and Settings\Petr\.netbeans\dev
Comment 9 pslechta 2008-11-19 17:45:38 UTC
The fix was backported into release65_fixes repository.
Comment 10 Petr Chytil 2008-12-02 11:14:07 UTC
verified in 6.5 with Patch 1:

Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_10-rc2; Java HotSpot(TM) Client VM 11.0-b15
System: Windows Vista version 6.0 running on x86; Cp1250; cs_CZ (nb)
Userdir: C:\Users\Petr\.netbeans\6.5