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 74438 - Nullpointerexception
Summary: Nullpointerexception
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
: 100972 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-05 15:31 UTC by miss_m
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
messages.log (517.54 KB, text/plain)
2006-04-06 10:30 UTC, Jiri Prox
Details

Note You need to log in before you can comment on or make changes to this bug.
Description miss_m 2006-04-05 15:31:00 UTC
java.lang.NullPointerException
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.isInner(JavaClassImpl.java:181)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.JavaClassImpl.getModifiers(JavaClassImpl.java:79)
	at org.netbeans.jmi.javamodel.JavaClass$Impl.getModifiers(Unknown Source)
	at
org.netbeans.modules.javacore.jmiimpl.javamodel.FeatureImpl.getModifiers(FeatureImpl.java:101)
	at org.netbeans.jmi.javamodel.Method$Impl.getModifiers(Unknown Source)
	at
org.netbeans.modules.java.OverrideAnnotationSupport.createMethodMap(OverrideAnnotationSupport.java:260)
	at
org.netbeans.modules.java.OverrideAnnotationSupport.findOverriddenMethods(OverrideAnnotationSupport.java:296)
	at
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnnotation(OverrideAnnotationSupport.java:123)
	at
org.netbeans.modules.java.OverrideAnnotationSupport.processOverriddenAnnotationImpl(OverrideAnnotationSupport.java:180)
	at
org.netbeans.modules.java.OverrideAnnotationSupport.access$400(OverrideAnnotationSupport.java:45)
	at
org.netbeans.modules.java.OverrideAnnotationSupport$Request.computeAnnotations(OverrideAnnotationSupport.java:362)
	at
org.netbeans.modules.java.OverrideAnnotationSupport$Request.run(OverrideAnnotationSupport.java:346)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 1 Jiri Prox 2006-04-06 09:24:00 UTC
Can you provide steps to reproduce and build number of NetBeans, please?
Comment 2 Jiri Prox 2006-04-06 10:29:45 UTC
From reporter's mail:

It happened when I was running my project. It cant seem to find the main class.
Now I have reistalled the IDE, I have deleted the project, and when I try to
make a new project I get this:

java.lang.NullPointerException
    at
org.netbeans.modules.java.j2seproject.J2SEProjectUtil.getMainClasses(J2SEProjectUtil.java:124)
    at
org.netbeans.modules.java.j2seproject.J2SEProjectUtil.getMainClasses(J2SEProjectUtil.java:107)
    at
org.netbeans.modules.java.j2seproject.ui.customizer.MainClassChooser$3.run(MainClassChooser.java:86)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)

when I try to set properties - main class.

Build nr is 200601251500
Comment 3 Jiri Prox 2006-04-06 10:30:38 UTC
Created attachment 29656 [details]
messages.log
Comment 4 Jan Becicka 2006-10-26 16:27:18 UTC
Javacore module was replaced by Retouche infrastructure. This bug is not valid
in trunk any more.
Comment 5 Max Sauer 2007-04-18 13:38:59 UTC
*** Issue 100972 has been marked as a duplicate of this issue. ***
Comment 6 Quality Engineering 2007-09-20 09:50:39 UTC
Reorganization of java component