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: | Cannot run Java Desktop Application - Database Application | ||
---|---|---|---|
Product: | guibuilder | Reporter: | asenk |
Component: | App Framework | Assignee: | issues@guibuilder <issues> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | musilt2 |
Priority: | P2 | ||
Version: | 7.0.1 | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
asenk
2011-08-02 09:17:58 UTC
Wrong component and version. (This template is also gone from trunk.) I am sorry, I am not able to reproduce this issue. The described test case works fine on my machine. So, the problem doesn't seems as general as it is described. The error message: "Error connecting to server localhost on port 1527 with message Unknown proxy type : null." shows that either your machine has a problem with handling of localhost (I don't expect it to be the case) or there is some proxy-related problem (<- more probable). It would be great to fing exact conditions necessary to reproduce this problem. On the other hand, I can imagine how hard that can be. So, could you at least try whether MasterDetailForm created in the same way works? 1. Create new Java Application project (not Java _Desktop_ Application). 2. Create new Master/Detail Sample form (set up according to your steps). 3. Rebuild the project. 4. Execute the form. If this test case works then you probably encountered a well known problem in Swing Application Framework (related to proxy handling). You can verify that by following hints in http://netbeans.org/bugzilla/show_bug.cgi?id=134745#c15 So I tried to create MasterDetailForm as you described and this use case works without problems. I also tried this use case: 1.Create new JFrame Form in the 'myapplication' package 2.Insert JTable from the JTable to the form 3.Switch from Projects to Services window 4.Select the Sample Database Connection node under 'Databases' (jdbc:derby...[[[appOnAPP | [app on APP]]) 5:If its is not connected, open its popup menu and select 'Connect' 6.Expand 'Tables' and select 'CUSTOMER' 7.Drag the 'CUSTOMER' table by mouse and drop it into the JTable in designer (small chain link should appear during the dragging) 8.Drag another table (e.g. 'PRODUCT') with holding the Ctrl key and drop it into the form and it also works fine. The workarounds described in http://netbeans.org/bugzilla/show_bug.cgi?id=134745#c15 works too. So I agree, it seems to be problem in Swing Application Framework. Thank you for the additional information. I am closing this issue as a duplicate of issue 134745. *** This bug has been marked as a duplicate of bug 134745 *** |