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 83250 - [55cat] NPE while scanning annotation
Summary: [55cat] NPE while scanning annotation
Status: RESOLVED WONTFIX
Alias: None
Product: javaee
Classification: Unclassified
Component: EJB (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Martin Adamek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-23 07:34 UTC by wulgar
Modified: 2007-01-08 07:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wulgar 2006-08-23 07:34:55 UTC
[ BUILD # : 200608230000 ]
[ JDK VERSION : 1.6 ]

*********** Exception occurred ************ at 8:32 AM on Aug 23, 2006
java.lang.NullPointerException
        at org.netbeans.modules.j2ee.dd.impl.ejb.EjbBuilderUtil.findAttribute(EjbBuilderUtil.java:498)
        at org.netbeans.modules.j2ee.dd.impl.ejb.EjbBuilderUtil.getInterfaceNames(EjbBuilderUtil.java:515)
        at org.netbeans.modules.j2ee.dd.impl.ejb.EjbBuilderUtil.handleInterfaces(EjbBuilderUtil.java:271)
        at org.netbeans.modules.j2ee.dd.impl.ejb.EjbAnnotationListener.addClassAnnotation(EjbAnnotationListener.java:112)
        at org.netbeans.modules.j2ee.metadata.NNMDRListener.classAnnotationAddedForListener(NNMDRListener.java:473)
        at org.netbeans.modules.j2ee.metadata.NNMDRListener.annotationAddedForListener(NNMDRListener.java:555)
        at org.netbeans.modules.j2ee.metadata.NNMDRListener.access$500(NNMDRListener.java:70)
        at org.netbeans.modules.j2ee.metadata.NNMDRListener$2.run(NNMDRListener.java:133)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Martin Adamek 2006-08-29 13:38:23 UTC
Problem seems to be in some of @Remote annotations on some Session bean. Are you
using @Remote(value={...}) annotation with 'value' attribute filled?
Comment 2 wulgar 2006-09-05 07:32:12 UTC
All my @Remote annotations looks like this one:

@Remote
public interface ZzhZdarzenieFacadeRemote {
Comment 3 Martin Adamek 2007-01-08 07:47:12 UTC
Code causing the problems was remove completely in daily builds, so this issue
doesn't make any sense anymore. Thanks for reporting anyway.