This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Using DirectoryNameEditor in custom bean's beanInfo makes wizard fail
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2006
09:38 PM
Using DirectoryNameEditor in custom bean's beanInfo makes wizard fail
I have a custom ProductAction that I have developed since ISJE 4.5. It seems now that it is upgraded (and slightly redesigned) to IS 11.5 it works fine in the IS IDE, compiles and builds fine, but fails with when running the wizard. The error happens at the very first panel, it first shows up on the title bar then clicking next puts it on the welcome panel:
ERROR: cannot load product /product.xml: QJMLException: (error code = 3002; message="An error occurred creating the bean info for class com.ibm.lex.lap.is11.LAFiles11: java.lang.NullPointerException")
If I comment out the line: pds[6].setPropertyEditorClass(DirectoryNameEditor.class); In my BeanInfo class the wizard runs fine, but of course I loose the IDE functionality that has worked for the last several years.
I have tried adding support.putClass("com.installshield.beans.editors.DirectoryNameEditor"); in my build method as well as putClassResource(...) but no luck.
Anyone had any success using DirectoryNameEditor or have any ideas?
ERROR: cannot load product /product.xml: QJMLException: (error code = 3002; message="An error occurred creating the bean info for class com.ibm.lex.lap.is11.LAFiles11: java.lang.NullPointerException")
If I comment out the line: pds[6].setPropertyEditorClass(DirectoryNameEditor.class); In my BeanInfo class the wizard runs fine, but of course I loose the IDE functionality that has worked for the last several years.
I have tried adding support.putClass("com.installshield.beans.editors.DirectoryNameEditor"); in my build method as well as putClassResource(...) but no luck.
Anyone had any success using DirectoryNameEditor or have any ideas?
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2006
12:50 PM
Bump, anyone have any ideas?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 13, 2006
06:43 PM
Hmmm... I recompiled this old [thread=60839]Editor Gallery[/thread] wizard action with 11.5, added it to a project, and ran it, and it seemed okay. As a test, does that one work for you?