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 169370 - XMLKit class problem
Summary: XMLKit class problem
Status: RESOLVED INCOMPLETE
Alias: None
Product: xml
Classification: Unclassified
Component: Tools (show other bugs)
Version: 6.x
Hardware: Macintosh All
: P3 blocker (vote)
Assignee: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-28 18:38 UTC by klaus85
Modified: 2009-08-27 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klaus85 2009-07-28 18:38:05 UTC
Hi, 

I tried the "Developing a Simple Synchronous BPEL Process" sample from the page
( http://www.netbeans.org/kb/61/soa/synchsample.html )

I'm having a problem with running a test case, this error occurs:

26.07.2009 12:20:34 org.netbeans.modules.editor.mimelookup.impl.FolderPathLookup$ICItem exception
WARNING: null
java.lang.ClassNotFoundException: Cannot instantiate org.netbeans.modules.xml.text.syntax.XMLKit for
MultiFileObject@d766f5[Editors/text/xml/EditorKit.instance]
        at org.openide.loaders.InstanceSupport.instanceCreate(InstanceSupport.java:230)
Test TestCase1\Concurrent.properties Failed. (Destination: http://localhost:18181/SynchronousSample)
        at org.openide.loaders.InstanceDataObject$Ser.instanceCreate(InstanceDataObject.java:1298)
        at org.openide.loaders.InstanceDataObject.instanceCreate(InstanceDataObject.java:760)
        at org.netbeans.modules.editor.mimelookup.impl.FolderPathLookup$ICItem.getInstance(FolderPathLookup.java:258)
        at org.openide.util.lookup.AbstractLookup.lookup(AbstractLookup.java:413)
        at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:205)
        at org.netbeans.modules.editor.mimelookup.impl.SwitchLookup.lookup(SwitchLookup.java:99)
        at org.openide.util.lookup.ProxyLookup.lookup(ProxyLookup.java:205)
        at org.netbeans.editor.BaseDocument.getEditorKit(BaseDocument.java:1555) 

Problem occurs on Mac OS X 10.5.7 and also Windows Vista
Comment 1 Michael Nazarov 2009-07-29 12:07:24 UTC
Would you please specify which step of tutorial failed.
Comment 2 klaus85 2009-07-29 13:03:30 UTC
as i wrote: running a test case fails. "Testing the SynchronousSampleApplication" point 2 and 3 fail and raise this error
Comment 3 takachangogo 2009-07-31 06:01:16 UTC
Hi, 
i got the same problem on Windows XP and Windows Vista. but now success.

1. maybe you already got glassfish esb v2.1 for nb6.7 from OpenESB site. https://open-esb.dev.java.net/Downloads.html
(click link "Looking for NetBeans 6.7 support?" then glassfish for nb6.7 appears)

2. install glassfish esb with customize and check "ALL" options.
"Core SOA in NetBeans"
"JBI Component toolings in NetBeans"
"JBI Runtime and Shared Libraries"
"JBI Components"

3. delete your old project and create new project.
then test will success and this WARNING not appears.

The reason why i get this problem is
Japanese site(http://www.netbeans.org/community/releases/67/relnotes_ja.html) said:
in GlassFish ESB installer page, click "Customize" button and choose ONLY "JBI Runtime and Shared Libraries" and "JBI
Components"
then this problem appeared.
Comment 4 klaus85 2009-07-31 10:41:16 UTC
hi,
i'm using glassfish 2.1 which was delivered with netbeans 6.7.

if i click on "Looking for NetBeans 6.7 support?" and then "Select component(s) for download" there are a lot of .jar
packages. which one do i have to choose?
Comment 5 klaus85 2009-07-31 10:52:05 UTC
Sorry, there were more than 1 "Looking for NetBeans 6.7 support?" :)
now i found it...
Comment 6 klaus85 2009-07-31 12:03:08 UTC
i can't install this package on my mac. 
"The installer could not find a compatible Netbeans installation. The minimum required version is {0}. Specify Netbeans
folder manually."
I choose Netbeans folder in my Application's folder...