Comments (2)
Hi Eschava,
yes, this is because the input is then torn down by the API.
Can you please raise a github option for this? I think I'll add a flag
like teardownFeatureOnShutdown which will be false by default.
Kind regards,
Datenheld
On 28.08.2014 18:59, eschava wrote:
I started two apps listening for interrupts of the same GPIO port
When one of them is closed - other prints exceptionException in thread "Thread-14" java.lang.NullPointerException
at
org.bulldog.linux.gpio.LinuxDigitalInput.getEdge(LinuxDigitalInput.java:115)
at
org.bulldog.linux.gpio.LinuxDigitalInput.processEpollResults(LinuxDigitalInput.java:99)
at
org.bulldog.linux.io.LinuxEpollThread.fireEpollEvent(LinuxEpollThread.java:88)
at org.bulldog.linux.io.LinuxEpollThread.run(LinuxEpollThread.java:57)
at java.lang.Thread.run(Thread.java:744)—
Reply to this email directly or view it on GitHub
#9.
from bulldog.
This has been fixed in the most recent version.
By default, PinFeatures are not torn down during shutdown anymore.
Instead, the user must choose to do so by calling setTeardownOnShutdown().
Am 28.08.2014 um 18:59 schrieb eschava:
I started two apps listening for interrupts of the same GPIO port
When one of them is closed - other prints exceptionException in thread "Thread-14" java.lang.NullPointerException
at
org.bulldog.linux.gpio.LinuxDigitalInput.getEdge(LinuxDigitalInput.java:115)
at
org.bulldog.linux.gpio.LinuxDigitalInput.processEpollResults(LinuxDigitalInput.java:99)
at
org.bulldog.linux.io.LinuxEpollThread.fireEpollEvent(LinuxEpollThread.java:88)
at org.bulldog.linux.io.LinuxEpollThread.run(LinuxEpollThread.java:57)
at java.lang.Thread.run(Thread.java:744)—
Reply to this email directly or view it on GitHub
#9.
from bulldog.
Related Issues (18)
- Support for Ubuntu on BBB HOT 5
- Support for more UART speeds HOT 1
- Memory leak in NativeTools.sleepNanos method HOT 2
- setting baudrate UART beaglebone HOT 3
- I2CBusConnection needs an available() method HOT 1
- ArrayIndexOutOfBoundsException on Beaglebone HOT 4
- Port for Odroid C1
- Problems using SPI
- Odroid U3
- SPI in Slave Mode HOT 2
- Website Down :-/ HOT 2
- Serial Listener Leak HOT 1
- BUG
- DigitalOutputTest error
- Support for 4.X Kernels HOT 1
- Running Bulldog on Kernel 3.16 WITHOUT capemanager HOT 1
- Cannot remove UART 'UARTX' from device tree; HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bulldog.