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 36161 - NPE after execute from jar
Summary: NPE after execute from jar
Status: VERIFIED DUPLICATE of bug 36402
Alias: None
Product: platform
Classification: Unclassified
Component: Lookup (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-09-17 13:42 UTC by Lukas Hasik
Modified: 2008-12-22 17:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
npe (2.18 KB, text/plain)
2003-09-17 14:34 UTC, Lukas Hasik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Hasik 2003-09-17 13:42:15 UTC
dev 200309170100, jdk1.4.2

after I executed class from jar NPE appeared.
it worked second try...
Comment 1 Lukas Hasik 2003-09-17 14:34:14 UTC
Created attachment 11652 [details]
npe
Comment 2 _ tboudreau 2003-09-17 17:39:55 UTC
Assigning this to Jesse - we were talking about these problems last
night, and it's a side effect of the new synchronous actions code.
Comment 3 Jesse Glick 2003-09-18 06:02:56 UTC
The first exception is Tim's (no idea what it means). The second is
mine. I don't see any reason to think they are related.
Comment 4 Jesse Glick 2003-09-18 06:04:27 UTC
See issue #36178 for second exception.
Comment 5 _ tboudreau 2003-09-19 20:12:56 UTC
The line where the exception happens is

	keyStrokeSet.addAll( java.util.Arrays.asList(
((Keymap)Lookup.getDefault ().lookup ( Keymap.class )
).getBoundKeyStrokes()) );

My guess would be that Lookup.getDefault().lookup(Keymap.class) is
returning null for some reason - what code is responsible for this?
Could it be related to the recent lookup changes?
Comment 6 Jesse Glick 2003-09-24 19:33:04 UTC
I have seen this exception too (just once I think). Committing a
diagnostic patch:

committed   * Up-To-Date  1.6         core/output/build.xml
committed   * Up-To-Date  1.13       
core/output/src/org/netbeans/core/output/OutputTabTerm.java
Comment 7 _ tboudreau 2003-11-16 11:39:38 UTC
I'm wondering if this issue could be related to the (presumably
fixed?) lookup initialization problem that was causing the IDE to
occasionally start with all of the toolbar buttons having captions and
mangled menu items and so forth.  AFAIK nobody has seen this problem
in a while.
Comment 8 _ tboudreau 2004-01-14 11:43:56 UTC
Reassigning to Lookup.  Probably can be closed as a duplicate of issue
36402
Comment 9 Jaroslav Tulach 2004-01-15 09:51:22 UTC
Probably it is duplicate as nobody seen this problem since Oct 5, when
fix for issue 36402 has been integrated.


*** This issue has been marked as a duplicate of 36402 ***
Comment 10 Lukas Hasik 2004-02-25 18:39:03 UTC
x