Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 151843 - IllegalArgumentException: Error generated in parsing
IllegalArgumentException: Error generated in parsing
Product: obsolete
Classification: Unclassified
Component: Registration
All All
: P3 (vote)
: 6.x
Assigned To: mslama
EXCEPTIONS_REPORT 65fixes1-verified
Depends on:
  Show dependency treegraph
Reported: 2008-10-30 11:40 UTC by tieuli279
Modified: 2009-02-19 20:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT

stacktrace (4.79 KB, text/plain)
2008-10-30 11:40 UTC, tieuli279

Note You need to log in before you can comment on or make changes to this bug.
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

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo