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 - Form generates currupted template if path to database driver contains space
Summary: Form generates currupted template if path to database driver contains space
Status: VERIFIED FIXED
Alias: None
Product: guibuilder
Classification: Unclassified
Component: Binding (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@guibuilder
URL:
Keywords:
Depends on:
Blocks: 99509
  Show dependency tree
 
Reported: 2007-04-23 14:36 UTC by Jana Maleckova
Modified: 2007-11-26 14:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
102157 (5.44 KB, text/plain)
2007-04-23 14:37 UTC, Jana Maleckova
Details

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