Re: SystemAction.get method not found
Svata Dedic <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
What are the exact JDK versions on your build machines ? -S. Dne 31.10.2016 v 19:46 gbullock napsal(a): > I'm loving 8.2! > > After updating my NBP-based project from NB 8.01 to 8.2, everything builds just fine using my main development machine. However, opening a copy of the project in NB 8.2 on a separate machine gives a series of red-! icons with errors on source code lines calling SystemAction.get, e.g., > > > Code: > actions.add(SystemAction.get(CopyAction.class)); > > > > > The build log gives details: > > Code: > C:\Users\gbullock\Documents\NetBeansProjects\Ionoview\IonogramNodes\src\com\nwra\ionoview\nodes\DataPointNode.java:67: error: cannot find symbol > actions.add(SystemAction.get(CopyAction.class)); > symbol: method get(Class<CopyAction>) > location: class SystemAction > C:\Users\gbullock\Documents\NetBeansProjects\Ionoview\IonogramNodes\src\com\nwra\ionoview\nodes\DataPointNode.java:68: error: cannot find symbol > actions.add(SystemAction.get(CutAction.class)); > symbol: method get(Class<CutAction>) > location: class SystemAction > C:\Users\gbullock\Documents\NetBeansProjects\Ionoview\IonogramNodes\src\com\nwra\ionoview\nodes\DataPointNode.java:69: error: cannot find symbol > actions.add(DeleteAction.get(DeleteAction.class)); > symbol: method get(Class<DeleteAction>) > location: class DeleteAction > > > > Any idea why these lines build just fine on one machine but give errors on another? > > They're both using NB 8.2. I think all relevant source and project files are present and identical on the two machines, but there's clearly some difference somewhere. What could it be? > > > >