jreekers Sun, 06/17/2007 - 20:02
User Badges:
  • Cisco Employee,

Hi. It's not likely that it's a username/password problem. Can you post the full error here? It should look something like:


java.lang.NullPointerException

at cerent.cms.ui.EntityCellRenderer.getFormattedPortNumberFor(EntityCellRenderer.java:459)

at cerent.cms.ui.EntityCellRenderer.getPortString(EntityCellRenderer.java:288)

at cerent.cms.ui.shelf.OCNPortGraphic.getPortDescription(OCNPortGraphic.java:143)

at cerent.cms.ui.shelf.OCNPortGraphic.getTooltipText(OCNPortGraphic.java:158)

at cerent.cms.ui.shelf.OCNCard.getTooltipText(OCNCard.java:80)

at cerent.cms.ui.shelf.CardPanel.getToolTipText(CardPanel.java:136)

at javax.swing.ToolTipManager.mouseEntered(ToolTipManager.java:395)

at java.awt.AWTEventMulticaster.mouseEntered(AWTEventMulticaster.java:235)

at java.awt.Component.processMouseEvent(Component.java:3719)

at java.awt.Component.processEvent(Component.java:3539)

at java.awt.Container.processEvent(Container.java:1159)

at java.awt.Component.dispatchEventImpl(Component.java:2588)

at java.awt.Container.dispatchEventImpl(Container.java:1208)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2446)

at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:2313)

at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2184)

at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2120)

at java.awt.Container.dispatchEventImpl(Container.java:1195)

at java.awt.Window.dispatchEventImpl(Window.java:921)

at java.awt.Component.dispatchEvent(Component.java:2492)

at java.awt.EventQueue.dispatchEvent(EventQueue.java:334)

at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:126)

at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:93)

at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)

at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)


Regards,

-Joe

kongmulake Mon, 06/18/2007 - 19:36
User Badges:

I attached the error message behind my post,Can you see the attachment?

I run the application under JRE1.4.2_04+IE6.0/IE7.0,and the list of files at the path ...\lib\security:

cacerts

java.security

local_policy

US_export_policy

javaws.policy

java.policy



and the content in "java.policy" is :


// Standard extensions get all permissions by default


grant codeBase "file:${java.home}/lib/ext/*" {

permission java.security.AllPermission;

};


// default permissions granted to all domains


grant {

// Allows any thread to stop itself using the java.lang.Thread.stop()

// method that takes no argument.

// Note that this permission is granted by default only to remain

// backwards compatible.

// It is strongly recommended that you either remove this permission

// from this policy file or further restrict it to code sources

// that you specify, because Thread.stop() is potentially unsafe.

// See "http://java.sun.com/notes" for more information.

permission java.lang.RuntimePermission "stopThread";


// allows anyone to listen on un-privileged ports

permission java.net.SocketPermission "localhost:1024-", "listen";


// "standard" properies that can be read by anyone


permission java.util.PropertyPermission "java.version", "read";

permission java.util.PropertyPermission "java.vendor", "read";

permission java.util.PropertyPermission "java.vendor.url", "read";

permission java.util.PropertyPermission "java.class.version", "read";

permission java.util.PropertyPermission "os.name", "read";

permission java.util.PropertyPermission "os.version", "read";

permission java.util.PropertyPermission "os.arch", "read";

permission java.util.PropertyPermission "file.separator", "read";

permission java.util.PropertyPermission "path.separator", "read";

permission java.util.PropertyPermission "line.separator", "read";


permission java.util.PropertyPermission "java.specification.version", "read";

permission java.util.PropertyPermission "java.specification.vendor", "read";

permission java.util.PropertyPermission "java.specification.name", "read";


permission java.util.PropertyPermission "java.vm.specification.version", "read";

permission java.util.PropertyPermission "java.vm.specification.vendor", "read";

permission java.util.PropertyPermission "java.vm.specification.name", "read";

permission java.util.PropertyPermission "java.vm.version", "read";

permission java.util.PropertyPermission "java.vm.vendor", "read";

permission java.util.PropertyPermission "java.vm.name", "read";

};

grant codeBase "http://*/fs/LAUNCHER.jar"

{permission java.security.AllPermission;};



"javaws.policy":


// @(#)javaws.policy 1.7 00/09/18


grant codeBase "file:${jnlpx.home}/javaws.jar" {

permission java.security.AllPermission;

};





Attachment: 
jreekers Mon, 06/18/2007 - 20:45
User Badges:
  • Cisco Employee,

Hi.


Yes, I'm able to see the attachment, thanks.


Every time I've seen this error, it has been a jre compatibility issue with the version of CTC that is running. Can you please tell me what version of CTC you are running, and on what platform (Win2k, WinXP, etc.)?


Thanks,

-Joe

kongmulake Mon, 06/18/2007 - 21:46
User Badges:

Sorry I don't known the version of CTC,I run the JRE on winXP,and I failed to connect the ONS by ftp . should I use a lower version of JRE to have a try?

jreekers Tue, 06/19/2007 - 16:23
User Badges:
  • Cisco Employee,

Hi, CTC is the software that runs on TCC cards, main ONS software. The versions numbering will be something like ONS software 4.1-6.0, etc. If you can tell me what version you have, I can tell you what version of java you need. Without that, it would be a lot of guessing.


Regards,

-Joe

jreekers Tue, 06/19/2007 - 20:16
User Badges:
  • Cisco Employee,

Ok, that helps some.


Try JRE 1.3.1


-Joe

Anonymous (not verified) Sun, 01/06/2008 - 16:53
User Badges:


Actions

This Discussion