jAmaSeis Startup Error…

ok, so this is work related (so it’s going to be technical and boring) but i need to document it just so other people who get the same error as i did could fix it.

i fiddled around with a program called jAmaSeis which views seismometers around the world. then i broke it. i couldn’t restore it to how it used to be because it wouldn’t even start! i always got this Startup Error even before getting any other screen:

Google didn’t offer much help probably because i didn’t know what i was looking for. so i fired an email to IRIS and sent me this line to type:

java -cp jAmaseis.jar edu.iris.epo.jamaseis.options.JamaseisPreferences -removepref

after that, the program started! whoopee!!! 😀 so i began adding our station in Davao to view. only problem is I get this new error:

Uncaught Exception: java.lang.NullPointerException

 

edu.iris.epo.jamaseis.dmcselectionview.DmcCommunication.setWebServices(DmcCommunication.java:1060)
edu.iris.epo.jamaseis.dmcselectionview.DmcCommunication.<init>(DmcCommunication.java:366)
edu.iris.epo.jamaseis.dmcselectionview.DmcCommunication.getInstance(DmcCommunication.java:252)
edu.iris.epo.jamaseis.UI.streamview.SourcesManagerPanel.addDmcSourceActionPerformed(SourcesManagerPanel.java:218)
edu.iris.epo.jamaseis.UI.streamview.SourcesManagerAddSources$3.actionPerformed(SourcesManagerAddSources.java:86)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$500(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.WaitDispatchSupport$2.run(Unknown Source)
java.awt.WaitDispatchSupport$4.run(Unknown Source)
java.awt.WaitDispatchSupport$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.awt.WaitDispatchSupport.enter(Unknown Source)
java.awt.Dialog.show(Unknown Source)
java.awt.Component.show(Unknown Source)
java.awt.Component.setVisible(Unknown Source)
java.awt.Window.setVisible(Unknown Source)
java.awt.Dialog.setVisible(Unknown Source)
edu.iris.epo.jamaseis.UI.streamview.SourcesManagerAddSources.show(SourcesManagerAddSources.java:143)
edu.iris.epo.jamaseis.UI.streamview.SourcesManagerPanel.addSourceActionPerformed(SourcesManagerPanel.java:451)
edu.iris.epo.jamaseis.UI.streamview.SourcesManagerPanel$1.actionPerformed(SourcesManagerPanel.java:193)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$500(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.WaitDispatchSupport$2.run(Unknown Source)
java.awt.WaitDispatchSupport$4.run(Unknown Source)
java.awt.WaitDispatchSupport$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.awt.WaitDispatchSupport.enter(Unknown Source)
java.awt.Dialog.show(Unknown Source)
java.awt.Component.show(Unknown Source)
java.awt.Component.setVisible(Unknown Source)
java.awt.Window.setVisible(Unknown Source)
java.awt.Dialog.setVisible(Unknown Source)
edu.iris.epo.jamaseis.UI.streamview.StreamViewActionListener.actionPerformed(StreamViewActionListener.java:107)
javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
javax.swing.DefaultButtonModel.setPressed(Unknown Source)
javax.swing.AbstractButton.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
java.awt.Component.processMouseEvent(Unknown Source)
javax.swing.JComponent.processMouseEvent(Unknown Source)
java.awt.Component.processEvent(Unknown Source)
java.awt.Container.processEvent(Unknown Source)
java.awt.Component.dispatchEventImpl(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
java.awt.Container.dispatchEventImpl(Unknown Source)
java.awt.Window.dispatchEventImpl(Unknown Source)
java.awt.Component.dispatchEvent(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$500(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.awt.EventQueue$4.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)

 


deleted some parts since some folder data was included. but yeah. adding a station is the new problem. :-/ hope i sort this thing immediately though. 😦

Advertisements

no grit

i now get bored easily. actually more than getting bored, i’m losing the ability to concentrate. there’s always that little thing on the side or in my periphery that begs that i attend to it rather than stay on course. why is that?

i did attribute it to being smart once. being distracted means you have so many interests that you want to grasp everything or take a nibble at everything that you hear or see. you acquire a little knowledge each time but don’t master anything. and it was quite fun at the time when i was still energetic and carefree. now, things are becoming different.

i find myself wanting to lay back and still remain carefree… only thing is i feel incompetent and can’t rely on my own knowledge of the things that i thought i knew! i’m no expert in the things that i once pursued, i was just a passer-by after all.

so i tried to remedy it by reading more. which brings me back to my first paragraph: i get easily distracted. and when i get distracted, i often forget about the thing that i was wanting to do/read.

i started reading Grit by Angela Duckworth, a recommendation from my bestfriend since High School. i thought i could read a whole lot of it but ended up skipping pages and just watching the TED video. and i had to laugh as she discussed how grit was a defining component of success… and here i was, foiled at reading a book and ending up gritless watching the 6-minute video. haha!

and i had to sigh a little. i am where i am right now because i have no grit. i lack motivation. fortunately, in her video too, she says that it isn’t just talent that gets us where we are. that means where i am right now is not perpetual or a result of my limited talents. it just means i need to acquire *some* grit to move up a level from *NO grit* at all.

and so i write it down here in this blog that this is step one. i may fail but i will always try again. and by that, i have acquired some grit.

Aren’t Active Cellsites Enough?

I had this question in my mind while I watched online videos of how Hurricane Harvey pounded on the state of Texas and brought with it 50 inches of rain. Now, Hurricane Irma has just passed the Caribbean as a CAT5 hurricane and expected to move into Florida. The footage from ABC News only reminded me of one thing: It’s Yolanda (Haiyan) all over again.

During and after super typhoon Yolanda, Philippine ham radio operators were indispensable as power lines and communication towers were down. Hams, however, have trained and prepared for such scenarios.

But what if despite the devastation, power lines remain intact and cellular communications remained open? What of hams then?

I would say  they’d still be busy. I imagine there could be a frenzy of calls going in and out of the disaster area, easily stressing the cell towers capacity. And with today’s data-heavy social media posting, it’s easy to visualize a congested cellular and data network – that no matter how much we are reminded to use social media responsibly, immaturity gets the best of us.

Perhaps the ham radio operator would have less workload/pileup to deal with but it is clear that the messages he relays are of utmost importance. Ham radio is a lot of fun, especially in ‘quiet’ times. But we are always reminded of the Amateur’s Code – the amateur is patriotic: his knowledge and his station are always reay for the service of his country and his community.