Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 151843

Summary: IllegalArgumentException: Error generated in parsing
Product: obsolete Reporter: tieuli279 <tieuli279>
Component: RegistrationAssignee: mslama <mslama>
Status: VERIFIED FIXED QA Contact: issues <issues.netbeans.org>
Priority: P3 CC: lhasik, pchytil, sustaining
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=46468
Whiteboard: EXCEPTIONS_REPORT 65fixes1-verified
Issue Type: DEFECT Exception Report: 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...

messages.log:
-------------------------------------------------------------------------------
>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



Stacktrace: 
java.lang.IllegalArgumentException: Error generated in parsing
        at org.netbeans.modules.servicetag.RegistrationDocument.initializeDocument(RegistrationDocument.java:164)
        at org.netbeans.modules.servicetag.RegistrationDocument.load(RegistrationDocument.java:115)
        at org.netbeans.modules.servicetag.RegistrationData.loadFromXML(RegistrationData.java:426)
        at org.netbeans.modules.reglib.NbServiceTagSupport.getRegistrationData(NbServiceTagSupport.java:373)
        at org.netbeans.modules.reglib.NbServiceTagSupport.getNbServiceTag(NbServiceTagSupport.java:453)
        at org.netbeans.modules.reglib.NbServiceTagSupport.createNbServiceTag(NbServiceTagSupport.java:171)
Comment 1 tieuli279 2008-10-30 11:40:38 UTC
Created attachment 72892 [details]
stacktrace
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 http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/54153cf00550
User: Marek Slama <mslama@netbeans.org>
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.

http://hg.netbeans.org/release65_fixes/rev/09630a9d2b7b
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