[oXygen-user] Null Pointer Exception

Sorin Ristache
Fri Aug 21 06:36:02 CDT 2009


Dear Wendy,

I cannot reproduce the error. If you can find the DITA topic file that 
you modified since the transformation worked correctly last time please 
send it. If you can send the full set of input DITA files of the 
transformation that would be good too.


Thank you,
Sorin


Sorin Ristache wrote:
> Hello,
> 
> index-preprocess is an Ant task of the IDIOM FO plugin. I think it is a 
> bug in the implementation of this task because it should not fail with a 
> NullPointerException. From the source code of this task it seems you 
> have an empty element indexterm, index-sort-as, index-see or 
> index-see-also in an input DITA document. The index-preprocess task 
> should report an error like "empty indexterm element" instead of failing 
> with NullPointerException.
> 
> 
> Regards,
> Sorin
> 
> 
> Loreti, Wendy wrote:
>> Not sure whether anyone can help me with this...I've been doing a pdf 
>> transformation frequently and it's been working, but now suddenly this 
>> is happening right at the index-preprocess stage:
>>  
>>
>> transform.topic2fo:
>>
>> [dita-version] Search finished
>>
>> [index-preprocess] java.lang.NullPointerException
>>
>> [index-preprocess] at java.util.StringTokenizer. <init> (Unknown Source)
>>
>> [index-preprocess] at java.util.StringTokenizer. <init> (Unknown Source)
>>
>> Nothing else before or after is interesting until the exception makes 
>> the build fail.
>>  
>> *Wendy Loreti*
>> Senior Technical Writer
>> Vocollect, Inc.
>> 703 Rodi Rd.
>> Pittsburgh, PA 15235
>>  
>> www.vocollect.com <http://www.vocollect.com/>
>>  
>> CONFIDENTIALITY NOTICE
>>
>> This message, together with any attachments, may be legally privileged 
>> and is confidential information intended only for the use of the 
>> individual or entity to which it is addressed. It is exempt from 
>> disclosure under applicable law including court orders. If you are not 
>> the intended recipient, you are hereby notified that any use, 
>> dissemination, distribution or copy of this message, or any attachment, 
>> is strictly prohibited. If you have received this message in error, 
>> please notify the original sender and delete this message, along with 
>> any attachments, from your computer.
>>
>>  
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> oXygen-user mailing list
>> 
>> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user



More information about the oXygen-user mailing list