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 30438 - Tests fail on NullPointerException
Summary: Tests fail on NullPointerException
Status: CLOSED FIXED
Alias: None
Product: qa
Classification: Unclassified
Component: Jellytools (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: issues@qa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-28 16:58 UTC by pfelenda
Modified: 2003-04-18 10:47 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
StackTrace (2.11 KB, text/plain)
2003-01-28 16:58 UTC, pfelenda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pfelenda 2003-01-28 16:58:00 UTC
jemmy.jar (28.1.2003)
jelly2_nb.jar (28.1.2003)

I have this code in my tests : 

FilesystemNode filesystemNode = new FilesystemNode(
            System.getProperty("netbeans.user") + 
            File.separator +
            "sampledir");

This is result after start : ( full stacktrace in
attach )

java.lang.NullPointerException
        at
org.netbeans.jemmy.drivers.windows.DefaultInternalFrameDriver.activate(DefaultInternalFrameDriver.java:52)
        at
org.netbeans.jemmy.operators.JInternalFrameOperator.activate(JInternalFrameOperator.java:494)
Comment 1 pfelenda 2003-01-28 16:58:52 UTC
Created attachment 8703 [details]
StackTrace
Comment 2 Alexandre Iline 2003-01-28 22:47:47 UTC
This is a bug in jellytools.

Related bug: 30195 

Comment 3 Alexandre Iline 2003-01-29 01:16:19 UTC
Fixed.

Original Jiri's workaround for 30195 bug was corrupted during last 
fix.

Fix:
Go back to Jiri's workaround.
NbInternalFrameDriver registration moved to 
NbInternalFrameDriver's static method.

Comment 4 pfelenda 2003-04-17 18:24:06 UTC
Verified.