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 102157

Summary: Form generates currupted template if path to database driver contains space
Product: guibuilder Reporter: Jana Maleckova <janie>
Component: BindingAssignee: issues@guibuilder <issues>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 99509    
Attachments: 102157

Description Jana Maleckova 2007-04-23 14:36:41 UTC
NetBeans IDE Dev (Build 20070423-1042)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252

Description:
============
I use derby db from jdk. On XP platform, jdk is installed in dir with space as
default. Then if I try to create JDA with connection to this db, all exceptions
are thrown during the creation process and finally, generated template is corrupted.

StackTrace:
============
java.lang.NullPointerException
        at
org.netbeans.modules.form.j2ee.wizard.MasterDetailWizard.instantiate(MasterDetailWizard.java:278)
        at
org.netbeans.modules.swingapp.templates.NewAppWizardIterator.instantiate(NewAppWizardIterator.java:218)
        at
org.openide.loaders.TemplateWizard$InstantiatingIteratorBridge.instantiate(TemplateWizard.java:996)
        at
org.openide.loaders.TemplateWizard.handleInstantiate(TemplateWizard.java:572)
Comment 1 Jana Maleckova 2007-04-23 14:37:37 UTC
Created attachment 41459 [details]
102157
Comment 2 Jan Stola 2007-04-23 18:06:23 UTC
Fixed.

Modified file:
J2EEUtils.java revision 1.4
Comment 3 Jana Maleckova 2007-04-24 11:50:43 UTC
verified on 

NetBeans IDE Dev (Build 20070424-0751)
1.6.0_02-ea; Java HotSpot(TM) Client VM 1.6.0_02-ea-b02
Windows XP version 5.1 running on x86
en_GB (nb); Cp1252
Comment 4 Jana Maleckova 2007-11-26 14:32:00 UTC
tested on NetBeans IDE 6.0 (Build 200711231245)