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 22110 - IDE went into unstable state after getting an error, restarting wont help
Summary: IDE went into unstable state after getting an error, restarting wont help
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: -FFJ-
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-04-04 19:58 UTC by Srinivas Gundeaboina
Modified: 2003-07-02 08:31 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
A thread-dump sent by the submitter. (25.09 KB, text/plain)
2002-04-08 09:15 UTC, Jan Chalupa
Details
A possible solution removing one inner class, doing everything relevant in AWT and not messing with Dialog arrays (2.43 KB, patch)
2002-04-08 16:47 UTC, Petr Nejedly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Srinivas Gundeaboina 2002-04-04 19:58:28 UTC
3.3.2_CANDIDATE


1. Start the ide, j2ee and pointbase server.

2. Create a CMP bean using options
   Table from Database Connection &
   Both Remote and Local Interfaces

3. Select table of your choice and complete the
creation of EJB. 

4. From the Menu stop the Pointbase Server by
selecting 
   Tools->Pointbase Network Server->stop server

5. Select the recently created EJB, using popup
menu select  
   Create NewEJB Test Application.

6. Select all default values except for Deploy
Application to this Application server after
creation(select the check box)

7. Error dialog box pops up click OK  

8. Start the Pointbase server

9. Create a CMP bean using the table of your
choice with options
   Table from Database Connection &
   Both Remote and Local Interfaces

10. After selecting the database table and
clicking next  you get an   error "You must
specify at least one persistent field" and will 
not allow you to create a CMP Bean once you are in
this state. 

I tried this couple of times, after restarting ide
the ide came up without displaying any contents in
it.  I restarted the ide several times and still
could not get ide in a stable state.

I am attaching the thread dump file and my user
directory zip file.
Comment 1 _ ttran 2002-04-04 20:38:56 UTC
Srinivas Gundeaboina: where are the attachments?  Attach them and
reopen this bug.
Comment 2 Srinivas Gundeaboina 2002-04-04 21:12:21 UTC
Reopening and adding attachments.
Comment 3 _ ttran 2002-04-05 08:14:20 UTC
I still see no attachments.  How did you attach them?
Comment 4 Jan Zajicek 2002-04-05 11:39:31 UTC
Without the error logs we cannot do anything with this issue. Please
add them. However I do not see any reason why this problem was filled
against core. We will see after more informations will be added.
Comment 5 Jan Chalupa 2002-04-08 09:15:37 UTC
Created attachment 5321 [details]
A thread-dump sent by the submitter.
Comment 6 Jan Chalupa 2002-04-08 09:16:58 UTC
Thread-dump sent by the original submitter finally attached.
Comment 7 _ ttran 2002-04-08 11:31:58 UTC
deadlock happening between RequestProcesor and AWT event thread.
Assigning to Nejedly to investigate
Comment 8 Petr Nejedly 2002-04-08 16:33:06 UTC
The fix seems quite easy, in fact it should be enough to move
the Dialog creation call to the Runnable below in the
WebContextObject.java:1010 to read:
SwingUtilities.invokeLater(new Runnable() {
    public void run() {
        d[0] = TopManager.getDefault ().createDialog (descriptor);
        d[0].setSize (580, 180);
        d[0].show ();
    }
});

I'd rather see the composition of the Runnable and the Listener
to one inner class. It will be one class less and we can get rid
of the array mess.
Comment 9 Petr Nejedly 2002-04-08 16:47:52 UTC
Created attachment 5323 [details]
A possible solution removing one inner class, doing everything relevant in AWT and not messing with Dialog arrays
Comment 10 Petr Nejedly 2002-04-08 16:50:03 UTC
Radim, can you please review it and integrate to proper branches?
Comment 11 Petr Nejedly 2002-04-09 09:12:50 UTC
reassigning.
Comment 12 _ rkubacki 2002-04-09 12:53:26 UTC
applied the patch to orion_fcs. It will be merged to trunk later with
the rest of changes.
Comment 13 Petr Jiricka 2002-04-23 10:07:20 UTC
Changing target milestone to FFJ 4.0
Comment 14 Petr Jiricka 2002-04-23 10:18:08 UTC
Changing target milestone to FFJ 4.0
Comment 15 Jason Rush 2002-04-24 21:19:58 UTC
Verified in FFJ 4.0 Build 020423_ee.
Comment 16 Quality Engineering 2003-07-02 08:31:54 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.