|
|
|
Re: Not able to Add JButton or JLabel to any container [message #33999 is a reply to message #33885] |
Thu, 29 April 2004 18:32 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
I don't know. That shouldn't of happened. Looking at the code I don't
see how the variable could of been null at that point in the code.
Is this consistent?
Does this occur by just subclassing JPanel, and with no further changes,
you can't drop a JButton or a JLabel?
But you can drop other kind of Swing components?
Is the container you trying to drop on more complicated than just an
empty JPanel?
--
Thanks, Rich Kulp
|
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #34022 is a reply to message #34008] |
Thu, 29 April 2004 22:29 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
I don't know. There is something unusual about your setup. We've never
ran into something like this. And we can't reproduce it. It just
shouldn't be happening. I know of no way to get into that condition.
--
Thanks, Rich Kulp
|
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #34080 is a reply to message #34047] |
Thu, 29 April 2004 22:41 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
Thanks! It is very possible that this NPE could cause the NPE to occur.
Now the question is why did this NPE occur?
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:840)
> at
> org.eclipse.emf.ecore.impl.EObjectImpl.eSettingDelegate(EObj ectImpl.java:671)
> at
> org.eclipse.emf.ecore.impl.EObjectImpl.eDynamicIsSet(EObject Impl.java:485)
> at org.eclipse.emf.ecore.impl.EObjectImpl.eIsSet(EObjectImpl.ja va:472)
> at
--
Thanks, Rich Kulp
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #34113 is a reply to message #34080] |
Fri, 30 April 2004 15:07 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
Now the problem is I don't see how this is possible.:-(
Try appending the .log as an attachment and I'll see if there is
anything else of interest because so far I can't figure it out.
Rich Kulp wrote:
> Thanks! It is very possible that this NPE could cause the NPE to occur.
> Now the question is why did this NPE occur?
>
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:840)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eSettingDelegate(EObj ectImpl.java:671)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eDynamicIsSet(EObject Impl.java:485)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eIsSet(EObjectImpl.ja va:472)
>> at
>
>
>
--
Thanks, Rich Kulp
|
|
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #587538 is a reply to message #33885] |
Thu, 29 April 2004 18:32 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
I don't know. That shouldn't of happened. Looking at the code I don't
see how the variable could of been null at that point in the code.
Is this consistent?
Does this occur by just subclassing JPanel, and with no further changes,
you can't drop a JButton or a JLabel?
But you can drop other kind of Swing components?
Is the container you trying to drop on more complicated than just an
empty JPanel?
--
Thanks, Rich Kulp
|
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #587559 is a reply to message #34008] |
Thu, 29 April 2004 22:29 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
I don't know. There is something unusual about your setup. We've never
ran into something like this. And we can't reproduce it. It just
shouldn't be happening. I know of no way to get into that condition.
--
Thanks, Rich Kulp
|
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #587575 is a reply to message #34047] |
Thu, 29 April 2004 22:41 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
Thanks! It is very possible that this NPE could cause the NPE to occur.
Now the question is why did this NPE occur?
>
> java.lang.NullPointerException
> at
> org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:840)
> at
> org.eclipse.emf.ecore.impl.EObjectImpl.eSettingDelegate(EObj ectImpl.java:671)
> at
> org.eclipse.emf.ecore.impl.EObjectImpl.eDynamicIsSet(EObject Impl.java:485)
> at org.eclipse.emf.ecore.impl.EObjectImpl.eIsSet(EObjectImpl.ja va:472)
> at
--
Thanks, Rich Kulp
|
|
|
Re: Not able to Add JButton or JLabel to any container [message #587587 is a reply to message #34080] |
Fri, 30 April 2004 15:07 |
Eclipse User |
|
|
|
Originally posted by: richkulp.NO.SPAM.us.ibm.com
Now the problem is I don't see how this is possible.:-(
Try appending the .log as an attachment and I'll see if there is
anything else of interest because so far I can't figure it out.
Rich Kulp wrote:
> Thanks! It is very possible that this NPE could cause the NPE to occur.
> Now the question is why did this NPE occur?
>
>>
>> java.lang.NullPointerException
>> at
>> org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.getSetting Delegate(EStructuralFeatureImpl.java:840)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eSettingDelegate(EObj ectImpl.java:671)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eDynamicIsSet(EObject Impl.java:485)
>>
>> at
>> org.eclipse.emf.ecore.impl.EObjectImpl.eIsSet(EObjectImpl.ja va:472)
>> at
>
>
>
--
Thanks, Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.11309 seconds