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 251172

Summary: NullPointerException at org.netbeans.api.xml.cookies.CookieMessage.<init>
Product: xml Reporter: Exceptions Reporter <exceptions_reporter>
Component: APIAssignee: Svata Dedic <sdedic>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216108
Attachments: stacktrace

Description Exceptions Reporter 2015-03-14 08:15:07 UTC
This bug was originally marked as duplicate of bug 160526, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b18
OS: Windows 7

User Comments:
GUEST: <Please provide a description of the problem or the steps to reproduce>.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.api.xml.cookies.CookieMessage.<init>(CookieMessage.java:131)
   at org.netbeans.api.xml.cookies.CookieMessage.<init>(CookieMessage.java:121)
   at org.netbeans.modules.xsl.utils.TransformUtil.transform(TransformUtil.java:321)
   at org.netbeans.modules.xsl.transform.TransformPerformer$AbstractPerformer.fileOutput(TransformPerformer.java:427)
   at org.netbeans.modules.xsl.transform.TransformPerformer$AbstractPerformer.access$500(TransformPerformer.java:228)
   at org.netbeans.modules.xsl.transform.TransformPerformer$AbstractPerformer$1.run(TransformPerformer.java:527)
Comment 1 Exceptions Reporter 2015-03-14 08:15:09 UTC
Created attachment 152618 [details]
stacktrace
Comment 2 Svata Dedic 2015-05-07 07:29:41 UTC
Specifically NPE thrown from inside the transformation processor has null message/localizedMessage and can cause such issues (according to your log, NPE was thrown).

Fixed in jet-main#969409e2b143
Comment 3 Quality Engineering 2015-05-14 03:07:51 UTC
Integrated into 'main-silver', will be available in build *201505140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/969409e2b143
User: Svata Dedic <sdedic@netbeans.org>
Log: #251172: avoid NPE in case of null message