fix interface losing its properties when moving the connection to another device
give better feedback when a script fails to run
Changing "Connected to" field clears other data
I just tried on ubuntu (with KDE) and got this same issue. I tried both the release 0.5.5-703.jar and the snapshot 0.5.6-734.jar. I was completely unable to save the file anywhere, tried home directory, /tmp and other places I have write permission to. With the snapshot, I at least get an error message that it thought I don't have write permission.
improve tooltip about regexes
funnel bugs/FRs through the website (so they read the instructions)
I tried last deb pkg. Run at Gnome context menu (I think shell script it is: which jnetmap goes to /usr/bin/jnetmap). And also I downloaded and play with 0.5.5-703.jar and 0.5.6-732.jar, same problems. One different what I can see: 0.5.6-732 raise popup dialog: You do not have write permission to the folder (Documents folder is OK with persmissions). So, there is not difference with running shell script and directly jar file.
Hm, the only other error that gets logged is that it can't access the Motif LAF, which is a UI thing and thus hardly relevant to saving files. But it makes me wonder if you're just running the bare .jar file, i.e. without going through the .sh/.bat startup scripts?
Hi rakudave, thx for cool SW. I have same problem as mentioned here. Both Windows and Linux experience. No write permission, but permissions are OK. File is created with zero size. I have also problem to save preference (I must setup Log Level to TRACE many times). My Linux setup: Debian 12.5 jNetMap 0.5.5 (deb pkg) default-jre default-jdk $ java --version openjdk 17.0.11 2024-04-16 OpenJDK Runtime Environment (build 17.0.11+9-Debian-1deb12u1) OpenJDK 64-Bit Server VM (build 17.0.11+9-Debian-1deb12u1,...
I''m using On Linux Mint 21.3, but it's the Mate edition. It almost works: there's a system tray icon which toggles jNetMap between shrunk and expanded, but in the shrunk case the application's icon still remains visible in the application panel (task bar). I know other applications (Skype for example) do vacate the task bar when they shrink to the system tray icon so must mean it is possible with Mate's "Marco" WM but how it works, I have no idea. I tried this just now: https://github.com/ubuntu-mate/mate-dock-applet...
I''m using On Linux Mint 21.3, but it's the Mate edition. It almost works: there's a system tray icon which toggles jNetMap between shrunk and expanded, but in the shrunk case the application's icon still remains visible in the application panel (task bar). I know other applications (Skype for example) do vacate the task bar when they shrink to the system tray icon so must mean it is possible with Mate's "Marco" WM but how it works, I have no idea. I tried this just now: https://github.com/ubuntu-mate/mate-dock-applet...
I''m using On Linux Mint 21.3, but it's the Mate edition. It almost works: there's a system tray icon which toggles jNetMap between shrunk and expanded, but in the shrunk case the application's icon still remains visible in the application panel (task bar). I know other applications (Skype for example) do vacate the task bar when they shrink to the system tray icon so must mean it is possible with Mate's "Marco" WM but how it works, I have no idea.
Yeah when GNOME 3 killed the system tray, I fist messed with a compatibility layer and then simply gave up. But maybe it will work for you on Cinnamon - check out the latest dev build, I added (basic) tray icon support: Preferences -> General -> Tray icon (needs a restart). The option will disappear if your system reports not supporting SystemTray.
minimise/maximise to/from system tray?
Yeah when GNOME 3 killed the system tray, I fist messed with a compatibility layer and then simply gave up. But maybe it will work for you on Cinnamon - check out the latest dev build, I added (basic) tray icon support: Preferences -> General -> Tray icon (needs a restart). The option will disappear then your system reports not supporting SystemTray.
add basic tray icon functionality
minimise/maximise to/from system tray?
it does work fine. It's me that doesn't! I was too dozy to realise that e.g. %n refers to the name entered in the properties box for the device, As a result, I was trying to log in to something whose name was not the ssh login name. Oh dear. It is obvious now. Sorry.
I can only reproduce this by calling the plugin on a device that has no address (such as a switch), so it's undefined an thus inevitably fails... otherwise it works fine as far as I can tell. And Mint has gnome-terminal, at least the default Cinnamon desktop does, I just checked.
EDIT - I worked out what I was doing wrong. Too embarrassing to admit to, but all is well! *Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do * gnome-terminal -e "ssh %a" DEBUG: Adding exec plugin SSH (gnome-terminal) * WARN: Unable to execute script java.lang.NullPointerException* There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host)...
*EDIT - I worked out what I was doing wrong. Too embarrassing to admit to, but all is well! ** Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do * gnome-terminal -e "ssh %a" DEBUG: Adding exec plugin SSH (gnome-terminal) * WARN: Unable to execute script java.lang.NullPointerException* There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host)...
EDIT - I worked out what I was doing wrong. Too embarrassing to admit to, but all is well! Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do * gnome-terminal -e "ssh %a" * DEBUG: Adding exec plugin SSH (gnome-terminal) WARN: Unable to execute script java.lang.NullPointerException There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host)...
EDIT - I worked out what I was doing wrong. Too embarrassing to admit to, but all is well! *Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do *gnome-terminal -e "ssh %a" * DEBUG: Adding exec plugin SSH (gnome-terminal) WARN: Unable to execute script java.lang.NullPointerException There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host)...
EDIT - I worked out what I was doing wrong. Too embarrassing to admit to, but all is well! *Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do gnome-terminal -e "ssh %a" DEBUG: Adding exec plugin SSH (gnome-terminal) WARN: Unable to execute script java.lang.NullPointerException There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host)...
Unfortunately, I am too inept to work out what I'm doing wrong. This is the jnetmap log when I try to do gnome-terminal -e "ssh %a" DEBUG: Adding exec plugin SSH (gnome-terminal) WARN: Unable to execute script java.lang.NullPointerException There's no popup terminal window whereas when I tried other commands (also unsuccessfully) I was getting a response (for example to gnome-terminal -l -- ssh username@host) : a popup banner in the new terminal window: it says "The child process exited normally...
bump dependencies where possible and eliminate the Helvetica font warning
fix interface panel port scanner hookup
Some inspiration:
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
"Tree view" - that is a superb idea!
I should have realised that's what the script area is for (I haven't got it to work yet but that'l be my usual incompetence, nothing else!)
It's fixed! All I see in the terminal now is the correct sort of messaging, e.g. jnetmap -o using java executable in $PATH java version 11 19:04:33 INFO: User directory: /home/user/.jNetMap 19:04:33 INFO: Loading preferences 19:04:33 INFO: Loading language: English 19:04:33 INFO: Loading icon-theme: Elementary 19:04:33 INFO: Loading /icons/Elementary 19:04:33 INFO: Loading device-theme: /devices/cisco 19:04:33 INFO: Loading /devices/cisco 19:04:34 INFO: Loading GUI 19:04:42 INFO: Opening '120624'...
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
Looking at the stack trace, I'm surprised that this hasn't bitten anyone before. It's a logic issue on transparent interfaces (i.e. mostly on switches), regardless of the icon. The errors afterwards are probably just side-effects. Fixed in theory in 0.5.6-729 - can you try that?
prevent SO when connecting two transparent interfaces (how has THAT not bitten me before?)
I have a similar idea on the back burner, there's some unfinished "compact view" code that would present the map as a tree-list so you could use it sidebar-style (like a friends list in a chat app) - adding search to that is a great idea.
ping a selected target ?
You can right-click on any device and click on "refresh" to only update that device. If you want to traceroute it, head over to Edit > Preferences > Scripts and add a custom script (e.g. traceroute %a), which is then accessible again through the right-click menu. Actually that's why I introduced scripts, so not every little thing needs a plugin :-)
further experimenting: I replaced the "built-in" icons with ones of my own and I get a different bug report: Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError at ch.rakudave.jnetmap.model.IF.TransparentIF.getLatency(TransparentIF.java:149) (there are again 1024 of these "at ch.rakudave" lines) The above is repeated, and then I see Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at java.desktop/javax.swing.SizeRequirements.calculateAlignedPositions(SizeRequirements.java:463)...
Exception in thread "AWT-EventQueue-0" java.lang.StackOverflowError
search function
ping a selected target ?
Thanks, you indeed found a bug. I'm a bit surprised that you're the first one to experience it, but I fixed it, dusted off my old Windows laptop and can no longer reproduce it there (at least that one, there might be more "hiding" behind that one). Can you try the latest dev snapshot?
add --add-opens java.base/java.util=ALL-UNNAMED :-/
Attached log file
Saving and loading of maps complains about permission.
Item grouped after scan
Saving and loading maps in Widows 10
Sounds like you either are trying to save somewhere you actually don't have permissions to do so (in which case this would also happen to you in, say, notepad), or your drive is dying. Can you follow the steps outlined over at https://rakudave.ch/jnetmap/#contact to gather more data?
Saving and loading maps in Widows 10
Feature - different line types
It's a good idea, but reading http://jrtom.github.io/jung/javadoc/edu/uci/ics/jung/visualization/decorators/EdgeShape.html makes me think that this would be non-trivial (outside of introducing dummy-vertices).
Feature - different line types
Item grouped after scan
That's how it's supposed to work, it has no opinion about how your map should be arranged. You can use View > Layout to get started. As for the freezing, it would be great if you could follow the directions over at https://rakudave.ch/jnetmap/#contact to collect more details (you can also use the e-mail address there if you don't feel like sharing them publicly).
Item grouped after scan
test "cooling down" between device updates via status.update.cooldown.milliseconds
I have updated the wording on the website and linked both. I was just tired of Oracles recent licensing stunts, so I don't want to recommend them anymore.
On my windows 11 it works (can save) only if I install jre-8u401-windows-x64 not from link on your website but from https://www.java.com/de/download/manual.jsp Windows Offline (64 Bit)
On my windows 11 it works only if I install jre-8u401-windows-x64 not from link on your website but from https://www.java.com/de/download/manual.jsp Windows Offline (64 Bit)
added setting to display subnet (as CIDR)
squelch --scripts warning in alien
add device metadata resolver to "Scripts" feature
add device metadata edit table
add tabs to device props for more settings (forthcoming)
update OUI lookup table
I have no memory of this place
Hi, I have the same problem, I have tried the last version jNetMap-0.5.6-719-setup.exe, but it didn't help. It looks like to have not enough resources, but the both PCs where I tested jnetmap are with i5 CPU and 16 GB RAM. The both PCs are with Windows 10 Pro, with last updates and Java V8-341. Is there a limit to how many hosts are monitored? Kind regards Kosta
Hi, I have the same problem, I have tried the last version jNetMap-0.5.6-719-setup.exe, but it didn't help. It looks like to have not enough resources, but the both PCs where I tested jnetmap are with i5 CPU and 16 GB RAM. The both PCs are with Windows 10 Pro, with last updates and Java V8-341. Is there a limit to how many hosts are monitored? Kind regards Kosta
DblCli and label pos
fix window name in gnome dock, improve focus handling in scripts panel
I had the same problem, not GUI the software apparently works, because open, but not show GUI The solution for me was simple -Just put the mouse on the icon in the taskbar, to show a mini window -On the mini window rigth-click to show the options of window -Select "maximize"
more --add-opens for LAF-related access
change default device icons and theme, add option to not apply the background color (prefer the one from the LAF)
don't suggest irrelevant network interfaces in the scanner
cleanup
add select state cisco-svg files
respect custom fonts in vertex/edge labels
added support for SVG device icons, added cisco-svg
fix default bandwidth defined more than once
use /usr/local/bin instead of /usr/bin
found a better way of handling Java 9+
Java 17 compatibility (--add-opens), but now needs at least Java 11
squelch xstream permissions (for now)
bump dependencies, start 0.5.6
explicitly set nsis to UTF-8
added FlatLaf themes