Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
DD error
System
Hi guys, I´ve an error when trying to map DCT/DTD to schema.
Error loading Datacapture file java.lang.NullPointerException
Does anybody knows why?
Thanks in advance.
Find more posts tagged with
Comments
Adam Stoller
Guesses:
1) The file is protected from being read
2) The intended filename and the actual filename differ (e.g. a typo somewhere) such that the file intending to be read doesn't actually exist.
3) The contents of the file are not clean XML - perhaps you have a bunch of embedded ^M's within the file?
--fish
Senior Consultant, Quotient Inc.
http://www.quotient-inc.com
Migrateduser
Hi,
the file is not protected, the file name is datacapture.cfg, and the content is:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE data-capture-requirements SYSTEM "datacapture6.0.dtd">
<data-capture-requirements name="news">
<ruleset name="news">
<description>Form for Zoo News stories</description>
<root-container name="news" location="news">
<item name='title' pathid='title'>
<label>Title</label>
<text size='40' />
</item>
</root-container>
</ruleset>
</data-capture-requirements>
Thanks.
Question v 1.1
I know why is the NullPointerException
Using the iwsyncdb.ipl -dbschemagen returns the next error
Warning: Could not find a non-nullable column to use as a primary key for group news.
The first column of the table will be set to non-null and used as the primary key.
Please revise your datacapture file to include items with the required attribute set to 't'.
After changing it, it rules, but only using the script, not with the browser.
Edited by pepedeluxe on 02/26/04 06:59 AM (server time).