Skip to main content

Next build 20061102 is partly ready

15 replies [Last post]
michael_shan
Offline
Joined: 2005-05-29

Hi all,
Next build of JDIC is partly ready now,more works are still needed for crossplatform version(mainly to include Mac build).Builds for Win,Linux,Solaris and Mac are all ready,
you're welcome download and try them first:) (https://jdic.dev.java.net/servlets/ProjectDocumentList?expandFolder=4183...).

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
robross
Offline
Joined: 2003-06-13

I've upload a new binary Mac build that includes the demos and other files from the dist/mac_os_x directory. You can download it here:

https://jdic.dev.java.net/nonav/issues/showattachment.cgi/264/jdic-20061...

pankaj_bobade
Offline
Joined: 2011-06-26

Hi There,

I clicked on the below link to download the latest release. But system is giving message as 'File not found'.

Please can somebody provide the latest location of JDIC Windows component with all jar files like jdic.jar , jdic-native.jar etc.

Regards,

Pankaj

michael_shan
Offline
Joined: 2005-05-29

Thanks Rob, the download build has been updated.

michael_shan
Offline
Joined: 2005-05-29

Hi tdanecito,
Please make sure you're using this latest build. Those methods are new added and only supported by this build. The errors shows that when you're RUNNING, an old version,which maybe still in the classpath,is used.

tdanecito
Offline
Joined: 2005-10-10

Hi Michael,

Thanks for the help I was able to get the issue resolved since there was an older jdic.jar in my webstart path that I did not update.

Also, more good news was that an earlier issue with the pdata null (peer null) when calling setVisible(true) went away with your latest release so perhaps the new methods had something to do with it.

Also, I noticed the javascript error dialog box went away as exepcted with this release but the underlying issue of javascript error is still occuring but I will do more research.

Many thanks,
-Tony

arvbose
Offline
Joined: 2010-09-10

Hi I tried with new versions jdic jars.
But still am facing the below error.Is this dpendent on default browser of system? Am using window 7 and IE,Google Chrome.
Cuold any one pls throw light on this?

Exception in thread "EventThread" java.lang.NullPointerException
at org.jdesktop.jdic.browser.internal.MsgClient.(Unknown Source)
at org.jdesktop.jdic.browser.internal.NativeEventThread.run(Unknown Source)

robross
Offline
Joined: 2003-06-13

In testing the alpha build for Mac, I have discovered a crashing bug in the TrayIcon implementation.

See here:

https://jdic.dev.java.net/issues/show_bug.cgi?id=454

robross
Offline
Joined: 2003-06-13

I've fixed this bug and uploaded a patch for it here:

https://jdic.dev.java.net/issues/show_bug.cgi?id=454

Rob

arifur_rahman
Offline
Joined: 2008-11-16

Hi,
I have gone through all the whole discussion and downloaded the latest build. and attach the browser using following way:

BrowserEngineManager bem = BrowserEngineManager.instance();
webBrowser = bem.getActiveEngine().getWebBrowser();
webBrowser.setURL(new URL("http://java.net"));

It works fine in Windows Machine. but when I run the same code in Mac it crashed (no more response) in the following line (each time I am stack in this line):

BrowserEngineManager bem = BrowserEngineManager.instance();

I am using Netscape browser in my Mac machine. I don't know why this line is not executed in Mac OS. Can u please give me any suggestion about the appropriate code, make any configuration in the browser or should I use any different browser (if Netscape unsupported for jdic)? It's really urgent for me. Please help.

Thanks in advanced
Arif

robross
Offline
Joined: 2003-06-13

Michael, I had submitted a patch last night:

https://jdic.dev.java.net/issues/show_bug.cgi?id=230

Will you be able to add this to the cvs source before you release the source code?

Also, when I just downloaded the mac-binary build, all that was in there were the three files I uploaded last night. But all the other bin builds include the entire dist directory. I had asked what you wanted in the zip file that I uploaded and you only asked for the three library files. Shouldn't this build include the whole dist folder?

Thanks,

Rob

michael_shan
Offline
Joined: 2005-05-29

> Michael, I had submitted a patch last night:
>
> https://jdic.dev.java.net/issues/show_bug.cgi?id=230
>
> Will you be able to add this to the cvs source before
> you release the source code?
OK, I'll update the source code with your uploads.

> Also, when I just downloaded the mac-binary build,
> all that was in there were the three files I uploaded
> last night. But all the other bin builds include the
> entire dist directory. I had asked what you wanted in
> the zip file that I uploaded and you only asked for
> the three library files. Shouldn't this build include
> the whole dist folder?
> Thanks,
> Rob
You're right Rob.I misunderstood your meaning :(,we do need the dist folder. Will you please zip and upload it? You'd better get all latest stuffs and rebuild to get a new one,in case some files have been changed by us.

Thanks!
Michael

tdanecito
Offline
Joined: 2005-10-10

Hi Michael,

Under windows I get the error at runtime about

xception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.jdesktop.jdic.browser.BrowserEngineManager.setActiveEngine(Ljava/lang/String;)Lorg/jdesktop/jdic/browser/IBrowserEngine;
at Browser.pnlBrowser.jbInit(pnlBrowser.java:165)

Perhaps an updated jdic_stub.dll is needed?

Thanks

tdanecito
Offline
Joined: 2005-10-10

Even more info. I get the following error after I commented out the code to set the active engine.

Exception in thread "EventThread" java.lang.NullPointerException
at org.jdesktop.jdic.browser.internal.MsgClient.(Unknown Source)
at org.jdesktop.jdic.browser.internal.NativeEventThread.run(Unknown Source)

//BrowserEngineManager bem = BrowserEngineManager.instance();

//IBrowserEngine be = bem.getActiveEngine();
//if (be == null) {
//bem.setActiveEngine(BrowserEngineManager.IE);
//}

Please advise.

tdanecito
Offline
Joined: 2005-10-10

Hi Michael,

I enabled tracing for JDIC and go the following:

*** Jtrace: Envent Thread run once!
frameListener done
BrowserWindowFactory after setBounds()
*** Jtrace: Msg Client new once!
*** Jtrace: Using browserManager null
*** Jtrace: Default browserManager is used.
*** Jtrace: No browser is selected as active,you must specify one by setActiveEngine()!
Exception in thread "EventThread" java.lang.NullPointerException
at org.jdesktop.jdic.browser.internal.MsgClient.(Unknown Source)
at org.jdesktop.jdic.browser.internal.NativeEventThread.run(Unknown Source)

Guess I need to know what the method to set the active browser is not working for me.

Thanks.

tdanecito
Offline
Joined: 2005-10-10

Hi Michael,

I changed my code to match the browser example and got this error.

Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: org.jdesktop.jdic.browser.IBrowserEngine.getWebBrowser()Lorg/jdesktop/jdic/browser/IWebBrowser;
at Browser.pnlBrowser.jbInit(pnlBrowser.java:168)

Any ideas how I can fix this?

Thanks.