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.
Summary: | NullPointerException at org.openide.util.lookup.InstanceContent$SimpleItem.<init> | ||
---|---|---|---|
Product: | projects | Reporter: | xylifyx <xylifyx> |
Component: | Maven | Assignee: | Jesse Glick <jglick> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | abajja, aldobrucale, athompson, dao, jglick, kidnapper, mjreged, mvy, pjiricka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 165513 |
Attachments: |
stacktrace
stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace stacktrace |
Description
xylifyx
2010-02-21 08:39:00 UTC
Created attachment 94368 [details]
stacktrace
a lookup impl problem? reassigning for evaluation. Not a problem in Lookup. This is the code: public SimpleItem(T obj) { if (obj == null) { throw new NullPointerException(); } this.obj = obj; } Created attachment 97976 [details]
stacktrace
Created attachment 98335 [details]
stacktrace
openinig an xml file
Created attachment 98855 [details]
stacktrace
Opening a pom file packaged in a ejb-jar file (under the target directory).
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=165513 Created attachment 99511 [details]
stacktrace
In Ant trunk sources, ran 'ant distribution', then opened distribution/binaries/apache-ant-1.8.2alpha-bin.zip!/apache-ant-1.8.2alpha/lib/ant.pom in editor.
Created attachment 100666 [details]
stacktrace
From the "Files" window, I was inpecting the contents of a ".war" file. I double-clicked on a "pom.xml" file packaged in the ".war" file to view it. I got this error and the editor never finished loading.
Created attachment 100892 [details]
stacktrace
Didn't notice the exception
Created attachment 100893 [details]
stacktrace
Maven "Show Dependency Graph"
Created attachment 100938 [details]
stacktrace
Opening: maven-embedder-3.0-beta-1.jar!/META-INF/maven/org.apache.maven/maven-embedder/pom.xml
Serious bug to not be able to open a certain kind of file in the editor at all. core-main #1a6494276897 Integrated into 'main-golden', will be available in build *201007240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1a6494276897 User: Jesse Glick <jglick@netbeans.org> Log: #181009: NullPointerException at org.openide.util.lookup.InstanceContent$SimpleItem.<init> v. Backported into release692 http://hg.netbeans.org/releases/rev/b40b72f7e4a3 i was able to open a pom.xml from a jar file, using favorites view. Verified in patch2 |