Skip to main content



      Home
Home » Archived » Visual Editor (VE) » Select bean, component is red-marked in "Java Beans" pane.
Select bean, component is red-marked in "Java Beans" pane. [message #89402] Tue, 03 May 2005 10:12 Go to next message
Eclipse UserFriend
Originally posted by: vladis.gemtek.lt

Hi,

I want to add my panel to cardlayout panel. I click choose bean, find my
bean and click container pane in "Java Beans". Now it generates code
alright, even makes a getter. But somehow it always marks my bean with
little red icon (white cross in red background). Now did I miss something?
Something got wrong with the code? What does this icon mean?

My best regards,
Vladas
Re: Select bean, component is red-marked in "Java Beans" pane. [message #89447 is a reply to message #89402] Tue, 03 May 2005 10:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Hover over the bean and tell us what the error is.

Also see if there are errors in the .log file.


--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #89461 is a reply to message #89447] Tue, 03 May 2005 10:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The hover is on the graphical bean, from the JavaBeans tree, select the
bean and look down in the status line.

Rich Kulp wrote:
> Hover over the bean and tell us what the error is.
>
> Also see if there are errors in the .log file.
>
>

--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #89618 is a reply to message #89461] Wed, 04 May 2005 10:17 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vladis.gemtek.lt

Hi,

It's java.lang.NullPointerException(null). I failed to find a log file
anywhere.

Thank you for helping me,
Vladas

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d582nj$4i0$2@news.eclipse.org...
> The hover is on the graphical bean, from the JavaBeans tree, select the
> bean and look down in the status line.
>
> Rich Kulp wrote:
>> Hover over the bean and tell us what the error is.
>>
>> Also see if there are errors in the .log file.
>>
>>
>
> --
> Thanks,
> Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #89675 is a reply to message #89618] Wed, 04 May 2005 11:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Ok, first please append as a file the class that fails. Maybe we can see
if there is some syntax kind of error that we should be handling?

Second, attach the config info from Help->About Eclipse->Configuration.
This will tell us what you configuration is.

--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #89859 is a reply to message #89675] Thu, 05 May 2005 11:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vladis.gemtek.lt

Sorry if code is messed up. This is under development. BridgePage tries to
put BridgePropertyPane and PortPropertyPane into cardlayout JPanel.

Hmm this is strange. "Java Beans" show switchPane has children
"(portPropertyPane)" and "bridgePropertyPane". Both marked with red icon. If
I add this line into source:

switchPane.add(new JPanel(), "test");

"Java Beans" does not show it as child.

Thanks!
Vladas



"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d5aptj$f8a$2@news.eclipse.org...
> Ok, first please append as a file the class that fails. Maybe we can see
> if there is some syntax kind of error that we should be handling?
>
> Second, attach the config info from Help->About Eclipse->Configuration.
> This will tell us what you configuration is.
>
> --
> Thanks,
> Rich Kulp






Re: Select bean, component is red-marked in "Java Beans" pane. [message #89910 is a reply to message #89859] Thu, 05 May 2005 13:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is right here:

> +++ Warning +++: Thu May 05 15:53:40 EEST 2005 Could not instantiate lt.gemtek.config.editor.ve.bridge.PortPropertyPane with initialization string=null
>
> !ENTRY org.eclipse.ve.java.core 2 0 May 05, 2005 15:53:40.93
> !MESSAGE Exception thrown.
> !STACK 0
> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
> java.lang.NullPointerException
> at lt.gemtek.config.editor.dom2.QuerySelectedSetting.getSetting (QuerySelectedSetting.java:84)
> at lt.gemtek.config.editor.dom2.QuerySelectedSetting.getValue(Q uerySelectedSetting.java:52)
> at lt.gemtek.config.editor.dom2.SettingTextField.getValue(Setti ngTextField.java:25)
> at lt.gemtek.config.editor.dom2.MutableEditField.<init>(MutableEditField.java:23)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.getDevnam e(PortPropertyPane.java:91)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.initializ e(PortPropertyPane.java:63)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.<init>(PortPropertyPane.java:34)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)

You're code in QuerySelectedSetting.getSetting() is throwing the
NullPointerException. Because of that we can't instantiate your
PortPropertyPane. That is why there is red-X on the PortPropertyPane, we
couldn't create one of them.

--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #607319 is a reply to message #89402] Tue, 03 May 2005 10:37 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Hover over the bean and tell us what the error is.

Also see if there are errors in the .log file.


--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #607320 is a reply to message #89447] Tue, 03 May 2005 10:38 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The hover is on the graphical bean, from the JavaBeans tree, select the
bean and look down in the status line.

Rich Kulp wrote:
> Hover over the bean and tell us what the error is.
>
> Also see if there are errors in the .log file.
>
>

--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #607331 is a reply to message #89461] Wed, 04 May 2005 10:17 Go to previous message
Eclipse UserFriend
Originally posted by: vladis.gemtek.lt

Hi,

It's java.lang.NullPointerException(null). I failed to find a log file
anywhere.

Thank you for helping me,
Vladas

"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d582nj$4i0$2@news.eclipse.org...
> The hover is on the graphical bean, from the JavaBeans tree, select the
> bean and look down in the status line.
>
> Rich Kulp wrote:
>> Hover over the bean and tell us what the error is.
>>
>> Also see if there are errors in the .log file.
>>
>>
>
> --
> Thanks,
> Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #607334 is a reply to message #89618] Wed, 04 May 2005 11:26 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

Ok, first please append as a file the class that fails. Maybe we can see
if there is some syntax kind of error that we should be handling?

Second, attach the config info from Help->About Eclipse->Configuration.
This will tell us what you configuration is.

--
Thanks,
Rich Kulp
Re: Select bean, component is red-marked in "Java Beans" pane. [message #607347 is a reply to message #89675] Thu, 05 May 2005 11:55 Go to previous message
Eclipse UserFriend
Originally posted by: vladis.gemtek.lt

Sorry if code is messed up. This is under development. BridgePage tries to
put BridgePropertyPane and PortPropertyPane into cardlayout JPanel.

Hmm this is strange. "Java Beans" show switchPane has children
"(portPropertyPane)" and "bridgePropertyPane". Both marked with red icon. If
I add this line into source:

switchPane.add(new JPanel(), "test");

"Java Beans" does not show it as child.

Thanks!
Vladas



"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> wrote in message
news:d5aptj$f8a$2@news.eclipse.org...
> Ok, first please append as a file the class that fails. Maybe we can see
> if there is some syntax kind of error that we should be handling?
>
> Second, attach the config info from Help->About Eclipse->Configuration.
> This will tell us what you configuration is.
>
> --
> Thanks,
> Rich Kulp






Re: Select bean, component is red-marked in "Java Beans" pane. [message #607350 is a reply to message #89859] Thu, 05 May 2005 13:59 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

The problem is right here:

> +++ Warning +++: Thu May 05 15:53:40 EEST 2005 Could not instantiate lt.gemtek.config.editor.ve.bridge.PortPropertyPane with initialization string=null
>
> !ENTRY org.eclipse.ve.java.core 2 0 May 05, 2005 15:53:40.93
> !MESSAGE Exception thrown.
> !STACK 0
> IWAV0073I *** RemoteVM Exception - Trace from Remote VM:
> java.lang.NullPointerException
> at lt.gemtek.config.editor.dom2.QuerySelectedSetting.getSetting (QuerySelectedSetting.java:84)
> at lt.gemtek.config.editor.dom2.QuerySelectedSetting.getValue(Q uerySelectedSetting.java:52)
> at lt.gemtek.config.editor.dom2.SettingTextField.getValue(Setti ngTextField.java:25)
> at lt.gemtek.config.editor.dom2.MutableEditField.<init>(MutableEditField.java:23)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.getDevnam e(PortPropertyPane.java:91)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.initializ e(PortPropertyPane.java:63)
> at lt.gemtek.config.editor.ve.bridge.PortPropertyPane.<init>(PortPropertyPane.java:34)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)

You're code in QuerySelectedSetting.getSetting() is throwing the
NullPointerException. Because of that we can't instantiate your
PortPropertyPane. That is why there is red-X on the PortPropertyPane, we
couldn't create one of them.

--
Thanks,
Rich Kulp
Previous Topic:Cannot get VE editor menus to show up in 3.0.2
Next Topic:Target VM
Goto Forum:
  


Current Time: Thu Jun 19 17:37:43 EDT 2025

Powered by FUDForum. Page generated in 0.39768 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top