| Summary: | NPE when adding a component | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Ben <ben77> |
| Component: | VE | Assignee: | Joe Winchester <Winchest> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | major | ||
| Priority: | P3 | CC: | richkulp, sgunturi, walkerp |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Ben
Sri, could you verify this with your Linux machine? Thanks. On linux-gtk i created a new Shell class, and from the palette was able to drop a button and drop-resize a button with no exceptions. everything was working as expected. On 07132005 driver. Doing more testing on linux-gtk I hit the same problem with Swing. Created an empty class and tried to drop a JSplitPane on the freeform. Threw the exact same exception and the cursor is still loaded. the source however is generated and tree edit part is generated. Only the UI editpart is not and the cursor is loaded. This happens on linux-gtk when the bean name dialog pops up during the bean creation. If one disables the dialog things work fine. Fixed by making it so that the dialog does not appear on Linux that allows the field to be renamed on drop. This is OK for 1.1 given the time left to do fixes, but I'll leave the bug open and defer to 1.2 for a more thorough investigation of the problem and fix post 1.1 (In reply to comment #5) > Fixed by making it so that the dialog does not appear on Linux that allows the > field to be renamed on drop. I personally don't mind the bug much and would rather have the dialog + the bug than have neither. Perhaps just change the default setting under Linux to be off? (In reply to comment #6) Hi Ben, > I personally don't mind the bug much and would rather have the dialog + the bug > than have neither. Perhaps just change the default setting under Linux to be off? Sorry - I don't thinkg we have time to change this again before 1.1 GA The exception might have been masking something more nasty and it's not a great idea for us to ship code that puts caught exceptions in the .log file, so what I did for Linux is make the default "don't prompt" but also disabled the ability to set it. Right after drop however you can visit the JavaBean in the property sheet and change the "fieldName" property which allows you to set a new name. It isn't as nice as the prompt on drop but it works. Another option is to use the "Choose Bean" dialog from the palette (or toolbar) and on that you can search for the class to drop by name and also enter the field name right there on the dialog - JRW *** Bug 105695 has been marked as a duplicate of this bug. *** Would be nice to enable this for linux instead of disabling it in PS. I think you meant 1.1.0.1 as the target... not 1.0.1.1 For TVT purposes, this shouldn't be a problem since you can verify the properties are translated on a Windows system. The same properties files are used on Linux. We plan to fix this for 1.1.0.1 so the users on Linux will have this capability. This is a dup of a GEF bug which is supposed to be fixed in 3.1.1. For now we'll have to leave the function (prompt when dropping a bean) disabled on Linux. *** This bug has been marked as a duplicate of 96108 *** closing |