-
Bug
-
Resolution: Won't Fix
-
P4
-
None
-
7u80
-
x86
-
os_x
FULL PRODUCT VERSION :
Java 1.7.0_80;JavaHotSpot(TM) 64-Bit Server VM 24.80-b11
ADDITIONAL OS VERSION INFORMATION :
Darwin agnimacs-MacBook-Pro.local 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Netbeans 8.1
A DESCRIPTION OF THE PROBLEM :
OpenOffice 4.1.2 is not able to add .oxt(Open Office Extension) file
I created a .oxt file and ran it, after adding it in open office extension, open office hangs up and points to this log file.
with detailed description in log file located at /Applications/OpenOffice.app/Contents/MacOS
in a log file
# JI9042038.log [attached]
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I am able to install and configure AOO 4.1.2 and AOO SDK 4.1.2 with Netbeans 8.1 Java 1.7.0_80 64 bit server, JRE 1.7.0_80
I have few error messages in Netbeans
I am coding in Java, using UNO component.
I tried a sample OpenOffice Add-on project for OpenOffice spreadsheet, with simple edit in code in
[code]public void dispatch( com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments )
{
if ( aURL.Protocol.compareTo("com.example.addon:") == 0 )
{
if ( aURL.Path.compareTo("Command0") == 0 )
{
JOptionPane.showMessageDialog(null, "You clicked command 0");
System.out.println("I have clicked command 0");
// add your own code here
return;
}
}
}[/code]
but got following error message in Netbeans, the .oxt file was able to be add in Extension manager in OpenOffice, but clicking on button in menu of open office
, made open office hang up. And on abruptly terminating open office from task manager, showed the following error message in output window of Netbeans.
[quote]ant -f /Users/agnimac/NetBeansProjects/20July/AddOn uno-run
setting up UNO environment ...
build UNO idl files finished
uno-idl-compile:
init:
Deleting: /Users/agnimac/NetBeansProjects/20July/AddOn/build/built-jar.properties
deps-jar:
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/built-jar.properties
compile:
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/regclass.properties
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/regclass.properties
jar:
images:
registry:
Deleting: /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
creating UNO extension package ...
Building zip: /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
uno-package:
/Applications/OpenOffice.app/Contents/MacOS/unopkg gui -f /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
/Applications/OpenOffice.app/Contents/MacOS/soffice
# JI9042038.log [attached]
[/quote]
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
must display the message in dialog box of joptionpane
as shown in code, You clicked command 0.
ACTUAL -
the open office hanged up while adding .oxt file.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public void dispatch( com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments )
{
if ( aURL.Protocol.compareTo("com.example.addon:") == 0 )
{
if ( aURL.Path.compareTo("Command0") == 0 )
{
JOptionPane.showMessageDialog(null, "You clicked command 0");
System.out.println("I have clicked command 0");
// add your own code here
return;
}
}
}
---------- END SOURCE ----------
Java 1.7.0_80;JavaHotSpot(TM) 64-Bit Server VM 24.80-b11
ADDITIONAL OS VERSION INFORMATION :
Darwin agnimacs-MacBook-Pro.local 15.3.0 Darwin Kernel Version 15.3.0: Thu Dec 10 18:40:58 PST 2015; root:xnu-3248.30.4~1/RELEASE_X86_64 x86_64
EXTRA RELEVANT SYSTEM CONFIGURATION :
Netbeans 8.1
A DESCRIPTION OF THE PROBLEM :
OpenOffice 4.1.2 is not able to add .oxt(Open Office Extension) file
I created a .oxt file and ran it, after adding it in open office extension, open office hangs up and points to this log file.
with detailed description in log file located at /Applications/OpenOffice.app/Contents/MacOS
in a log file
# JI9042038.log [attached]
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
I am able to install and configure AOO 4.1.2 and AOO SDK 4.1.2 with Netbeans 8.1 Java 1.7.0_80 64 bit server, JRE 1.7.0_80
I have few error messages in Netbeans
I am coding in Java, using UNO component.
I tried a sample OpenOffice Add-on project for OpenOffice spreadsheet, with simple edit in code in
[code]public void dispatch( com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments )
{
if ( aURL.Protocol.compareTo("com.example.addon:") == 0 )
{
if ( aURL.Path.compareTo("Command0") == 0 )
{
JOptionPane.showMessageDialog(null, "You clicked command 0");
System.out.println("I have clicked command 0");
// add your own code here
return;
}
}
}[/code]
but got following error message in Netbeans, the .oxt file was able to be add in Extension manager in OpenOffice, but clicking on button in menu of open office
, made open office hang up. And on abruptly terminating open office from task manager, showed the following error message in output window of Netbeans.
[quote]ant -f /Users/agnimac/NetBeansProjects/20July/AddOn uno-run
setting up UNO environment ...
build UNO idl files finished
uno-idl-compile:
init:
Deleting: /Users/agnimac/NetBeansProjects/20July/AddOn/build/built-jar.properties
deps-jar:
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/built-jar.properties
compile:
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/regclass.properties
Updating property file: /Users/agnimac/NetBeansProjects/20July/AddOn/build/regclass.properties
jar:
images:
registry:
Deleting: /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
creating UNO extension package ...
Building zip: /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
uno-package:
/Applications/OpenOffice.app/Contents/MacOS/unopkg gui -f /Users/agnimac/NetBeansProjects/20July/AddOn/dist/AddOn.oxt
/Applications/OpenOffice.app/Contents/MacOS/soffice
# JI9042038.log [attached]
[/quote]
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
must display the message in dialog box of joptionpane
as shown in code, You clicked command 0.
ACTUAL -
the open office hanged up while adding .oxt file.
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
public void dispatch( com.sun.star.util.URL aURL,
com.sun.star.beans.PropertyValue[] aArguments )
{
if ( aURL.Protocol.compareTo("com.example.addon:") == 0 )
{
if ( aURL.Path.compareTo("Command0") == 0 )
{
JOptionPane.showMessageDialog(null, "You clicked command 0");
System.out.println("I have clicked command 0");
// add your own code here
return;
}
}
}
---------- END SOURCE ----------