Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 200241 Details for
Bug 352948
NullPointerException at BcelClassWeaver.addInitializer
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
the aj file creating the Nullpointerexception
NodeCoordinate.aj (text/plain), 1.08 KB, created by
Lambert Busmann
on 2011-07-24 09:37:22 EDT
(
hide
)
Description:
the aj file creating the Nullpointerexception
Filename:
MIME Type:
Creator:
Lambert Busmann
Created:
2011-07-24 09:37:22 EDT
Size:
1.08 KB
patch
obsolete
>package ...; >import ...; >public aspect NodeCoordinate { > > declare parents: INode implements IBlueprintItem; > >/** .*/ > private ICoordinate IBlueprintItem.coordinate; > /** if true, the item is locked to the current coordinate. */ > private boolean IBlueprintItem.locked; > > > >/** .*/ >public ICoordinate INode.getCoordinate() { > return coordinate; > } > > public void INode.setCoordinate(ICoordinate aCoordinate) { > coordinate = aCoordinate; > } > >public boolean INode.isLocked(){ > return locked; > } > > public Object INode.getId() { > return this.getCargo(); //getCargo(); > } > > > public static void main(String[] args){ > Dummy node = new Dummy("123"); // EasyMock.createNiceMock(Dummy.class); >// node.getCargo(); >// EasyMock.expectLastCall().andReturn("123"); >// EasyMock.replay(node); > Object id = ((IBlueprintItem) node).getId(); >// EasyMock.verify(node); > assertNotNull(id); > assertEquals("123", id); > System.out.println("id=" + id); > } > >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 352948
: 200241 |
200433